[prev in list] [next in list] [prev in thread] [next in thread]
List: cygwin
Subject: /usr/local/lib missing in gcc LIBRARY_PATH
From: Reini Urban <rurban () x-ray ! at>
Date: 2010-04-30 6:42:15
Message-ID: o2w6910a61004292342o3be8c174l5ea3f7056c6c94ed () mail ! gmail ! com
[Download RAW message or body]
I'm a bit baffled that /usr/local/lib is not in the LIBRARY_PATH - the
ld library search path,
but /usr/local/include is in the header search path.
For gcc-3 and -4
On linux and default gcc /usr/local/lib is even before /usr/lib, but
certainly not removed at all.
See e.g. http://www.network-theory.co.uk/docs/gccintro/gccintro_23.html
I can only vaguely remember that this used to work before.
So the local headers are picked up, but the linker fails to find the
-l<libname>.
I have to use
export LIBRARY_PATH=/usr/local/lib
./configure
make
to be able to use local libs.
--
Reini Urban
http://phpwiki.org/ http://murbreak.at/
--
Problem reports: http://cygwin.com/problems.html
FAQ: http://cygwin.com/faq/
Documentation: http://cygwin.com/docs.html
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic