recompling error for php-5.2.14 and slackware linux 13.1
Hi 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
|