Linux

php 컴파일 에러 /usr/bin/ld: cannot find -lltdl

Rootrator 2014. 3. 13. 17:04


카드결제 모듈을 홈페이지에 추가하려고 하면


3가지 컴파일 옵션이 들어가야 한다.

--with-openssl

--with-mcrypt

--enable-sockets


php -m 명령어로 올라와 있는 모듈을 확인할 수 있고


소스컴파일 경우 php설치 디렉토리에서 config.status 파일안에 컴파일 옵션으로도 확인이 가능하다.


/usr/bin/ld: cannot find -lltdl 에러는 openssl을 컴파일 할때 간혹 생기는데 


이 오류는 아래 패키지를 설치하여 해결할 수 있다.


[root@localhost ~]# yum -y install libtool-ltdl-devel

반응형