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

tobi tobiasboege01 at ...1601...
Sun May 6 10:43:15 CEST 2012


On Sat, 05 May 2012, Benoît Minisini wrote:
> Le 05/05/2012 14:01, Emanuele Sottocorno a écrit :
> >
> >> *** 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
> >
> > Same problem here. Ubuntu 12.04
> >
> 
> Is it better with revision #4716?
> 
> -- 
> Benoît Minisini
> 
> ------------------------------------------------------------------------------
> Live Security Virtual Conference
> Exclusive live event will cover all the ways today's security and 
> threat landscape has changed and how IT managers can respond. Discussions 
> will include endpoint security, mobile security and the latest in malware 
> threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
> _______________________________________________
> Gambas-user mailing list
> Gambas-user at lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/gambas-user

Heh. Having seen that you altered the Makefile.am, I did a ./configure and noticed that I haven't
had installed libxslt? Must be a new dependency in the configure.ac sicne a Makefile was generated
by the last run (or my local copy was still confused by the gb.xml -> gb.libxml changes) - however,
strange, but compiles and installs now (after a reconf)!

Regards,
Tobi




More information about the User mailing list