gcc-4.6.1编绎安装异常( libppl_c.so.4: cannot open shared object file)

谢中辉 发布于 2011/07/14 21:49
阅读 2K+
收藏 0
GCC

在编绎安装gcc-4.6.1时
#sudo ./configure --prefix=/usr/local/gcc-4.6.0 --enable-threads=posix --disable-checking --disable-multilib --enable-languages=c,c++ --with-gmp=/usr/local/gmp-4.3.2 --with-mpfr=/usr/local/mpfr-2.4.2 --with-mpc=/usr/local/mpc-0.8.1
#make (failed)
#more x86_64-unknown-linux-gnu/libgcc/config.log 

configure:3039: $? = 0
configure:3028: /home/admin/install/gcc-4.6.1/host-x86_64-unknown-linux-gnu/gcc/xgcc -B/home/admin/install/gcc-4.6.1/host-x86_64-unk

nown-linux-gnu/gcc/ -B/usr/local/gcc-4.6.1/x86_64-unknown-linux-gnu/bin/ -B/usr/local/gcc-4.6.1/x86_64-unknown-linux-gnu/lib/ -isyst

em /usr/local/gcc-4.6.1/x86_64-unknown-linux-gnu/include -isystem /usr/local/gcc-4.6.1/x86_64-unknown-linux-gnu/sys-include    -V >&

5

xgcc: error: unrecognized option '-V'

xgcc: fatal error: no input files

compilation terminated.

configure:3039: $? = 1

configure:3028: /home/admin/install/gcc-4.6.1/host-x86_64-unknown-linux-gnu/gcc/xgcc -B/home/admin/install/gcc-4.6.1/host-x86_64-unk

nown-linux-gnu/gcc/ -B/usr/local/gcc-4.6.1/x86_64-unknown-linux-gnu/bin/ -B/usr/local/gcc-4.6.1/x86_64-unknown-linux-gnu/lib/ -isyst

em /usr/local/gcc-4.6.1/x86_64-unknown-linux-gnu/include -isystem /usr/local/gcc-4.6.1/x86_64-unknown-linux-gnu/sys-include    -qver

sion >&5

xgcc: error: unrecognized option '-qversion'

xgcc: fatal error: no input files

compilation terminated.

configure:3039: $? = 1

configure:3055: /home/admin/install/gcc-4.6.1/host-x86_64-unknown-linux-gnu/gcc/xgcc -B/home/admin/install/gcc-4.6.1/host-x86_64-unk

nown-linux-gnu/gcc/ -B/usr/local/gcc-4.6.1/x86_64-unknown-linux-gnu/bin/ -B/usr/local/gcc-4.6.1/x86_64-unknown-linux-gnu/lib/ -isyst

em /usr/local/gcc-4.6.1/x86_64-unknown-linux-gnu/include -isystem /usr/local/gcc-4.6.1/x86_64-unknown-linux-gnu/sys-include    -o co

nftest -g -O2   conftest.c  >&5

/home/admin/install/gcc-4.6.1/host-x86_64-unknown-linux-gnu/gcc/cc1: error while loading shared libraries: libppl_c.so.4: cannot ope

n shared object file: No such file or directory

configure:3058: $? = 1

configure:3246: checking for suffix of object files

configure:3268: /home/admin/install/gcc-4.6.1/host-x86_64-unknown-linux-gnu/gcc/xgcc -B/home/admin/install/gcc-4.6.1/host-x86_64-unk

nown-linux-gnu/gcc/ -B/usr/local/gcc-4.6.1/x86_64-unknown-linux-gnu/bin/ -B/usr/local/gcc-4.6.1/x86_64-unknown-linux-gnu/lib/ -isyst

em /usr/local/gcc-4.6.1/x86_64-unknown-linux-gnu/include -isystem /usr/local/gcc-4.6.1/x86_64-unknown-linux-gnu/sys-include    -c -g

 -O2  conftest.c >&5

/home/admin/install/gcc-4.6.1/host-x86_64-unknown-linux-gnu/gcc/cc1: error while loading shared libraries: libppl_c.so.4: cannot ope

n shared object file: No such file or directory

configure:3272: $? = 1

请问该如何解决?

加载中
0
谢中辉
谢中辉
#find /usr/local -name libppl_c.so.4
/usr/local/ppl-0.11/lib/libppl_c.so.4

#echo $LD_LIBRARY_PATH
/opt/oracle/lib:/lib:/usr/lib:/usr/local/lib64:/usr/local/lib:/usr/local/gmp-4.3.2/lib:/usr/local/mpfr-2.4.2/lib:/usr/local/mpc-0.8.1/lib:/usr/local/ppl-0.11/lib:/usr/local/openmpi-1.4.3/lib
该文件也是是的,且库路径也木错。
返回顶部
顶部