June 4, 2009
If you are getting the following message while trying to compile PHP 5.2.9 with mcrypt:
/usr/bin/ld: cannot find -lltdl
collect2: ld returned 1 exit status
make: *** [libphp5.la] Error 1
Then try this:
yum install libtool-ltdl-devel
Tags:
centos,
php,
server-administration
No Comments
Filed under: Uncategorized by — aaron @ 12:50 am
June 3, 2009
If you are receiving the following error while trying to compile PHP 5 on CentOS or RHEL 5 64bit:
configure: error: mysql configure failed. Please check config.log for more information.
And in the config.log you see:
/usr/bin/ld: skipping incompatible /usr/lib/mysql/libmysqlclient.so when searching for -lmysqlclient
Then add the following to your configure line:
–libdir=/usr/lib64 –with-libdir=lib64
Tags:
apache,
centos,
php,
server-administration
(2) Comments
Filed under: Uncategorized by — aaron @ 6:19 pm