Click to See Complete Forum and Search --> : PHP 4 + GDLIB 8.1.3 + JPEG 6b
I make all configurantions and compilations with these stuff, and everything seems to run ok. When i see the phpinfo() it says there are no support for JPEG.
Anybody knows what could be wrong or how to solf/debug the problem ?
Thanks
-Paulo
Well i found this when runing the configure for PHP:
checking for libjpeg (needed by gd-1.8+)... yes
checking for jpeg_read_header in -ljpeg... (cached) yes
checking for gdImageCreateFromJpeg in -lgd... (cached) no
Any ideas ?
-Paulo
Greetings,
I am a few steps ahead of you with the same install of php, gdlib, and jpeg6.
I had the same problem when I was installing the above onto a Sparc/Solaris 2.6 machine.
I found a message at Geocrawler that helped tons.
http://www.geocrawler.com/archives/3/5/2000/5/0/3811525/
but I can't seem to get there right now.
If it is urgent just reply to this message and I will try to recall my steps.
I finally got PHP to build with Jpeg support through gd but when I try to create a jpeg via php it says my build does not support jpeg...despite the fact that phpinfo reports it to be available.
-briand
Thanks for your answer. I saw the URL you gave and made all those step, they are the same i did in the first place. It does not work either.
checking for libjpeg (needed by gd-1.8+)... yes
checking for jpeg_read_header in -ljpeg... (cached) yes
checking for gdImageCreateFromJpeg in -lgd... (cached) no
# nm libgd.a | grep GD_JPEG_VERSION
00000004 r GD_JPEG_VERSION
If you could help me , i would apretiate it very much. I'm kind of stuck !:|
-Paulo
checking for libjpeg (needed by gd-1.8+)... yes
checking for jpeg_read_header in -ljpeg... (cached) yes
checking for gdImageCreateFromJpeg in -lgd... (cached) no
Make sure you do a make clean and remove the config.cache file from the php src before you do configure again.
I forgot to do that last week when I made some changes to gd and I was getting frustrated....but when I removed the config.cache file from php it was working...php was caching the response.
-briand
Brian , THANKS A LOT !!!!
The problem was in the config.cache !:)
-Paulo
No problem. Been there more than once.
Usually you will want to do a 'make distclean' when you are doing a make in a directory you have done a make on before. If that doesn't work usually you can do a 'make clean' and look for .cache files to delete.
If you didn't know already. :)
-briand
PHP Builder
Copyright WebMediaBrands Inc. All Rights Reserved.