【发布时间】:2018-04-16 10:57:04
【问题描述】:
在redhat上安装glibc-2.17,下载,解压,配置然后报LD_LIBRARY_PATH错误:
checking for gawk... gawk
checking version of gawk... 3.1.7, ok
checking for nm... nm
checking for autoconf... autoconf
checking whether autoconf works... no
configure: WARNING:
*** These auxiliary programs are missing or incompatible versions: autoconf
*** some features will be disabled.
*** Check the INSTALL file for required versions.
checking LD_LIBRARY_PATH variable... contains current directory
configure: error:
*** LD_LIBRARY_PATH shouldn't contain the current directory when
*** building glibc. Please change the environment variable
*** and run configure again.
检查我的LD_LIBRARY_PATH环境,如下:
$ echo $LD_LIBRARY_PATH
/public/software/apps/boost-1.59.0/include:/public/software/apps/boost-1.59.0/lib:/usr/local/cudnn/cuda/lib64/:/usr/loca
l/cuda/lib64:/usr/local/lib:/public/software//mpi/openmpi/1.8.5/intel/lib:/opt/gridview//pbs/dispatcher/lib:/public/soft
ware//compiler/intel/composer_xe_2015.2.164/compiler/lib/intel64:/public/software//compiler/intel/composer_xe_2015.2.164
/mkl/lib/intel64::/usr/local/lib64:/usr/local/lib:/lib64:/usr/lib:/public/home/chensu/lib:/public/home/chensu/lib/bin:/p
ublic/software/compiler/gnu/mpc-1.0.2/lib:/public/software/compiler/gnu/mpfr-3.1.3/lib:/public/software/compiler/gnu/gmp
-5.0.1/lib:/public/software/compiler/intel/composer_xe_2015.2.164/compiler/lib/mic:/public/software/compiler/intel/compo
ser_xe_2015.2.164/compiler/lib/intel64:/public/home/chensu/lib/boost_1_61_0:/public/home/chensu/lib/boost_1_61_0/stage/l
ib:/public/home/chensu/lib/sparsehash-master:/public/home/chensu/lib/sparsehash/include/google:/public/home/chensu/lib/s
parsehash/include/sparsehash
有人知道怎么设置吗?我将不胜感激。
【问题讨论】: