SunQuest
           PHP Installation
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
User Name:
Password:
Remember me
Go Back   Codewalkers ForumsPHP RelatedPHP Installation

Reply
Add This Thread To:
  Del.icio.us   Digg   Google   Spurl   Blink   Furl   Simpy   Y! MyWeb 
Thread Tools Search this Thread Rate Thread Display Modes
 
Unread Codewalkers Forums Sponsor:
AT&T devCentral & BlackBerry(r) Webcast Series: BlackBerry and GPS -Build Location Awareness into your BlackBerry Applications, July 10th-1:00PM EST. Register Today!
  #1  
Old October 14th, 2003, 06:12 PM
monji112000 monji112000 is offline
Codewalkers Newbie (0 - 499 posts)
 
Join Date: Apr 2007
Posts: 1 monji112000 User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
configure: error: libpng.(a|so) not found.

i am setting up snort,apache,php,mysql,and acid. on rh9.
i ran

[root@IDS php-4.3.3]# ./configure --prefix=/www/php --with-apxs2=/www/bin/apxs --with-config-file-path=/www/php --enable-sockets --with-mysql=/usr/local/mysql --with-zlib-dir=/usr/local --with-gd

i got this at the end of the output

If configure fails try --with-jpeg-dir=<DIR>
configure: error: libpng.(a|so) not found.

what dir do i put in for the --with-jpeg-dir=<DIR>

Reply With Quote
  #2  
Old December 26th, 2003, 11:32 PM
teem teem is offline
Codewalkers Newbie (0 - 499 posts)
 
Join Date: Apr 2007
Location: Manchester
Posts: 2 teem User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
RE: configure: error: libpng.(a|so) not found.

I too am having a bad time as i am stuck with the same problem i would be very greatful if you have come up with the answer

i did try it with this but it did not work:-
/configure --x-libraries=/usr/lib/ --prefix=/www/php --with-apxs2=/www/bin/apxs --with-config-file-
path=/www/php --enable-sockets --with-mysql=/usr/local/mysql --with-zlib-dir=/usr/local --with-gd --with-jpeg-dir=/usr/lib

Reply With Quote
  #3  
Old December 28th, 2003, 03:57 AM
postalcow postalcow is offline
Codewalkers Beginner (1000 - 1499 posts)
 
Join Date: Apr 2007
Location: Ford CIty, PA USA
Posts: 1,267 postalcow User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 3
Send a message via Yahoo to postalcow
RE: configure: error: libpng.(a|so) not found.

Did you guys install libpng first? Also, don't forget zlib and libjpeg.

Reply With Quote
  #4  
Old December 28th, 2003, 08:22 PM
teem teem is offline
Codewalkers Newbie (0 - 499 posts)
 
Join Date: Apr 2007
Location: Manchester
Posts: 2 teem User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
RE: configure: error: libpng.(a|so) not found.

I have fixed it now i found out that i needed the lib files with devel in it, and after installing that it worked.

Reply With Quote
  #5  
Old April 30th, 2004, 09:23 PM
tdog tdog is offline
Codewalkers Newbie (0 - 499 posts)
 
Join Date: Apr 2007
Posts: 1 tdog User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
RE: RE: configure: error: libpng.(a|so) not found.


Quote:
I have fixed it now i found out that i needed the lib files with devel in it, and after installing that it worked.


I am running into this same problem and I'm afraid I don't know what you mean by the
Quote:
lib files with devel in it
. Could you elaborate?

Reply With Quote
  #6  
Old June 12th, 2004, 01:30 AM
Anonymous Anonymous is offline
Registered User
Codewalkers God 35th Plane (22000 - 22499 posts)
 
Join Date: Apr 2007
Posts: 22,309 Anonymous User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 24
RE: configure: error: libpng.(a|so) not found.

clarification:

each of the libraries (libjpeg, libpng and zlib) have analogous development files

ie install libjpeg-devel-6.2.xx.rpm as well!

Reply With Quote
Reply

Viewing: Codewalkers ForumsPHP RelatedPHP Installation > configure: error: libpng.(a|so) not found.


Thread Tools  Search this Thread 
Search this Thread:

Advanced Search
Display Modes  Rate This Thread 
Rate This Thread:


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

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
View Your Warnings | New Posts | Latest News | Latest Threads | Shoutbox
Forum Jump


Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
  
 





© 2003-2008 by Developer Shed. All rights reserved. DS Cluster 3 hosted by Hostway