delorie.com/archives/browse.cgi | search |
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: | <o2w6910a61004292342o3be8c174l5ea3f7056c6c94ed@mail.gmail.com> |
Subject: | /usr/local/lib missing in gcc LIBRARY_PATH |
From: | Reini Urban <rurban AT x-ray DOT at> |
To: | The Cygwin Mailing List <cygwin AT cygwin DOT com> |
X-IsSubscribed: | yes |
Mailing-List: | contact cygwin-help AT cygwin DOT com; run by ezmlm |
List-Id: | <cygwin.cygwin.com> |
List-Subscribe: | <mailto:cygwin-subscribe AT cygwin DOT com> |
List-Archive: | <http://sourceware.org/ml/cygwin/> |
List-Post: | <mailto:cygwin AT cygwin DOT com> |
List-Help: | <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs> |
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<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
webmaster | delorie software privacy |
Copyright © 2019 by DJ Delorie | Updated Jul 2019 |