X-Recipient: archive-cygwin AT delorie DOT com X-SWARE-Spam-Status: No, hits=-1.0 required=5.0 tests=BAYES_00,DKIM_SIGNED,DKIM_VALID,FREEMAIL_FROM,SARE_MSGID_LONG45 X-Spam-Check-By: sourceware.org MIME-Version: 1.0 Date: Fri, 30 Apr 2010 08:42:15 +0200 Message-ID: Subject: /usr/local/lib missing in gcc LIBRARY_PATH From: Reini Urban To: The Cygwin Mailing List Content-Type: text/plain; charset=ISO-8859-1 X-IsSubscribed: yes Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com Delivered-To: mailing list cygwin AT cygwin DOT com 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. 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