Web Hosting Talk







View Full Version : Getting errors when upgrading to php 4.0.6


nozol
08-25-2001, 09:23 AM
I have php 4.0.3 installed on my raq4 server. I got the rpm for php 4.0.6. When I try to install it, I get the following error,

error: failed dependencies
libcrypto.so.2 is needed by php-4.0.6-5
libdb-3.2.so is needed by php-4.0.6-5
libfreetype.so.6 is needed by php-4.0.6-5
libgd.so.1.8 is needed by php-4.0.6-5
libjpeg.so.62 is needed by php-4.0.6-5
libltdl.so.3 is needed by php-4.0.6-5
libpng.so.2 is needed by php-4.0.6-5
libpspell-modules.so.1 is needed by php-4.0.6-5
libpspell.so.4 is needed by php-4.0.6-5
libssl.so.2 is needed by php-4.0.6-5
libstdc++-libc6.2-2.so.3 is needed by php-4.0.6-5
libxml2.so.2 is needed by php-4.0.6-5
libc.so.6(GLIBC_2.2) is needed by php-4.0.6-5
libresolv.so.2(GLIBC_2.2) is needed by php-4.0.6-5

Any help will be appreciated.

Thanks in advance.

Ahmed

Marty
08-25-2001, 12:31 PM
Don't use the rpm. Follow the instructions here and it will take you 5 minutes.

http://i4net.tv/marticle/get.php?action=getarticle&articleid=20

I actually installed cURL and then upgraded to php 4.0.6 using the source and compiling with cURL support. That took a little more work, but it can be done.

nozol
08-25-2001, 06:19 PM
Thanks a lot for the info.

I followed the steps of php installation until I reached the make part, in which I get the following error,

reentrancy.c: In function `php_readdir_r':
reentrancy.c:109: too few arguments to function `readdir_r'
make[2]: *** [reentrancy.lo] Error 1
make[2]: Leaving directory `/home/sites/home/users/admin/gz/php-4.0.6/main'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/sites/home/users/admin/gz/php-4.0.6/main'
make: *** [all-recursive] Error 1

Any idea what could that be?

Thanks a lot.

Ahmed

nozol
08-26-2001, 07:31 PM
I finally installed it without needing to compile the source code, which always give me errors.

Here is the link to the correct rpm for my raq4 server,

http://rpms.arvin.dk/php/rh62/i586/

Thanks for the help.

Reagrds,

Ahmed