Hi, I'm trying to install PHP-5.2.0 on a Linux4 AMD 64bit server. I get this error during the make command:
Thanks in advance!
/bin/sh /home/web/php-5.2.0/libtool --silent --preserve-dup-deps --mode=link gcc -I/usr/local/include -g -O2 -rpath /home/web/php-a
gcc: /usr/lib64/libltdl.so: No such file or directory
make: *** [libphp5.la] Error 1
Here is my configuration:
./configure \
--with-apxs2=/usr/local/apache2/bin/apxs \
--with-zlib-dir=/usr/lib64 \
--with-bz2 \
--with-gd \
--enable-gd \
--enable-gd-native-ttf \
--with-ttf \
--with-iconv=/usr/local \
--with-curl=/usr/local \
--with-config-file-path=/usr/local/apache2/conf \
--enable-ftp \
--enable-mbstring \
--with-openssl=/usr/local \
--enable-calendar \
--enable-soap \
--enable-memory-limit \
--with-mhash=/usr/local \
--with-sybase-ct=/opt/sybase/OCS-12_5 \
--enable-zip \
--with-mcrypt=/usr/local \
--with-jpeg-dir=/usr/local \
--with-png-dir=/usr/local
Thanks in advance!
/bin/sh /home/web/php-5.2.0/libtool --silent --preserve-dup-deps --mode=link gcc -I/usr/local/include -g -O2 -rpath /home/web/php-a
gcc: /usr/lib64/libltdl.so: No such file or directory
make: *** [libphp5.la] Error 1
Here is my configuration:
./configure \
--with-apxs2=/usr/local/apache2/bin/apxs \
--with-zlib-dir=/usr/lib64 \
--with-bz2 \
--with-gd \
--enable-gd \
--enable-gd-native-ttf \
--with-ttf \
--with-iconv=/usr/local \
--with-curl=/usr/local \
--with-config-file-path=/usr/local/apache2/conf \
--enable-ftp \
--enable-mbstring \
--with-openssl=/usr/local \
--enable-calendar \
--enable-soap \
--enable-memory-limit \
--with-mhash=/usr/local \
--with-sybase-ct=/opt/sybase/OCS-12_5 \
--enable-zip \
--with-mcrypt=/usr/local \
--with-jpeg-dir=/usr/local \
--with-png-dir=/usr/local