From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 28514 invoked by alias); 2 Jun 2011 11:22:27 -0000 Received: (qmail 28506 invoked by uid 22791); 2 Jun 2011 11:22:26 -0000 X-SWARE-Spam-Status: No, hits=-1.5 required=5.0 tests=AWL,BAYES_00,RCVD_IN_DNSWL_NONE,T_RP_MATCHES_RCVD X-Spam-Check-By: sourceware.org Received: from omta01-pub.suddenlink.net (HELO omta01.suddenlink.net) (208.180.40.73) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Thu, 02 Jun 2011 11:22:10 +0000 Received: from YOUREDC1953E71 ([173.218.211.169]) by omta01.suddenlink.net (InterMail vM.7.09.02.04 201-2219-117-106-20090629) with ESMTP id <20110602112209.DDCH11963.omta01.suddenlink.net@YOUREDC1953E71> for ; Thu, 2 Jun 2011 06:22:09 -0500 Message-ID: <000901cc2117$459d6890$a9d3daad@YOUREDC1953E71> From: "Bill Cunningham" To: References: <33901.10.0.66.17.1306980997.squirrel@interact.purplecow.org><000b01cc20cc$56770680$a9d3daad@YOUREDC1953E71><002701cc2103$ef433780$a9d3daad@YOUREDC1953E71> Subject: Re: gcc-4.6.0 breaks Date: Thu, 02 Jun 2011 11:22:00 -0000 MIME-Version: 1.0 Content-Type: text/plain; format=flowed; charset="iso-8859-1"; reply-type=original Content-Transfer-Encoding: 7bit X-IsSubscribed: yes Mailing-List: contact gcc-help-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-help-owner@gcc.gnu.org X-SW-Source: 2011-06/txt/msg00039.txt.bz2 Jonathan Wakely wrote: >> No. Although I didn't manually use the switches with gcc to find gmp >> mpc >> or mpfc. The configure script seemed to me atleast to be able to >> find those libraries I put in /usr/local. No when compiling mpc I >> believe it was it needed to know where gmp was. The script needed >> help there. gmp mpc and mpfc were the only things gcc to my >> knowledge needed to compile and run. > > There's a difference between configure being able to find the > libraries to link an executable and the dynamic linker being able to > find those libraris to *run* an executable. > > If /usr/local/lib is not in your ldconfig cache then it will not find > libgmp.so etc. so you will need to reconfigure ldconfig, or set > LD_LIBRARY_PATH. > > Of course since you don't know what the actual error was this is all > just wild speculation. You need to know what the error was and if it > told you to look in config.log, which would have more information. > > Try looking in the build directory for $target/libgcc/config.log which > I suspect will show that ld.so couldn't find one of libgmp.so, > libmpfr.so or libmpc.so Isn't the dynamic linker, ld.so and ld-linux.so2 the same thing? Bill