libtool
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: libltdl on openbsd


From: Ralf Wildenhues
Subject: Re: libltdl on openbsd
Date: Sun, 20 Mar 2005 08:06:54 +0100
User-agent: Mutt/1.5.6+20040907i

Hi Guilhem,

Sorry for this very late response, I have simply overlooked your message
earlier.

* Guilhem Lavaux wrote on Thu, Dec 30, 2004 at 04:55:08PM CET:
> 
> I was trying to fix some bugs in kaffe while I've noticed that "bug". If 
> you link a program statically to the libc you are not able to call 
> dlopen anymore because the linker uses the stubs in the libc which 
> invariably returns "Wrong dl symbols!". I don't know whether _we_ should 
> handle it particularly or libltdl should be aware of that and not 
> register the sys_dl implementation.

That's bad, and libltdl should take care of it IMHO.
Now the point is: how do we find out we deal with the static lib here?
I don't want to add a runtime test to `configure', since that won't work
for cross-compilation.  How do we know we linked against the _static_
version?

> It happens on openbsd 3.5.

Which other systems do the same thing?  All OpenBSD versions?  Do they
intend to change this?  How about the other BSDs?

Regards,
Ralf




reply via email to

[Prev in Thread] Current Thread [Next in Thread]