From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 11106 invoked by alias); 6 Nov 2009 17:28:25 -0000 Received: (qmail 11097 invoked by uid 22791); 6 Nov 2009 17:28:25 -0000 X-SWARE-Spam-Status: No, hits=-2.5 required=5.0 tests=AWL,BAYES_00 X-Spam-Check-By: sourceware.org Received: from mel.act-europe.fr (HELO mel.act-europe.fr) (212.99.106.210) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Fri, 06 Nov 2009 17:28:21 +0000 Received: from localhost (localhost [127.0.0.1]) by filtered-smtp.eu.adacore.com (Postfix) with ESMTP id 9E4A6290012; Fri, 6 Nov 2009 18:28:19 +0100 (CET) Received: from mel.act-europe.fr ([127.0.0.1]) by localhost (smtp.eu.adacore.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id Id24gURC0jOE; Fri, 6 Nov 2009 18:28:13 +0100 (CET) Received: from [192.168.1.2] (83-153-87-54.rev.libertysurf.net [83.153.87.54]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mel.act-europe.fr (Postfix) with ESMTP id BACF0290042; Fri, 6 Nov 2009 18:28:12 +0100 (CET) From: Eric Botcazou To: Paolo Carlini Subject: Re: MPC version 0.8 released! Date: Fri, 06 Nov 2009 17:28:00 -0000 User-Agent: KMail/1.9.6 (enterprise 20070904.708012) Cc: gcc@gcc.gnu.org, "Kaveh R. GHAZI" References: <4AF458F9.3000704@oracle.com> In-Reply-To: <4AF458F9.3000704@oracle.com> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200911061828.09787.ebotcazou@adacore.com> Mailing-List: contact gcc-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-owner@gcc.gnu.org X-SW-Source: 2009-11/txt/msg00153.txt.bz2 > Anyway, the issue is simple: I installed mpc under /usr/local and the > configury properly recognized it and used it during the build. Then the > latter fails when building libgcc like this: > > ......./trunk-build/./gcc/cc1: error while loading shared libraries: > libmpc.so.2: cannot open shared object file: No such file or directory > > It looks like I should add /usr/local/lib to my LD_LIBRARY_PATH for mpc? > I didn't expect that... Delete the shared library and keep only the static one. -- Eric Botcazou