From owner-freebsd-ports@FreeBSD.ORG Tue Dec 28 22:03:12 2004 Return-Path: Delivered-To: freebsd-ports@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 095CC16A4CE for ; Tue, 28 Dec 2004 22:03:12 +0000 (GMT) Received: from postfix3-1.free.fr (postfix3-1.free.fr [213.228.0.44]) by mx1.FreeBSD.org (Postfix) with ESMTP id 55C5A43D39 for ; Tue, 28 Dec 2004 22:03:11 +0000 (GMT) (envelope-from wingman@waika9.com) Received: from pcemmanuel (defense-3-81-57-219-151.fbx.proxad.net [81.57.219.151]) by postfix3-1.free.fr (Postfix) with ESMTP id 2421B1734AA for ; Tue, 28 Dec 2004 23:03:09 +0100 (CET) From: "EC" To: Date: Tue, 28 Dec 2004 23:03:37 +0100 MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Mailer: Microsoft Office Outlook, Build 11.0.6353 Thread-Index: AcTtKRT+TpreeVVoQgigRqqDlBKhBg== X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.2180 Message-Id: <20041228220309.2421B1734AA@postfix3-1.free.fr> Subject: libxml2 libtool error X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 28 Dec 2004 22:03:12 -0000 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.