[완료] php 설치할때 make시 /usr/lib/ld : connot find -lltdl 에러가 납니다..
구글 네이버 다 찾아봐도 답변이 없어요
configure 옵션입니다
./configure --prefix=/usr/local/php --with-apxs2=/usr/local/apache/bin/apxs --with-mysql=/usr/local/mysql --with-gd --with-zlib-dir=/usr/lib --with-jpeg-dir=/usr/lib --with-png-dir=/usr/lib --with-xpm-dir=/usr/lib --with-freetype-dir=/usr/lib --enable-track-vars=yes --with-mod-charset --with-language=korean --with-charset=UT
F-8 --disable-debug --without-sqlite --with-mcrypt=/usr/local/mcrypt --enable-mbstring --with-mcrypt --with-mysqli=/usr/local/mysql/bin/mysql_config --with-mhash
----------------------------------------------------
-lcrypt -lxml2 -lz -lm -lxml2 -lz -lm -lxml2 -lz -lm -lcrypt -o libphp5.la
/usr/bin/ld: cannot find -lltdl
collect2: ld returned 1 exit status
make: *** [libphp5.la] 以瑜 1
----------------------------------------------------
이런 오류가 계속 납니다.
CentOS + php5.2.3 + mysql5.0.41 + httpd2.2.4 입니다
development tools 설치했구요(yum groupinstall)
libtool문제라고 해서 libtool 설치했습니다.. libtool-1.5.22-6.1
PATH설정 문제라고 하는거 같아 확인했는데
/etc/profile 은
# /etc/profile
# System wide environment and startup programs, for login setup
# Functions and aliases go in /etc/bashrc
LD_LIBRARY_PATH=/usr/local/lib:/usr/lib
export LD_LIBRARY_PATH
--------------------------------------------------------
이렇게 설정되어있습니다..
configure 옵션부분에 --with-mcrypt 를 제외하면 오류없이 make 되구요..
mcrypt때문인거 같은데.. ltdl이 libtool-devel <-- 이걸 말하는건가요?
libtool-devel 은 설치안되있는거 같은데
yum install libtool-devel 해도 설치가 되지 않네요..
mcrypt는 아래와같이 설치되어있습니다
[root@localhost php-5.2.3]# rpm -qa | grep mcrypt
libmcrypt-devel-2.5.7-5.el5.centos
libmcrypt-2.5.7-5.el5.centos
php-mcrypt-5.1.6-12.el5.centos
[root@localhost php-5.2.3]#
이틀내내 고생이네요.. 좀 도와주세요ㅜㅜ
libtool-ltdl-devel 패키지
libtool-ltdl-devel 패키지 설치하세요.
정말 감사드립니다!!! (__)
정말 감사드려요
어디에 찾아봐도 없던데..ㅠㅠ
오류없이 make 되네요!! 감사드립니다!
복받으세요!!!
댓글 달기