GIDForums  

Go Back   GIDForums > Computer Forums > Computer Software Forum - Linux
User Name
Password
Register FAQ Members List Calendar Search Today's Posts Mark Forums Read

 
 
Thread Tools Search this Thread Rate Thread
  #1  
Old 11-Aug-2005, 02:20
Fezzen Fezzen is offline
New Member
 
Join Date: Aug 2005
Posts: 2
Fezzen is on a distinguished road

Alt. Problem: PHP 4.4 GD compilation errors


I gave up on getting PHP5 to work, so I reverted back to PHP4, but now I need the GD library as well.

This is my configuration line:
./configure --with-gd --with-gd2 --with-zlib --with-jpeg-dir=/usr/lib --with-mysql --with-ttf --enable-gd-native-ttf

And I get this error:
configure: error: libjpeg.(a|so) not found.

Note that a few lines above I see "Checking for the location of libjpeg... /usr/lib", and a "find / -name libjpeg*" yields the following:
/usr/lib/libjpeg.so.62
/usr/lib/libjpeg.so.62.0.0

So.... any ideas?
  #2  
Old 12-Aug-2005, 08:39
JdS's Avatar
JdS JdS is offline
Senior Member
 
Join Date: Aug 2001
Location: KUL, Malaysia
Posts: 3,371
JdS will become famous soon enough
I don't personally use Linux (entensively) anymore, but reading through the information you've supplied above, it simply appears to be a case of "the missing file"?

The install is looking for the libjpeg.a or a libjpeg.so file but the ones in the directory are effectively "hidden" to the script? i.e. libjpeg.so.62 & libjpeg.so.62.0.0.
  #3  
Old 12-Aug-2005, 22:16
dsmith's Avatar
dsmith dsmith is offline
Senior Member
 
Join Date: Jan 2004
Location: Utah, USA
Posts: 1,351
dsmith is a glorious beacon of lightdsmith is a glorious beacon of lightdsmith is a glorious beacon of lightdsmith is a glorious beacon of lightdsmith is a glorious beacon of light
Hi Fezzen.

Try setting a soft link under the /usr/lib directory.

Code:
ln -s /usr/lib/libjpeg.so.62 /usr/lib/libjpeg.so
 
 

Recent GIDBlogToyota - 2009 May Promotion by Nihal

Thread Tools Search this Thread
Search this Thread:

Advanced Search
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 Off
HTML code is Off
Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Apache / PHP problem, maybe output length? HaganeNoKokoro Apache Web Server Forum 3 07-Aug-2008 05:42
PHP 4.4.0 -- not properly connecting to db tgo MySQL / PHP Forum 4 09-Aug-2005 23:24
PHP Include problem Darksat MySQL / PHP Forum 1 06-Sep-2004 08:55
Structure compilation problem nkhambal C Programming Language 1 03-Aug-2004 09:16
PHP Compilation errors! Allowee MySQL / PHP Forum 17 21-May-2003 12:19

Network Sites: GIDNetwork · GIDWebHosts · GIDSearch · Learning Journal by J de Silva, The

All times are GMT -6. The time now is 13:42.


vBulletin, Copyright © 2000 - 2009, Jelsoft Enterprises Ltd.