Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 7 Jan 1996 01:19:53 +0100 (MET)
From:      Paul Kranenburg <pk@cs.few.eur.nl>
To:        dfr@render.com (Doug Rabson)
Cc:        jdp@polstra.com, hackers@FreeBSD.ORG
Subject:   Re: Anyone got GNU `dld' ported to FreeBSD?
Message-ID:  <9601070019.AA14457@cs.few.eur.nl>
In-Reply-To: <Pine.BSF.3.91.960106115114.482D-100000@minnow.render.com> from "Doug Rabson" at Jan 6, 96 11:53:27 am

next in thread | previous in thread | raw e-mail | index | archive | help
> It would be pretty easy in a static binary to 'demand load' ld.so the 
> first time a dl*() function was used, I think.

While this is possible with some niggling work, you might be in for a few
surprises, unless the objects you intend to dlopen() are completely
self-contained. Normally an object is likely to depend on libc so you'd
have to auto-load the shared libc version leaving multiple copies of 
assorted libc routines in your program. Depending on what those routines
are, this might lead to confusing results.

-pk



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?9601070019.AA14457>