/usr/local/lib/libltdl.a(ltdl.o): could not read symbols: Bad value

问题:在编译libmcrypt软件包时出现问题:

/libltdl.a(ltdl.o): relocation R_X86_64_32S against `a local symbol' can not be used when making a shared object; recompile with -fPIC
/usr/local/lib/libltdl.a(ltdl.o): could not read symbols: Bad value
collect2: ld returned 1 exit status
make: *** [libphp4.la] Error 1

解决方法:

yum install libtool-ltdl-devel
//PHP_LDFLAGS=-L/usr/lib64 ./build php n

 

你可能感兴趣的:(服务器,value,read,could,bad,not,symbols)