From owner-freebsd-questions Sun Feb 23 23: 5:20 2003 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 BF2D537B401 for ; Sun, 23 Feb 2003 23:05:18 -0800 (PST) Received: from energyhq.homeip.net (213-97-200-73.uc.nombres.ttd.es [213.97.200.73]) by mx1.FreeBSD.org (Postfix) with ESMTP id 4FCA943FD7 for ; Sun, 23 Feb 2003 23:05:17 -0800 (PST) (envelope-from flynn@energyhq.homeip.net) Received: from christine.energyhq.tk (christine.energyhq.tk [192.168.100.1]) by energyhq.homeip.net (Postfix) with SMTP id 4565EAF59B; Mon, 24 Feb 2003 08:05:16 +0100 (CET) Date: Mon, 24 Feb 2003 08:05:34 +0100 From: Miguel Mendez To: Sam Izzo Cc: freebsd-questions@freebsd.org Subject: Re: linker paths & /usr/local/lib Message-Id: <20030224080534.61fa0166.flynn@energyhq.homeip.net> In-Reply-To: <20030224011724.GA296@kalgan.vic.optushome.com.au> References: <20030223152808.GA1391@kalgan.vic.optushome.com.au> <20030223165133.79e9aa2b.flynn@energyhq.homeip.net> <20030224011724.GA296@kalgan.vic.optushome.com.au> X-Mailer: Sylpheed version 0.8.10 (GTK+ 1.2.10; i386--netbsdelf) X-Face: 1j}k*2E>Y\+C~E|/wehi[:dCM,{N7/uE 3o# P,{t7gA/qnovFDDuyQV.1hdT7&#d)q"xY33}{_GS>kk'S{O]nE$A`T|\4&p\&mQyexOLb8}FO List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG --=.CG9wQ8VcEjXH4k Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit On Mon, 24 Feb 2003 12:17:24 +1100 Sam Izzo wrote: Howdy, > Yeah that's all well and good for me compiling my own programs, but > the OpenPTC`configure' checks for Hermes by writing the test program > that I posted and linking with the above line :-) It doesn't put > -L/usr/local/lib in. I suppose I can just hack the `configure' script > but surely there's a better solution? The configure scripts usually accept a parameter like `--with-extra-libs=/usr/local/lib' that you could use. You can always invoke configure with the --help option and check for it. Works most of the time. > Ahh, darn, that's not what the ld man page says :) But it didn't work > when I put the paths in ld.so.conf so I guess it's wrong.. Most of the GNU tools are better documented in the info pages, as they consider man pages legacy. info ld might turn up more detailed info. Cheers, -- Miguel Mendez - flynn@energyhq.homeip.net GPG Public Key :: http://energyhq.homeip.net/files/pubkey.txt EnergyHQ :: http://www.energyhq.tk Of course it runs NetBSD! Tired of Spam? -> http://www.trustic.com --=.CG9wQ8VcEjXH4k Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.1 (NetBSD) iD8DBQE+WcRCnLctrNyFFPERAsrGAKCCoLG7c7Jzr+TUvhUxjo52bezMTACfW66r hBDxCB+QEhIYfUR6YE+am1w= =QVcG -----END PGP SIGNATURE----- --=.CG9wQ8VcEjXH4k-- To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message