/usr/lib/libltdl.so: could not read symbols: File in wrong format
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 실행
'리눅스 > PHP' 카테고리의 다른 글
php 컴파일시 Cannot find libmysqlclient_r 오류 발생처리 (0) | 2015.01.16 |
---|---|
Warning: main(): URL file-access is disabled in the server (0) | 2015.01.16 |
php-json 설치 (0) | 2015.01.16 |
php 확장모듈 설치하기 (0) | 2015.01.16 |
make: *** [libphp5.la] 오류 1 (0) | 2015.01.16 |