From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.org/gmane.linux.lib.musl.general/2425 Path: news.gmane.org!not-for-mail From: Szabolcs Nagy Newsgroups: gmane.linux.lib.musl.general Subject: Re: static linking and dlopen Date: Sat, 8 Dec 2012 21:47:09 +0100 Message-ID: <20121208204709.GD23126@port70.net> References: Reply-To: musl@lists.openwall.com NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: ger.gmane.org 1354999643 21556 80.91.229.3 (8 Dec 2012 20:47:23 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sat, 8 Dec 2012 20:47:23 +0000 (UTC) To: musl@lists.openwall.com Original-X-From: musl-return-2426-gllmg-musl=m.gmane.org@lists.openwall.com Sat Dec 08 21:47:34 2012 Return-path: Envelope-to: gllmg-musl@plane.gmane.org Original-Received: from mother.openwall.net ([195.42.179.200]) by plane.gmane.org with smtp (Exim 4.69) (envelope-from ) id 1ThRJ8-0007DS-HU for gllmg-musl@plane.gmane.org; Sat, 08 Dec 2012 21:47:34 +0100 Original-Received: (qmail 20103 invoked by uid 550); 8 Dec 2012 20:47:21 -0000 Mailing-List: contact musl-help@lists.openwall.com; run by ezmlm Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: Original-Received: (qmail 20095 invoked from network); 8 Dec 2012 20:47:21 -0000 Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.21 (2010-09-15) Xref: news.gmane.org gmane.linux.lib.musl.general:2425 Archived-At: * Paul Schutte [2012-12-08 20:09:35 +0200]: > When I link a binary statically and that binary then use dlopen, would that > work 100% ? not required to work and musl does not implement it (always returns 0) > What would open if the shared object that was dlopened want's to call > functions in other shared libraries ? see the first paragraph in the description of dlopen: http://pubs.opengroup.org/onlinepubs/9699919799/functions/dlopen.html