Subject: Re: Use dlopen() in static binary
To: Dmitry Ivanov <dimss@solutions.lv>
From: Luke Mewburn <lukem@NetBSD.org>
List: netbsd-help
Date: 08/22/2004 23:53:50
--dLxyWiplEfGRIOx4
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable
On Fri, Aug 20, 2004 at 11:40:43AM +0300, Dmitry Ivanov wrote:
| man dlopen states, that dlopen() can be used
| only in dynamically linked programs. I wish
| to use dlopen() in program linked with libc.a
|=20
| The question is: how can I make dynamic binary
| linked with libc.a?
You can't with the ELF format.
Why do you want to do this?
Cheers,
Luke.
--dLxyWiplEfGRIOx4
Content-Type: application/pgp-signature
Content-Disposition: inline
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.5 (NetBSD)
iD8DBQFBKKVupBhtmn8zJHIRAnscAJ97XajerqmZBrGUfXZq/kKSiOnbxwCg2Ey3
6o9bXOaMl4kA+G+RrjDgWz0=
=4hS9
-----END PGP SIGNATURE-----
--dLxyWiplEfGRIOx4--