> -----Original Message----- > From: > [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED] > org] On Behalf Of FRANCISCO ESPINOLA > Sent: Wednesday, March 19, 2008 1:34 PM > To: avr-gcc-list@nongnu.org > Subject: [avr-gcc-list] cannot open shared object: No such file or > > Even when I have the libmpfr.so.1 inside > /usr/local/lib > I getting this error: > > configure:2588: > /home/paco/D-ELECTRONICA/D-GNU-TOOL/gcc-4.3.0/D-TARGET-AVR/./gcc/xgcc > -B/home/paco/D-ELECTRONICA/D-GNU-TOOL/gcc-4.3.0/D-TARGET-AVR/./gcc/ > -B/usr/local/avr/avr/bin/ -B/usr/local/avr/avr/lib/ > -isystem /usr/local/avr/avr/include -isystem > /usr/local/avr/avr/sys-include -c -O2 -g -g -O2 > conftest.c >&5 > /home/paco/D-ELECTRONICA/D-GNU-TOOL/gcc-4.3.0/D-TARGET-AVR/./gcc/cc1: > error while loading shared libraries: libmpfr.so.1: > cannot open shared object file: No such file or > directory > > I try configure with this : > > ../configure --prefix=/usr/local/avr --target=avr > --with-slibdir=/lib --enable-languages="c,c++" > --disable-nls > > or > > ../configure --prefix=/usr/local/avr --target=avr > --enable-languages="c,c++" --disable-nls > > also I copy the libmpfr.so.1 > to /usr/local/avr/lib > > but I get the same error > So where I must be copy the libmpfr.so.1?
I have these flags in my GCC configure step: --with-gmp=/usr/local \ --with-mpfr=/usr/local \ However, I don't use shared libraries for these. I installed the static libraries and point to the locations for the static libs using the configure switches above. Eric _______________________________________________ AVR-GCC-list mailing list AVR-GCC-list@nongnu.org http://lists.nongnu.org/mailman/listinfo/avr-gcc-list