ld: cannot find -ldl

Tyler Hepworth TylerH at natr.com
Wed Jan 21 16:01:47 CET 2004


Okay, the "cannot find -ldl" went away after doing "ln -s cygwin
/usr/lib/libdl.a" but now I get "ld: cannot find -lutil" 

-----Original Message-----
From: Ralf Habacker
To: For developers interested in porting KDE to Windows using Cygwin; Tyler
Hepworth; 'kde-cygwin at kde.org'
Sent: 1/21/04 5:09 AM
Subject: Re: ld: cannot find -ldl

On Wednesday 21 January 2004 07:44, Tyler Hepworth wrote:
> I am trying to compile kopete for KDE 3.1.4 and Qt 3.2.3 gcc3.  I
finally
> got  configure to run successfully.  I then run 'make' and watch it
for
> some time.  It finally errors out with the following messgae:
>
> ui/.libs/libkopeteui.a(vec.o)(.text+0xb0):vec.cc: first defined here
>
/usr/lib/gcc-lib/i686-pc-cygwin/3.3.1/../../../../i686-pc-cygwin/bin/ld:
> cannot find -ldl
> collect2: ld returned 1 exit status
> make[4]: *** [libkopete.la] Error 1
> make[4]: Leaving directory
'/home/Tyler/kopete-0.8src1/kopete/libkopete'
> make[3]: *** [all-recursive] Error 1
> make[3]: Leaving directory
'/home/Tyler/kopete-0.8src1/kopete/libkopete'
> make[2]: *** [all-recursive] Error 1
> make[2]: Leaving directory '/home/Tyler/kopete-0.8src1/kopete'
> make[1]: *** [all-recursive] Error 1
> make[2]: Leaving directory '/home/Tyler/kopete-0.8src1'
> make: *** [all] Error 2
>


> Does anyone have an idea what this is about or should this be a
question
> for the kopete development team.

try  

ln -s libcygwin.a /usr/lib/libdl.a

Ralf 


More information about the kde-cygwin mailing list