Hello all, I am trying to compile GTK+-2.6.1 on a debian linux distribution, and I have the following linking problem. Basically ./configure gives me the following error checking for jpeg_destroy_decompress in -ljpeg... no configure: WARNING: *** JPEG loader will not be built (JPEG library not found) *** configure: error: if I look more closely to the config.log output : jecar@debian:/src/gtk+-2.6.1$ more config.log | grep jpeg $ ./configure --with-libjpeg --with-gnu-ld configure:25848: checking for jpeg_destroy_decompress in -ljpeg configure:25878: i686-pc-linux-gnu-gcc -o conftest -g -O2 -Wall conftest.c -ljpeg >&5 /usr/bin/ld: cannot find -ljpeg | char jpeg_destroy_decompress (); | jpeg_destroy_decompress (); *** --without-libjpeg to configure but some programs using GTK+ may ac_cv_lib_jpeg_jpeg_destroy_decompress= However, libjpeg exist on my system (I compiled and installed it) and it resides in /usr/lib the following readelf confirms that the function ecar@debian:/src/gtk+-2.6.1$ readelf -a /usr/lib/libjpeg.so.62 | grep jpeg_destroy_decompress 75: 0000c0fc 35 FUNC GLOBAL DEFAULT 10 jpeg_destroy_decompress jecar@debian:/src/gtk+-2.6.1$ jpeg_destroy_decompress does in fact exist. How come configure won't find it... /usr/bin/ld: cannot find -ljpeg.... I have also done ldconfig and tried to specify the LDFLAGS and it doesn't change anything Anyone has the answer ? -> probably a follow-up to http://mail.gnome.org/archives/gtk-list/2003-September/msg00273.html thanks in advance Jean Olivier _______________________________________________ gtk-list@xxxxxxxxx http://mail.gnome.org/mailman/listinfo/gtk-list