Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 4 Jan 2003 16:26:54 +0100
From:      Mark <admin@asarian-host.net>
To:        "Justin Hopper" <jhopper@spry.com>, "Matthew Emmerton" <matt@gsicomp.on.ca>
Cc:        <freebsd-questions@freebsd.org>
Subject:   Re: Mysterious problem with ldconfig and ld
Message-ID:  <200301041526.H04FQWS35646@asarian-host.net>
References:  <1041652526.27245.29.camel@home.gusalmighty.com><004001c2b3a6$b3c4fe10$1200a8c0@gsicomp.on.ca> <1041654912.27258.36.camel@home.gusalmighty.com>

next in thread | previous in thread | raw e-mail | index | archive | help
----- Original Message -----
From: "Justin Hopper" <jhopper@spry.com>
To: "Matthew Emmerton" <matt@gsicomp.on.ca>
Cc: <freebsd-questions@FreeBSD.ORG>
Sent: Saturday, January 04, 2003 5:35 AM
Subject: Re: Mysterious problem with ldconfig and ld


> What ultimately fixed the problem was hardcoding the
> -L /usr/local/lib in the configure script, since it refused
> to pick up that directory any other way.
>
> Thanks for your help.  As a point of curiosity, I'd still like to
> know why ld would still need the -L /usr/local/lib if the full
> path to the library is already in the cache?


If you ever do find out, be sure to let us know. I had a similar problem
once, be it with a MySQL library, and ultimately I had to resort to putting
a symbolic link in /usr/lib to the /usr/local/lib library. That worked too,
be it not a real elegant solution.

- Mark


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-questions" in the body of the message




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