mkk Posted May 24, 2011 Share Posted May 24, 2011 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 Quote Link to comment https://forums.phpfreaks.com/topic/237329-installing-php-5214/ Share on other sites More sharing options...
PFMaBiSmAd Posted May 24, 2011 Share Posted May 24, 2011 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/ Quote Link to comment https://forums.phpfreaks.com/topic/237329-installing-php-5214/#findComment-1219547 Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.