Linux Help
guides forums blogs
Home Desktops Distributions ISO Images Logos Newbies Reviews Software Support & Resources Linuxhelp Wiki

Welcome Guest ( Log In | Register )



Advanced DNS Management
New ZoneEdit. New Managment.

FREE DNS Is Back

Sign Up Now
 
Reply to this topicStart new topic
> Php Install Error, configure:error:libjpeg.(a|so) not found
tazman
post Dec 26 2003, 08:00 PM
Post #1


Whats this Lie-nix Thing?
*

Group: Members
Posts: 7
Joined: 12-December 03
Member No.: 1,947



i am setting up SNORT for this i need ,apache,php,mysql,and acid. on rh9.
iI am upto installing PHP and this is what happend

root@linbox 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.

then i tried it by adding --with-jpeg-dir=/usr/lib

the libpng file is also in /usr/lib

Does anyone know how to resolve this issue please.
Go to the top of the page
 
+Quote Post
hughesjr
post Dec 27 2003, 06:09 AM
Post #2


Its GNU/Linuxhelp.net
*******

Group: Admin
Posts: 3,433
Joined: 25-July 03
From: Corpus Chrsiti, TX, USA
Member No.: 1,151



As the root user, try editing the file /etc/ld.so.conf and adding any of these locations that are not already there:

/lib
/usr/lib
/usr/local/lib
/usr/X11R6/lib

Then save the file and issue the command ldconfig ... and reissue the command ldconfig (due to a bug sometimes issuing the command twice or a reboot is required).

Then try compiling the files again...


--------------------
Johnny Hughes
hughesjr@linuxhelp.net
Enterprise Alternatives: CentOS, WhiteBoxEL
Favorite Workstation Distros (in order): CentOS, Gentoo, Debian Sarge, Ubuntu, Mandrake, FedoraCore, Slackware, SUSE
Favorite Server Distros (in order): CentOS, WhiteBoxEL, Debian Sarge, Slackware, Mandrake, FedoraCore, Gentoo, SUSE
Go to the top of the page
 
+Quote Post
TheTweaker
post Jan 4 2004, 04:26 PM
Post #3


Whats this Lie-nix Thing?
*

Group: Members
Posts: 4
Joined: 4-January 04
From: CA
Member No.: 2,077



Do what I did...When you install linux choses the php, apache, mysql, ect. and you dont half to worry about all that stuff and installing it...apache works great, php works just fine but I'm having trouble setting up a database for mysql...ha the one think i need right now is the one thing ive been learning in school...


--------------------
The Tweaker,

Tweak me up Scotty!

Join TheTweakingZone Clan...Coming soon...
Go to the top of the page
 
+Quote Post
chrisw
post Jan 5 2004, 01:46 AM
Post #4


RMS is my Hero
******

Group: Admin
Posts: 634
Joined: 27-September 02
From: Louisiana
Member No.: 5



first of all be sure you have the libjpeg rpm installed
if not you have to install that first before compiling php.
and you shouldnt have to edit your /etc/ld.so.conf file


--------------------

Chris W.
Go to the top of the page
 
+Quote Post

Reply to this topicStart new topic
1 User(s) are reading this topic (1 Guests and 0 Anonymous Users)
0 Members:

 



RSS Lo-Fi Version Time is now: 23rd October 2017 - 08:43 AM