Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 20 Jan 1997 08:14:19 +0200
From:      Mark Murray <mark@grondar.za>
To:        John Polstra <jdp@polstra.com>
Cc:        peter@FreeBSD.org, current@FreeBSD.org
Subject:   Re: Static binaries and dlopen(3) with a new crypt(3) lib. 
Message-ID:  <199701200614.IAA15443@grackle.grondar.za>

next in thread | raw e-mail | index | archive | help
John Polstra wrote:
> It's hard to support dlopen() under static linking, because the
> dynamic linker isn't even present in the address space.  It's not
> impossible, just nontrivial.  I've been meaning to look into it
> for a while.  Maybe this will get me moving.

I would be eternally grateful :-).

> > One of the problems - libraries have this nice, automatic way of
> > looking at version numbers (.so.N.M), whereas in dlopen(3), one
> > must supply a name (hardcoded?).
> 
> Since dlopen() takes a "mode" parameter, I could easily add a new
> flag bit for it that would cause dlopen() to follow the usual
> library search rules.

I would be doubly eternally grateful :-).

M
--
Mark Murray                PGP key fingerprint = 80 36 6E 40 83 D6 8A 36
This .sig is umop ap!sdn.                        BC 06 EA 0E 7A F2 CE CE



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