|
|
|||||||||
|
|||||||||
| |||||||||
|
|
|
| |||||||||
![]() |
|
|
«
Previous Thread
|
Next Thread
»
|
Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
|
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
|
|||
|
|||
|
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> |
|
#2
|
|||
|
|||
|
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 |
|
#3
|
|||
|
|||
|
RE: configure: error: libpng.(a|so) not found.
Did you guys install libpng first? Also, don't forget zlib and libjpeg.
|
|
#4
|
|||
|
|||
|
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.
|
|
#5
|
||||
|
||||
|
RE: RE: configure: error: libpng.(a|so) not found.
Quote:
I am running into this same problem and I'm afraid I don't know what you mean by the Quote:
|
|
#6
|
|||
|
|||
|
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! |
![]() |
| Viewing: Codewalkers Forums > PHP Related > PHP Installation > configure: error: libpng.(a|so) not found. |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|
|
|
|
|