Libtool causing trouble with libxml2

Richard Lightman richard at nezumi.plus.com
Fri Nov 1 09:56:13 PST 2002


* Richard Lightman <richard at nezumi.plus.com> [2002-11-01 16:43]:
> 
> /bin/sh ./libtool --mode=link gcc  -Wall  -o libxml2.la -rpath /usr/local/lib -version-info 6:26:4 SAX.lo entities.lo encoding.lo error.lo parserInternals.lo parser.lo tree.lo hash.lo list.lo xmlIO.lo xmlmemory.lo uri.lo valid.lo xlink.lo HTMLparser.lo HTMLtree.lo debugXML.lo xpath.lo xpointer.lo xinclude.lo nanohttp.lo nanoftp.lo DOCBparser.lo catalog.lo globals.lo threads.lo c14n.lo xmlregexp.lo xmlschemas.lo xmlschemastypes.lo xmlunicode.lo -lz  -lm
> rm -fr .libs/libxml2.la .libs/libxml2.* .libs/libxml2.*
> 
> *** Warning: inter-library dependencies are not known to be supported.
> *** All declared inter-library dependencies are being dropped.
> *** The inter-library dependencies that have been dropped here will be
> *** automatically added whenever a program is linked with this library
> *** or is declared to -dlopen it.
> gcc -shared  SAX.lo entities.lo encoding.lo error.lo parserInternals.lo parser.lo tree.lo hash.lo list.lo xmlIO.lo xmlmemory.lo uri.lo valid.lo xlink.lo HTMLparser.lo HTMLtree.lo debugXML.lo xpath.lo xpointer.lo xinclude.lo nanohttp.lo nanoftp.lo DOCBparser.lo catalog.lo globals.lo threads.lo c14n.lo xmlregexp.lo xmlschemas.lo xmlschemastypes.lo xmlunicode.lo   -Wl,-soname -Wl, -o .libs/
> /usr/lib/gcc-lib/i686-pc-linux-gnu/3.2/../../../../i686-pc-linux-gnu/bin/ld: cannot open output file .libs/: Is a directory
> collect2: ld returned 1 exit status
> make[2]: *** [libxml2.la] Error 1
> make[2]: Leaving directory `/var/tmp/ralfs/libxml2/build'
> make[1]: *** [all-recursive] Error 1
> make[1]: Leaving directory `/var/tmp/ralfs/libxml2/build'
> make: *** [all-recursive-am] Error 2
> 
> libtool-1.4.3 lost the output library name when compiling
> libxml2-2.4.26.
> 
> Anyone solved this one before?
> 
Found it:
My scripts had prefix=... instead of --prefix=...

Richard
-- 
Unsubscribe: send email to listar at linuxfromscratch.org
and put 'unsubscribe blfs-support' in the subject header of the message



More information about the blfs-support mailing list