Jean-Marc Lasgouttes wrote: > > R> Why the configure script can't find it there? It doesn't look in > R> /usr/local/include and /usr/local/lib ? A mistery to me. Any ideas? > R> I may investigate a bit on this. > > I don't know really. However the error message is quite clear in this > respect: > > configure:12094: checking for jpeg_read_header in -ljpeg > configure:12127: gcc -o conftest -g -O2 -isystem /usr/X11R6/include conftest.c > -ljpeg -lforms -lXpm -lSM -lICE -lc -lm -L/usr/X11R6/lib -lX11 >&5 > /usr/libexec/elf/ld: cannot find -ljpeg
OK. Solved it temporarily by "setenv LDFLAGS -L/usr/local/lib", but then I run again into trouble, as you can see in message http://www.mail-archive.com/lyx-devel@lists.lyx.org/msg41160.html which confuses me once more. Rob.