This is the mail archive of the binutils@sources.redhat.com mailing list for the binutils project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: Static binary, .so plugins that are static too - can it be done


On Sun, Jul 29, 2001 at 04:41:23PM +0200, bert hubert wrote:
> > BTW, I don't know why someone wants to dlopen in a static binary. It is
> > a very bad idea to begin with.
> 
> The only reason is that I wanted to be able to distribute a static binary
> version of my program (customer didn't want any library version hassle).

We put in the library version ON PURPOSE. It has to be there.

> This program dlopen()s at runtime certain .so's which are database backend
> modules. These .so's must also be static, because otherwise I did not
> distribute a static version, and still depend on ld-linux.so etc.

I don't think it will work.


H.J.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]