Virgo Logbook
UTC--:--:--
GPS-
Reports
Electronics and Software›Software Installation and Test #1358

(untitled)

(Continued).
Actually, I had problems generating the jpeg support, though
the jpeg library was correctly installed.
For an unknown reason, a program using the function
jpeg_read_header cannot be linked with
-L/usr/local/lib -ljpeg.
It has to be linked with /usr/local/lib/libjpeg.a
I by-passed the problem by forcing the LDFLAGS variable to
"-static"
By the way, I also forced CC to cc

3 comments

teuler · 15 Jun 2001 · 18:25 #1359
Instead of "-static" I was meaning "-non_shared"
teuler · 15 Jun 2001 · 18:27 #1360
I also forcer CXX to cxx
teuler · 18 Jun 2001 · 10:30 #1368
Finally, instead of forcing with -static, I installed the shared library version of jpeg, and the standard procedure worked