------- Comment #3 from BlanchardJ at ieee dot org 2008-07-02 00:59 ------- (In reply to comment #2) > Subject: Re: gcc fails to build on Solaris x86 - it > forgets the locations of libmpfr > > pinskia at gcc dot gnu dot org wrote: > > ------- Comment #1 from pinskia at gcc dot gnu dot org 2008-06-10 08:52 > > ------- > > Your configure line should not have LD_LIBRARY_PATH set. > > > > Also this works for me ... > > > > > > > > > Can you tell me what I should set? Previous versions have worked with > far less messing around with flags to configure. If you can suggest a > set of flags which will work, I will try that. >
The error you get mean that the dynamic linker cannot find the required dynamic library in this case libmpfr.so.1. You must add the installation path of mpfr and gmp to the dynamic linker search path using the crle command. Assuming that gmp and mpfr are installed in usr/local/lib/ then the following command should take care of the problem. **CAREFUL changes made with crle are immediate and if done incorrectly the dynamic linker will stop working and Solaris won't boot anymore** crle -u -l /usr/local/lib -- BlanchardJ at ieee dot org changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |BlanchardJ at ieee dot org http://gcc.gnu.org/bugzilla/show_bug.cgi?id=36481