Re: Solaris8 compiling problem : ld: fatal: library -ldl: not found
Brought to you by:
set
From: Yannick M. <yan...@gm...> - 2006-12-15 14:56:27
|
Hi Set, After removing the --static and trying the build again, I only get the error about > vasprintf ../libmigdb/src/libmigdb.a( connect.o) You suggest to disable debug support, do you know how I can do that ? It doesnt seem to be a parameter to the configure script Thanks Yannick On 12/15/06, Salvador Eduardo Tropea <sal...@in...> wrote: > > Hi Yannick > > On 14/12/06 22:56, Yannick Mercier wrote: > > > Hi Ivan, > > I tried to run the command without the -ldl and get this error : > > [snip] > > > Undefined first referenced > > symbol in file > > dlsym obj/holidays.o > > dlopen obj/holidays.o > > > Both from libdl > > > vasprintf ../libmigdb/src/libmigdb.a(connect.o > ) > > > That's another problem, you could start by disabling the debug support > (don't use migdb). > I think that vasprintf is a GNU extension, it works like vsprintf but it > allocates a buffer for the result instead of asking for one already > allocated. It can be easily replaced for Solaris. > > > dlclose obj/holidays.o > > dlerror obj/holidays.o > > > Also from libdl. > > > ld: fatal: Symbol referencing errors. No output written to editor.exe > > collect2: ld returned 1 exit status > > root <mailto:root@qcmtlash:/> # > > > > > > also here is the configure output : > > > > > > root@qcmtlash:/ <mailto:root@qcmtlash:/> # ./configure > > --prefix=/opt/setedit --no-intl --no-infview --no-bzip2 --without-mp3 > > --without-mixer --without > > -calc --without-calend --static --no-libset > > > > Here is the problem (--static) ... > > [snip] > > > Looking for dl library: yes > > > > libdl is there ... > > [snip] > > > I checked to see if I have libdl.so, and I have it in /usr/lib : > > > > root # find /usr -name libdl.so > > /usr/lib/sparcv9/libdl.so > > /usr/lib/libdl.so > > > > And you can find it. > > I think the problem is that you don't have libdl.a and you are > requesting static linking. Did you try without --static? > > Regards, SET > > |