Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 11 Jul 2000 12:58:19 -0700
From:      Mike Smith <msmith@freebsd.org>
To:        Matthew Hagerty <matthew@venux.net>
Cc:        "Chris D. Faulhaber" <jedgar@fxp.org>, freebsd-hackers@FreeBSD.ORG
Subject:   Re: ld static search path? 
Message-ID:  <200007111958.MAA13836@mass.osd.bsdi.com>
In-Reply-To: Your message of "Tue, 11 Jul 2000 15:37:24 EDT." <4.3.2.7.2.20000711152944.00cf6220@127.0.0.1> 

next in thread | previous in thread | raw e-mail | index | archive | help
> Correct, the -L I am aware of.  My problem is that I am trying to compile a 
> program that uses a configure script to check certain things, among which 
> are that ld can find all libraries specified with the -l flag.  The problem 
> is that that this particular configure script does not honor my -L flags 
> that I try to pass it, so it fails.  

Almost all of these script things understand being told about extra 
library search paths.

> The whole thing works on Linux, which 
> is where this particular program was developed (I think). 

This was probably a mistake.

> I can get it to 
> work by making symlinks from the libs in /usr/local/lib to /usr/lib, but 
> this completely defeats the purpose of having a /usr/local/lib...  I could 
> hack the configure script, but aside from being a pain in the butt (it is a 
> 44,000 line configure script!) I don't want to have to do that for every 
> program that I try to install that expects ld to be able to find standard 
> libraries.

These aren't "standard" libraries, which is why they're not in /usr/lib.
Unfortunately, fixing the configuration script is the only way to go.  If 
it's been generated by autoconf, fix the autoconf input and save yourself 
a lot of grief.

> Any insight would be greatly appreciated.

You're too kind, I think. 8)
-- 
... every activity meets with opposition, everyone who acts has his
rivals and unfortunately opponents also.  But not because people want
to be opponents, rather because the tasks and relationships force
people to take different points of view.  [Dr. Fritz Todt]




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




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