16.2.2011 17:32, Ed Smith-Rowland kirjoitti:
On 02/13/2011 12:14 PM, Jonathan Wakely wrote:
On 13 February 2011 02:15, Ed Smith-Rowland wrote:
I'm configuring with:
../gcc/configure --prefix=/home/ed/bin --with-gmp=/usr/local
--with-mpfr=/usr/local --with-mpc=/usr/local --with-ppl=/usr/local
--with-cloog=/usr/local --enable-cloog-backend=isl --enable-lto
--enable-languages=c,c++,objc,obj-c++,lto,fortran,go
It gets down to libgcc and starts config and fails:
-----------------------------------------------------------------------------------------------------------------------------------
The library exits. Things are just not pointed right somehow.
ed@bad-horse:~/obj/x86_64-unknown-linux-gnu/libgcc$ find /usr/local/
-name libcloog-isl.so.1
/usr/local/lib/libcloog-isl.so.1
> configure:3268: /home/ed/obj/./gcc/xgcc -B/home/ed/obj/./gcc/
> -B/home/ed/bin/x86_64-unknown-linux-gnu/bin/
> -B/home/ed/bin/x86_64-unknown-linux-gnu/lib/
> -isystem /home/ed/bin/x86_64-unknown-linux-gnu/include
> -isystem /home/ed/bin/x86_64-unknown-linux-gnu/sys-include
> -c -g -O2 conftest.c >&5
> /home/ed/obj/./gcc/cc1: error while loading shared libraries:
> libcloog-isl.so.1: cannot open shared object file:
> No such file or directory
Please see:
man ldconfig
cat /etc/ld.so.conf.d/*.conf
and see whether '/usr/local/lib' is in the list for searched dirs
for the dynamic linker!