/usr/lib/libltdl.so: could not read symbols: File in wrong format

리눅스/PHP|2015. 1. 16. 10:27
반응형

php 4.3.10, php 5.2.9 에서 오류 확인


[make 오류]

/usr/bin/ld: skipping incompatible /usr/lib/libcrypt.so when searching for -lcrypt
/usr/bin/ld: skipping incompatible /usr/lib/libcrypt.a when searching for -lcrypt
/usr/bin/ld: skipping incompatible /usr/lib/libc-client.so when searching for -lc-client
/usr/bin/ld: skipping incompatible /usr/lib/libc-client.a when searching for -lc-client
/usr/bin/ld: skipping incompatible /usr/lib/libcrypt.so when searching for -lcrypt
/usr/bin/ld: skipping incompatible /usr/lib/libcrypt.a when searching for -lcrypt
/usr/bin/ld: skipping incompatible /usr/lib/librt.so when searching for -lrt
/usr/bin/ld: skipping incompatible /usr/lib/librt.a when searching for -lrt
/usr/lib/libltdl.so: could not read symbols: File in wrong format
collect2: ld returned 1 exit status
make: *** [libphp5.la] 오류 1

 

[조치]

ln -sf /usr/lib64/libltdl.so /usr/lib/libltdl.so  

create symbolic link `/usr/lib/libltdl.so' to `/usr/lib64/libltdl.so'

이후 make clean, make 실행

반응형

댓글()