[Gambas-user] gb.xml.html: Cannot find -lgb.xml

tobi tobiasboege01 at ...1601...
Sat May 5 09:36:41 CEST 2012


Hi Adrien,

I get the following when trying to _install_ gb.xml.html:

[html]$ sudo make install

[...]

*** Warning: Linking the shared library gb.xml.html.la against the loadable module
*** gb.xml.so is not portable!
libtool: relink: g++  -fPIC -DPIC -shared -nostdlib /usr/lib/gcc/i686-pc-linux-gnu/4.7.0/../../../crti.o /usr/lib/gcc/i686-pc-linux-gnu/4.7.0/crtbeginS.o  .libs/gb_xml_html_la-main.o .libs/gb_xml_html_la-document.o .libs/gb_xml_html_la-element.o .libs/gb_xml_html_la-CDocument.o .libs/gb_xml_html_la-CElement.o   -Wl,-rpath -Wl,/usr/local/lib/gambas3 -L/usr/local/lib/gambas3 -lgb.xml -L/usr/lib/gcc/i686-pc-linux-gnu/4.7.0 -L/usr/lib/gcc/i686-pc-linux-gnu/4.7.0/../../.. -lstdc++ -lm -lc -lgcc_s /usr/lib/gcc/i686-pc-linux-gnu/4.7.0/crtendS.o /usr/lib/gcc/i686-pc-linux-gnu/4.7.0/../../../crtn.o  -Os   -Wl,-soname -Wl,gb.xml.html.so.0 -o .libs/gb.xml.html.so.0.0.0
/usr/bin/ld: cannot find -lgb.xml
collect2: error: ld returned 1 exit status
libtool: install: error: relink `gb.xml.html.la' with the above command before installing it

[...]

Has anyone else problems with that? I have no use for the last sentence in the above output...
I don't know if it is even possible to link against the gambas components. I was taught that a
shared library _has_ to follow the "lib" & name & ".so" name pattern in order to be recognised
by the linker which is not true for gambas components? I also don't know if other components
do similar, so I have to rely on what I think to know about library names...
(But I suppose, you and anyone else got this stuff installed...)

Regards,
Tobi




More information about the User mailing list