From owner-freebsd-ports@FreeBSD.ORG Mon Jul 7 17:55:58 2003 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 83E5F37B401 for ; Mon, 7 Jul 2003 17:55:58 -0700 (PDT) Received: from mail.lewiz.org (pam80-1-3-237.man.dial.ntli.net [80.1.3.237]) by mx1.FreeBSD.org (Postfix) with ESMTP id E7E2543FD7 for ; Mon, 7 Jul 2003 17:55:54 -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 19ZglR-000IpJ-NG; Tue, 08 Jul 2003 00:55:25 +0000 Received: (nullmailer pid 18678 invoked by uid 4001); Tue, 08 Jul 2003 00:55:21 -0000 Date: Tue, 8 Jul 2003 01:55:21 +0100 From: lewiz To: Joshua Oreman Message-ID: <20030708005521.GA18650@lewiz.org> References: <20030708004340.GB18537@lewiz.org> <20030708005147.GC40769@webserver.get-linux.org> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="Kj7319i9nmIyA2yE" Content-Disposition: inline In-Reply-To: <20030708005147.GC40769@webserver.get-linux.org> 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 cc: ports@freebsd.org Subject: Re: ld and libraries troubles (newbie). 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, 08 Jul 2003 00:55:58 -0000 --Kj7319i9nmIyA2yE Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Mon, Jul 07, 2003 at 05:51:47PM -0700, Joshua Oreman wrote: > > For some reason it does not find libexpat (ld: cannot find -lexpat), > > which is available in /usr/local/lib. I created a symlink to /usr/lib > > and it worked, but then failed when make got to libintl.a (in > > /usr/local). I've done my best to read the Porter's Handbook > > (especially the chapter on Dependencies) but this has been of little > > help. Any pointers in the right direction would be greatly appreciated! >=20 > DON'T depend on symlinking libraries, since when the port installs the > end user might not have those symlinks. Hehe, I know. Sorry, I didn't make it clear that was a temporary work-around. > Add -L/usr/local/lib to the link line in the Makefile. Make a patch > to do this. Is that the only way to solve this issue? I was expecting there to be some option for the port Makefile? Thanks very much, -lewiz. --=20 Chism's Law of Completion: The amount of time required to complete a government project is precisely equal to the length of time already spent on it. ------------------------------------------------------------------------ -| msn:purple@lewiz.net | jab:lewiz@jabber.org | url:http://lewiz.net |- --Kj7319i9nmIyA2yE Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.2 (FreeBSD) iD8DBQE/ChZ5Itq0KFQv7T8RAqZgAKCDwTZt44pdzxM6udkbo50v6uYpTgCdHVko vJLIubWmpiBiGAHRNFifQsA= =zmhH -----END PGP SIGNATURE----- --Kj7319i9nmIyA2yE--