From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 6536 invoked by alias); 23 Sep 2010 14:04:08 -0000 Received: (qmail 6502 invoked by uid 48); 23 Sep 2010 14:03:57 -0000 Date: Thu, 23 Sep 2010 14:04:00 -0000 Message-ID: <20100923140357.6501.qmail@sourceware.org> X-Bugzilla-Reason: CC References: Subject: [Bug other/45760] GCC build fails: can't find MPC In-Reply-To: Reply-To: gcc-bugzilla@gcc.gnu.org To: gcc-bugs@gcc.gnu.org From: "avi at unix dot sh" Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org X-SW-Source: 2010-09/txt/msg02606.txt.bz2 ------- Comment #2 from avi at unix dot sh 2010-09-23 14:03 ------- I was able to make it pass that stage explicitly setting the library path like this: gcc-build$ LD_LIBRARY_PATH=$HOME/OpenFOAM/lib make I found this was not related to MPC since I moved to 4.4.4 (pre-MPC version of GCC) and I got same problem with MPFR (another GCC dependency). Since I'm already using --with-mpfr=DIRNAME, I was expecting that the library path was being set automatically. So I still consider this a weak point on the build system that could be automatically managed. -- avi at unix dot sh changed: What |Removed |Added ---------------------------------------------------------------------------- Severity|blocker |normal http://gcc.gnu.org/bugzilla/show_bug.cgi?id=45760