[Libburn] Trouble Linking libburn
Mark Magnusson
stresscrash at half7.net
Mon Sep 6 17:08:01 PDT 2004
Hello everyone. I am attempting to use libburn for some development,
however i keep running into problems getting the library to link. I have
included the output of ld, as well as other relivant information, if
anyone can help me solve this problem it would be greatly appriciated.
/bin/sh ../libtool --mode=link --tag=CC gcc -Wall -g -o inferno
-L/usr/local/lib callbacks.o interface.o main.o support.o
-Wl,--export-dynamic -lgtk-x11-2.0 -latk-1.0 -lgdk-x11-2.0
-lgdk_pixbuf-2.0 -lm -lpangoxft-1.0 -lpangox-1.0 -lpango-1.0
-lgobject-2.0 -lgmodule-2.0 -ldl -lglib-2.0 -llibburngcc -Wall -g -o
inferno callbacks.o interface.o main.o support.o -Wl,--export-dynamic
-L/usr/local/lib /usr/lib/libgtk-x11-2.0.so /usr/lib/libatk-1.0.so
/usr/lib/libgdk-x11-2.0.so /usr/lib/libgdk_pixbuf-2.0.so -lm
/usr/lib/libpangoxft-1.0.so /usr/lib/libpangox-1.0.so
/usr/lib/libpango-1.0.so /usr/lib/libgobject-2.0.so
/usr/lib/libgmodule-2.0.so -ldl /usr/lib/libglib-2.0.so -llibburn
/usr/lib/gcc-lib/i486-slackware-linux/3.3.4/../../../../i486-slackware-linux/bin/ld:
cannot find -llibburn
collect2: ld returned 1 exit status
a quick locate libburn:
bash-2.05b$ locate libburn
/usr/local/lib/libburn.so.1.0.0
/usr/local/lib/pkgconfig/libburn-1.pc
/usr/local/lib/libburn.so.1
/usr/local/lib/libburn.la
/usr/local/lib/libburn.so
/usr/local/lib/libburn.a
/usr/local/include/libburn
and yes, /usr/local/lib is in my path.
once again, any help is greatly appriciated, thanks in advance.
More information about the libburn
mailing list