LinuxQuestions.org
Support LQ: Use code LQ3 and save $3 on Domain Registration
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices

Reply
 
Search this Thread
Old 04-21-2006, 04:42 AM   #1
rajnair0278
Member
 
Registered: Mar 2006
Posts: 62

Rep: Reputation: 15
Angry Anybody with GD, ZLIB issues..Please


Hello folks, am using linux 9 php5.1 and apache 2. I was trying to install gd, zlib, png and jpeg on my server that already had php configured and running. Only upgrading with the above S/Ws. When I configured php with

'./configure' '--with-oci8=/opt/oracle/product/9.2.0' '--with-apxs2=/usr/local/apache/bin/apxs' '--enable-sigchild' '--with-gd=/root/install/gd-2.0.33' '--with-png=/root/install/libpng-1.2.8' '--with-jpeg=/root/install/jpeg-6b' '--enable-ftp' '--with-libxml2=/usr/local/src/libxml2-2.6.11' '--with-zlib=/root/install/zlib-1.2.3'

command it gave me "configure: error: Cannot find libz" error. It also instructed me to add -dir to the configure line. So I did this

'./configure' '--with-oci8=/opt/oracle/product/9.2.0' '--with-apxs2=/usr/local/apache/bin/apxs' '--enable-sigchild' '--with-gd-dir=/root/install/gd-2.0.33' '--with-png-dir=/root/install/libpng-1.2.8' '--with-jpeg-dir=/root/install/jpeg-6b' '--enable-ftp' '--with-libxml2=/usr/local/src/libxml2-2.6.11' '--with-zlib-dir=/root/install/zlib-1.2.3'

It went through like a charm. But when I did phpinfo(), it did not show me GD and LIBPNG installed. Inspite of no errors getting displayed in my second ./configure, why didnt it configure??? Anybody with some solution.
 
Old 04-21-2006, 08:58 AM   #2
bathory
Guru
 
Registered: Jun 2004
Location: Piraeus
Distribution: Slackware
Posts: 10,953

Rep: Reputation: 1341Reputation: 1341Reputation: 1341Reputation: 1341Reputation: 1341Reputation: 1341Reputation: 1341Reputation: 1341Reputation: 1341Reputation: 1341
Did you restart apache after recompiling php? Also clear your browser's cache because the results could be cached. Or run from command line:
Code:
php -i
 
  


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
zlib error jurp5 Linux From Scratch 2 12-21-2005 06:33 PM
zlib m2azer Linux - Newbie 1 09-16-2005 05:07 PM
zlib ?! D3javu Linux - Newbie 1 04-05-2005 06:39 AM
zlib installation issues Robin01 Linux - Software 1 09-25-2004 08:45 PM
zlib installation Canadian_2k2 Linux - Software 0 01-06-2003 07:45 PM


All times are GMT -5. The time now is 06:30 AM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration