This is the mail archive of the cygwin mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

/usr/local/lib missing in gcc LIBRARY_PATH


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]