LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware > Slackware - Installation
User Name
Password
Slackware - Installation This forum is for the discussion of installation issues with Slackware.

Notices


Reply
  Search this Thread
Old 05-24-2011, 03:50 AM   #1
kibirango
LQ Newbie
 
Registered: Sep 2009
Posts: 9

Rep: Reputation: 0
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
 
Old 05-24-2011, 04:25 AM   #2
zasavage
Member
 
Registered: Sep 2010
Location: Bloemfontein , South Africa
Distribution: Slackware 13.37 and Slackware 14
Posts: 201

Rep: Reputation: 6
@kibirango

Grab yourself the original Slackbuild script used to build the package. From the installation CD/DVD

Modify the original, adding the extra flags you need, and rebuild

Regards

LAwrence
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
detect cdrom without recompling the kernel William Oldham Linux - Hardware 4 10-14-2009 02:21 PM
Kernel Recompling santhosh23 Linux - Hardware 3 01-21-2007 10:00 AM
recompling the bareacpi.i kernel MRK Slackware 4 12-20-2004 06:05 PM
recompling the kernel fhameed Red Hat 1 10-29-2004 06:36 AM
recompling a kernel in redhat, with problems riddlebox80 Linux - Distributions 2 08-11-2003 10:29 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware > Slackware - Installation

All times are GMT -5. The time now is 10:51 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration