From owner-freebsd-questions@FreeBSD.ORG Fri Jul 4 18:07:55 2003 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 472B137B401 for ; Fri, 4 Jul 2003 18:07:55 -0700 (PDT) Received: from mail.lewiz.org (pam80-1-14-27.man.dial.ntli.net [80.1.14.27]) by mx1.FreeBSD.org (Postfix) with ESMTP id C25CD43FF2 for ; Fri, 4 Jul 2003 18:07:53 -0700 (PDT) (envelope-from lewiz@green.lewiz.org) Received: from green.lewiz.org ([192.168.0.10]) by mail.lewiz.org with smtp (Exim 4.20) id 19YbWc-0008LP-FP for freebsd-questions@freebsd.org; Sat, 05 Jul 2003 01:07:38 +0000 Received: (nullmailer pid 87644 invoked by uid 4001); Sat, 05 Jul 2003 01:07:37 -0000 Date: Sat, 5 Jul 2003 02:07:37 +0100 From: lewiz To: FreeBSD-questions Message-ID: <20030705010737.GA85687@lewiz.org> Mail-Followup-To: lewiz , FreeBSD-questions Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="ew6BAiZeqk4r7MaW" Content-Disposition: inline X-GPG-Fingerprint: 90A4 939E 3847 A3E4 8103 2A48 22DA B428 542F ED3F X-GPG-Info: http://www.westwood.karoo.net/pgpkey / horowitz.surfnet.nl User-Agent: Mutt/1.5.4i X-MailScanner-Information: Please contact the ISP for more information X-MailScanner: Found to be clean Subject: Compile fails (-lexpat). X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 05 Jul 2003 01:07:55 -0000 --ew6BAiZeqk4r7MaW Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Hi, I'm trying to compile a programme called ``Dasher'' from source, which requires Expat (which I do have installed according to pkg_info and ldconfig -rv). However, it fails when I configure it: sh configure --prefix=3D/usr/local --exec-prefix=3D/usr/local with: checking for XML_Parse in -lexpat... no configure: error: Expat library not found. the config.log shows: configure:6789: cc -o conftest -O2 -pipe -march=3Dpentiumpro conftest.c -l expat >&5 /usr/bin/ld: cannot find -lexpat configure:6792: $? =3D 1 configure: failed program was: #line 6764 "configure" #include "confdefs.h" /* Override any gcc2 internal prototype to avoid an error. */ #ifdef __cplusplus extern "C" #endif /* We use char because int might match the return type of a gcc2 builtin and then its argument prototype would still apply. char XML_Parse (); #ifdef F77_DUMMY_MAIN # ifdef __cplusplus extern "C" # endif int F77_DUMMY_MAIN() { return 1; } #endif int main () { XML_Parse (); ; return 0; } configure:6809: result: no configure:6819: error: Expat library not found. I hope somebody might be able to help with this problem :) Sorry if it's something really silly (I have never fully understood ld, ldconfig and libraries). Thanks very much, -lewiz. --=20 Don't cook tonight -- starve a rat today! ------------------------------------------------------------------------ -| msn:purple@lewiz.net | jab:lewiz@jabber.org | url:http://lewiz.net |- --ew6BAiZeqk4r7MaW Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.2 (FreeBSD) iD8DBQE/BiTZItq0KFQv7T8RAnqvAJ4hEY32EhSEnE6KugGmXz7PV48f2wCffuq1 WAccurxCOycdbsZXAN/1+As= =jaio -----END PGP SIGNATURE----- --ew6BAiZeqk4r7MaW--