Why and how GTK+-2.0's dependencies make me cry
I've worked my way through a number of dependency problems in installing GTK+-2.4.0, but this one has me so stumped that I have to post.
When I try to configure GTK, the following happens:
Code:
dan@george:~/gtk+-2.4.0$ ./configure
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for gawk... no
checking for mawk... mawk
checking whether make sets $(MAKE)... yes
checking for native Win32... no
checking for gcc... gcc
...
checking tiffio.h usability... yes
checking tiffio.h presence... yes
checking for tiffio.h... yes
checking for jpeg_destroy_decompress in -ljpeg... no
configure: WARNING: *** JPEG loader will not be built (JPEG library not found) ***
configure: error:
*** Checks for JPEG loader failed. You can build without it by passing
*** --without-libjpeg to configure but some programs using GTK+ may
*** not work properly
Now I definitely have libjpeg installed, and just to be sure I installed version 6.2 from source. It went with no problems.
Code:
dan@george:~/$ locate libjpeg.so.62
/usr/lib/libjpeg.so.62
/usr/lib/libjpeg.so.62.0.0
I've tried many different solutions I found on Google, including changing my LD_LIBRARY_PATH variable to include /usr/lib, but I always get the same error. I also checked the options of configure, but there is nothing like "--libjpeg-path=[PATH]", unfortunately. Can you think of any reason why the GTK+-2.4.0 configure script might not see my JPEG library?