LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Server
User Name
Password
Linux - Server This forum is for the discussion of Linux Software used in a server related context.

Notices


Reply
  Search this Thread
Old 03-13-2008, 03:42 AM   #1
pawan269
LQ Newbie
 
Registered: Mar 2008
Posts: 1

Rep: Reputation: 0
Unhappy php installation on 64bit hardware with 64 redhat Ent.


Hi,
I need help of guys as i am facing problem installation php from source with supporting libs on redhat enterprise (64bit).

i manage to install following supporting libs of php -

curl
freetype
libjpeg
libiconv
libpng
libmcrypt

mysql and apache installation from source was smooth and is running fine...


configure command
==================

./configure --with-apxs2=/usr/local/apache2/bin/apxs --disable-debug --enable-ftp --enable-inline-optimization --enable-magic-quotes --enable-mbstring --enable-mm=shared --enable-safe-mode --enable-track-vars --enable-trans-sid --enable-wddx=shared --enable-xml --with-dom --with-gd --enable-gd-native-tt --enable-gd --with-freetype-dir=/usr/local --with-gettext --with-mysql=/usr/local/mysql --with-regex=system --with-zlib-dir=/usr/lib --with-mcrypt=/usr/local/libmcrypt --with-xml--with-freetype-dir=/usr/local --with-png-dir=/usr/local --with-jpeg-dir=/usr/local --enable-sysvmsg --enable-sysvsem --enable-sysvshm --enable-sigchild --with-mysqli=/usr/local/mysql/bin/mysql_config --with-mysql-sock=/tmp/mysql.sock --with-zlib --with-zlib-dir --with-bz2 --enable-gd-native-ttf --with-ttf --with-iconv=/usr/local --with-curl=/usr/local --with-config-file-path=/usr/local/apache2/conf --enable-trans-id --with-cpdflib=/usr/local --enable-pcntl --enable-module=/usr/local/mod_geoip2_1.2.0/mod_geoip.c --with-pic --with-fPIC


error getting while "make"
===========================

/usr/bin/ld: /usr/local/lib/libjpeg.a(jcapimin.o): relocation R_X86_64_32 against `a local symbol' can not be used when making a shared object; recompile with -fPIC
/usr/local/lib/libjpeg.a: could not read symbols: Bad value
collect2: ld returned 1 exit status
make: *** [libphp5.la] Error 1

Regards,
Pawan
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
Redhat Ent. VS Fedora gomisute Fedora 2 03-02-2008 02:48 AM
New to RedHat Ent. 5 Questions lstanderfer Linux - Enterprise 2 11-01-2007 10:28 AM
Redhat Ent. 4 registration sunhui Linux - Software 1 01-12-2007 05:29 AM
Failure Installation REDHAT ent 4 and FC4. Chipset problem Kyiver Linux - Hardware 0 08-10-2005 03:37 AM
Redhat Ent 4 Installation cd's newlinfan Linux - Newbie 1 04-13-2005 10:28 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Server

All times are GMT -5. The time now is 12:59 AM.

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