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

[E-devel] esmart looking for ltdl.h on Fedora Core 5

Hi there!
            Gonna bug you guys again with FC5. I have a small problem
in building esmart.

esmart looks for ltdl.h or for the package (on the previous Fedora)
checking if g77 static flag -static works... no
checking if g77 supports -c -o file.o... no
checking whether the g77 linker (/usr/bin/ld) supports shared libraries... yes
checking dynamic linker characteristics... GNU/Linux ld.so
checking how to hardcode library paths into programs... immediate
checking ltdl.h usability... no
checking ltdl.h presence... no
checking for ltdl.h... no
configure: error: Cannot find ltdl.h. Please make sure you have the
libltdl-dev package installed.
error: Bad exit status from /var/tmp/rpm-tmp.13205 (%build)

The package libtool-ltdl-devel no longer exists. The file in question
is now provided by the libtool package.


So I did a little simlink to trick the thing:

ln -s /usr/share/libtool/libltdl/ltdl.h /usr/include/

OK it compiled but now stopped at:

  -L/usr/lib /usr/lib/libImlib2.so /usr/lib/libfreetype.so -lz -lX11
-lXext -ldl /usr/lib/libevas.so -lltdl -lm  -m32 -march=i386
-mtune=generic -Wl,-soname -Wl,libesmart_container.so.0 -o
/usr/bin/ld: cannot find -lltdl

collect2: ld returned 1 exit status
make[5]: *** [libesmart_container.la] Error 1
make[5]: Leaving directory `/home/didier/rpmbuild/BUILD/esmart-0.

Any suggestions on how to bypass the
/usr/bin/ld: cannot find -lltdl would be appreciated. Thanks.

With kind regards,

Yum/apt repository for DR17/EFL: http://sps.nus.edu.sg/~didierbe

Didier F.B Casse
PhD candidate, Singapore Synchrotron Light Source (SSLS)
National University of Singapore.