[Libburn] Trouble Linking libburn
stresscrash at half7.net
Tue Sep 7 08:29:44 PDT 2004
Thanks for the help, got it to compile fine now, however, keep getting
killed with the following error:
libburn_test: libburn/sg.c:247: sg_issue_command: Assertion `err != -1'
Scanning for devices...
Program has been terminated receiving signal 9 (Killed)
Press the Enter key to close this terminal ...
This was a direct copy paste from the example code located on the
libburn site at:
Is this something i am doing incorrectly, or a bug with libburn ?
Derek Foreman wrote:
> On Mon, 6 Sep 2004, Mark Magnusson wrote:
>> 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
>> cannot find -llibburn
>> collect2: ld returned 1 exit status
> Use -lburn instead of -llibburn and everything should be right with
> the world. :)
More information about the libburn