On Fri, Oct 06, 2006 at 06:29:47PM +0200, Kurt Roeckx wrote: > On Fri, Oct 06, 2006 at 04:03:42PM +0200, Carlo Wood wrote: > > > > The problem here is that -ldl appears before > > /usr/local/install/4.1.2-20060901/lib/libcwd.so > > Where does that -ldl come from? > > Does only libcwd need the -ldl, or does something else need -ldl too? > > What happens if the -ldl isn't on the command line at all? > > Can you show the output the objdump -p file |grep NEEDED for > libcwd and the application? And the output from ldd file for > the application?
Does it reach your dlsym() call at all, or it's just using the one from libdl? I guess I got a little confused about your mail. If -ldl is first in the list, it should never reach your library in the first place. Kurt -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]