Subject: Re: Use dlopen() in static binary
To: Dmitry Ivanov <dimss@solutions.lv>
From: Chuck Swiger <cswiger@mac.com>
List: netbsd-help
Date: 08/20/2004 13:57:23
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
>
> The question is: how can I make dynamic binary
> linked with libc.a?
Relink your program against libc.so? Unless you specify -static when linking,
the default behavior ought to result in a dynamicly linked executable...
--
-Chuck