Jump to content

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

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • 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.