Quote:
main/internal_functions.lo -lcrypt -lz -lcrypt -lpq -lmcrypt -lltdl -lcurl -lbz2 -lz -lm -ldl -lnsl -lxml2 -lz -lm -lcurl -lssl -lcrypto -lgssapi_krb5 -lkrb5 -lcom_err -lk5crypto -lresolv -ldl -lz -lgssapi_krb5 -lkrb5 -lk5crypto -lcom_err -lresolv -lidn -lssl -lcrypto -lssl -lcrypto -lgssapi_krb5 -lkrb5 -lcom_err -lk5crypto -lresolv -ldl -lz -lz -lxml2 -lz -lm -lxml2 -lz -lm -lcrypt -lxml2 -lz -lm -lxml2 -lz -lm -lxml2 -lz -lm -lcrypt -o sapi/cgi/php-cgi
/usr/bin/ld: cannot find -lltdl
collect2: ld returned 1 exit status
make: *** [sapi/cgi/php-cgi] Error 1
In order for php to compile, it needs the
libltdl.so.3 library.
To check if it is installed on the system you either tro to find it, or use the
ldconfig utility:
Code:
ldconfig -p | grep ltdl
While other systems (Debian/Ubuntu for example) require
libtool-devel package, on older Red Hat/Centos, you just need libtool package which can be found in the default repository or on the cd/dvd. Install it (yum install libtool will take care of the dependencies).
Now check ldconfig again:
Code:
# ldconfig -p |grep ltdl
libltdl.so.3 (libc6) => /usr/lib/libltdl.so.3
[quote] main/internal_functions.lo -lcrypt -lz -lcrypt -lpq -lmcrypt -lltdl -lcurl -lbz2 -lz -lm -ldl -lnsl -lxml2 -lz -lm -lcurl -lssl -lcrypto -lgssapi_krb5 -lkrb5 -lcom_err -lk5crypto -lresolv -ldl -lz -lgssapi_krb5 -lkrb5 -lk5crypto -lcom_err -lresolv -lidn -lssl -lcrypto -lssl -lcrypto -lgssapi_krb5 -lkrb5 -lcom_err -lk5crypto -lresolv -ldl -lz -lz -lxml2 -lz -lm -lxml2 -lz -lm -lcrypt -lxml2 -lz -lm -lxml2 -lz -lm -lxml2 -lz -lm -lcrypt -o sapi/cgi/php-cgi
/usr/bin/ld: cannot find -lltdl
collect2: ld returned 1 exit status
make: *** [sapi/cgi/php-cgi] Error 1[/quote]
In order for php to compile, it needs the [b]libltdl.so.3[/b] library.
To check if it is installed on the system you either tro to find it, or use the [i]ldconfig [/i]utility:
[code]ldconfig -p | grep ltdl[/code]
While other systems (Debian/Ubuntu for example) require [i]libtool-devel[/i] package, on older Red Hat/Centos, you just need libtool package which can be found in the default repository or on the cd/dvd. Install it (yum install libtool will take care of the dependencies).
Now check ldconfig again:
[code]# ldconfig -p |grep ltdl
libltdl.so.3 (libc6) => /usr/lib/libltdl.so.3
[/code]