LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
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 10-27-2005, 01:03 PM   #1
anilnatha
LQ Newbie
 
Registered: Jun 2003
Distribution: Red Hat 8.0, 9.0
Posts: 26

Rep: Reputation: 15
Angry php4.4.0 installation can't find libjpeg even though it's installed


I'm installing php4.4.0 on redhat enterprise and when I issue the configure command as so:


Code:
./configure --with-mysql --with-gd=/usr/local --with-jpeg-dir=/usr/local --with-zlib-dir=/usr/local/include --with-png-dir=/usr/include
It returns results:

Code:
checking for GD support... yes
checking for the location of libjpeg... no
checking for the location of libpng... /usr/include/
checking for the location of libXpm... no
I have installed libjpeg. When I installed it I did the normal:

Code:
./configure
make
make install-lib
make install

I just can't figure out why libjpeg isn't being found. In addition, when I do 'locate libjpeg' It finds some shared modules. But It doesn't find a libjpeg.h; instead it finds jpeglib.h

Could this be the problem?

Any helps is much appreciated as I'm pulling my hair out trying to figure out why php can't find libjpeg.


Last edited by anilnatha; 10-27-2005 at 01:13 PM.
 
Old 10-28-2005, 10:10 PM   #2
btmiller
Senior Member
 
Registered: May 2004
Location: In the DC 'burbs
Distribution: Arch, Scientific Linux, Debian, Ubuntu
Posts: 4,290

Rep: Reputation: 378Reputation: 378Reputation: 378Reputation: 378
I've run into this problem before. Probably your ./configure is getting information from its (outdated) cache file, you could try adding --cache-file=/dev/null to configure to make sure it doesn't use the config cache. Be sure you completely clean out the source directory with make clean before doing this too, to make sure you don't get stuff left over from your last build.
 
  


Reply



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
error: "cannot find libjpeg support" Lokathor Debian 3 11-04-2005 06:12 PM
Help loading php4-gd with php4 already installed. (Debian) sdduuuude Linux - Software 3 10-24-2005 05:13 AM
php4 mysql, installation, php-pages with mysql info stay empty dnla Linux - Software 2 03-14-2004 02:54 PM
libjpeg.so.62 file not delete?? eye Red Hat 1 09-02-2003 01:56 PM
PHP4 installation on SUSE 7.2 luzius Linux - Networking 0 11-18-2001 02:05 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 02:55 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