Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chris Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

PHP Error during "make" command

Status
Not open for further replies.

zum

Technical User
Mar 31, 2003
148
US
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

 
I just tried installing php-5.2.1 and got the same error. Just and FYI.
 
Actually I don't think I have any packages that I know of that I need libtool.

2.6.9-42.ELsmp #1 SMP
 
I'm sorry, I wasn't clear. What libtool packages do you have installed?

And it might help to know the actual distribution (Red Hat Enterprise, Fedora, Slackware, etc) you're running.



Want the best answers? Ask the best questions! TANSTAAFL!
 
I'm running Red Hat Enterprise 4. I'm trying to install php5.2.1. Before you sent your last email I had just installed a new libtool package. I'm not sure what the previous version was. The current version I have now is 1.5.22. Now I'm not getting that error. It looks like this new version on libtool fixed the other issue. I'm now getting a different error during the "make". Any ideas. I have Sybase 12.5.2 installed.

/usr/bin/ld: skipping incompatible /opt/sybase/OCS-12_5/lib/libsybtcl.so when searching for -lsybtcl
/usr/bin/ld: skipping incompatible /opt/sybase/OCS-12_5/lib/libsybtcl.a when searching for -lsybtcl
/usr/bin/ld: cannot find -lsybtcl
collect2: ld returned 1 exit status
make: *** [libphp5.la] Error 1
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top