[Fwd: Cannot find libraries in /usr/local/lib even though they
are in hints files]
Edwin Groothuis
edwin at mavetju.org
Wed Dec 15 23:17:18 PST 2004
On Thu, Dec 16, 2004 at 02:13:18AM -0500, Don L. Belcher wrote:
> Cannot find libraries in /usr/local/lib even thought they are in the
> hints file. Is there something else I need to do?
Use the -L option for gcc (and other utilities) to specify the
location to search for libraries to be linked.
ldconfig is for run-time linking, not for compile-time linking.
--
Edwin Groothuis | Personal website: http://www.mavetju.org
edwin at mavetju.org | Weblog: http://weblog.barnet.com.au/edwin/
More information about the freebsd-stable
mailing list