OT: dynamic -> static lib
john wendel
jwendel10 at comcast.net
Tue Oct 5 03:41:52 UTC 2010
On 10/04/2010 09:41 AM, Tom Horsley wrote:
> On Mon, 04 Oct 2010 17:24:51 +0100
> T. Horsnell wrote:
>
>> Is it possible to create a static (.a) version
>> of a library from the dynamic (.so) one, or to
>> create a static executable when only shared libs
>> are available?
>
> Nope, and to all intents and purposes, it is pretty
> much impossible to static link any program these
> days with so many parts of glibc now dlopen()ing
> various plugins for network protocols, or pam
> user access info, etc.
Google for "make-static". It's a hack, but it might do the job for you.
Regards,
John
More information about the users
mailing list