Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 28 Dec 2004 23:03:37 +0100
From:      "EC" <wingman@waika9.com>
To:        <freebsd-ports@freebsd.org>
Subject:   libxml2 libtool error
Message-ID:  <20041228220309.2421B1734AA@postfix3-1.free.fr>

next in thread | raw e-mail | index | archive | help
I'm using a tool named nALFS under LFS (linux from scratch). Trying to
compile it under FreeBSD does not work properly and this seems to be related
to libtool. 

I use FreeBSD 5.3, libxml2 2.6.13 compiled from ports.
Compiler seems to be looking for the libxml2.so in /usr/local/lib/.libs/
directory. The nALFS team says it's related to FreeBSD libxml (it is true my
2.6.13 libxml2 compiled under linux works fine with this tool).

I get the following error :

if gcc -DHAVE_CONFIG_H -I. -I. -I.  -I/usr/local/include/libxml2
-I/usr/local/include -I./src/include -I./src  -W -Wall -Wshadow -Winline  -g
-O2 -MT src/src_nALFS-win.o -MD -MP -MF "src/.deps/src_nALFS-win.Tpo"  -c -o
src/src_nALFS-win.o `test -f 'src/win.c' || echo './'`src/win.c;  then mv -f
"src/.deps/src_nALFS-win.Tpo" "src/.deps/src_nALFS-win.Po";  else rm -f
"src/.deps/src_nALFS-win.Tpo"; exit 1;  fi
/usr/local/bin/bash ./libtool --silent --mode=link gcc -W -Wall -Wshadow
-Winline  -g -O2    -o src/nALFS -dlopen self  -dlopen src/handlers/alfs.la
-dlopen src/handlers/check.la  -dlopen src/handlers/configure.la -dlopen
src/handlers/copy.la -dlopen src/handlers/download.la -dlopen
src/handlers/execute.la -dlopen src/handlers/link.la -dlopen
src/handlers/log.la -dlopen src/handlers/make.la -dlopen
src/handlers/mkdir.la -dlopen src/handlers/move.la  -dlopen
src/handlers/ownership.la -dlopen src/handlers/package.la -dlopen
src/handlers/patch.la -dlopen src/handlers/permissions.la   -dlopen
src/handlers/remove.la -dlopen src/handlers/search_replace.la -dlopen
src/handlers/setenv.la -dlopen src/handlers/stage.la   -dlopen
src/handlers/textdump.la -dlopen src/handlers/unpack.la
src/src_nALFS-backend.o  src/src_nALFS-comm.o src/src_nALFS-editor.o
src/src_nALFS-find.o src/src_nALFS-handlers.o src/src_nALFS-init.o
src/src_nALFS-libXML-tree.o src/src_nALFS-logfiles.o
src/src_nALFS-logging.o src/src_nALFS-nalfs.o  src/src_nALFS-options.o
src/src_nALFS-parser.o src/src_nALFS-utility.o src/src_nALFS-win.o
/usr/local/lib/libxml2.la src/lib/libnALFS.la -lncurses src/ltdl/ltdl.la
gcc: /usr/local/lib/.libs/libxml2.so: No such file or directory
*** Error code 1

Please help if possible..

Emmanuel.



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20041228220309.2421B1734AA>