This is the mail archive of the
gcc-help@gcc.gnu.org
mailing list for the GCC project.
Re: MPFR lib path missing from compile command(s) during configuration?
- From: Brian Dessent <brian at dessent dot net>
- To: Eric Lemings <Eric dot Lemings at roguewave dot com>
- Cc: gcc-help at gcc dot gnu dot org
- Date: Mon, 09 Jun 2008 15:58:40 -0700
- Subject: Re: MPFR lib path missing from compile command(s) during configuration?
- References: <CFFDD219128FD94FB4F92B99F52D0A49010A3826@exchmail01.Blue.Roguewave.Com>
- Reply-to: gcc-help at gcc dot gnu dot org
Eric Lemings wrote:
> I was just trying to build the 4.3.1 release on RH5. During the
> configuration of libgcc, I get an error shown in the config.log file
> below. This looks like an error in the distributed config files. Or am
> I doing something wrong? I had no such problem IIRC building the 4.3.0
> release.
>
> ...
> /build/lemings/gcc-4.3.1/./gcc/cc1: error while loading shared
> libraries: libmpfr.so.1: ca
> nnot open shared object file: No such file or directory
Where did you install mpfr? If it's not in one of the default locations
like /usr/lib then it's your responsibility to tell the dynamic linker
where to find the .so file at runtime. You can do this by adding its
location to LD_LIBRARY_PATH or /etc/ld.so.conf. This is not gcc's
responsibility, it's a generic requirement whenever you install a shared
library of any kind.
Brian