Jump to content

Installing php 5.2.14


Recommended Posts

Hullo Users,

Hope all is fine and well.

I am installing squirelmail for my mail server and in the

configtest.php it tells me

ERROR: Required PHP PEAR DB support is not available.

 

This implies that i have to configure and make and make install for

php5.2.14 on slackware linux 13.1. On doing that i get the error below

after the make command.

 

Config Command

./configure --with-apxs2=/usr/sbin/apxs --with-mysql=/usr/local/mysql

--enable-mbstring --with-openssl=/usr/local/ssl

--with-imap-ssl=/usr/local/ssl --with-pear

--with-imap=/usr/local/src/imap-2007e/

 

make command error

 

/usr/lib64/gcc/x86_64-slackware-linux/4.4.4/../../../../x86_64-slackware-linux/bin/ld:

/usr/local/ssl/lib/libssl.a(s2_srvr.o): relocation R_X86_64_32 against

`.rodata' can not be used when making a shared object; recompile with

-fPIC

/usr/local/ssl/lib/libssl.a: could not read symbols: Bad value

collect2: ld returned 1 exit status

make: *** [libphp5.la] Error 1

 

How can i do a recompile with -fPIC in order to fix the problem?

 

Thanx very much for the help in advance

Link to comment
https://forums.phpfreaks.com/topic/237329-installing-php-5214/
Share on other sites

The error message has absolutely nothing to do with installing php or the php version.

 

The whole error message - Required PHP PEAR DB support is not available. Is PEAR installed and is the include path set correctly to find DB.php? The include path is now: ... Is informing you that either PEAR and the PEAR DB class is not installed or it could not be found in the include path.

 

Ref: http://pear.php.net/package/DB/

Link to comment
https://forums.phpfreaks.com/topic/237329-installing-php-5214/#findComment-1219547
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.