SUMMARY: Problems compiling XV

From: Stefan Huelswitt (huels@ftl.uni-duisburg.de)
Date: Thu Jan 12 1995 - 02:37:32 CST


Hi,
this is a cut down of my original question:

------------- 8< ----------------- 8< ----------------

afters installing NCSA mosaic we tried to install xv 3.00a to display JPEG
and GIF pictures. cc compiles all parts, but the linking process fails. Here
is the output from the make comand:

cc -o xv -O -L/usr/openwin/lib -I/usr/openwin/include -DHAVE_JPEG -Ijpeg
-DHAVE_TIFF -Itiff -DHAVE_PDS -DBACKING_STORE xv.o
xvevent.o xvroot.o xvmisc.o xvimage.o xvcolor.o xvsmooth.o xv24to8.o
xvgif.o xvpm.o xvinfo.o xvctrl.o xvscrl.o xvalg.o xvgifwr.o xvdir.o
xvbutt.o xvpbm.o xvxbm.o xvgam.o xvbmp.o xvdial.o xvgraf.o xvsunras.o
xvjpeg.o xvps.o xvpopup.o xvdflt.o xvtiff.o xvtiffwr.o xvpds.o xvrle.o
xviris.o xvgrab.o vprintf.o xvbrowse.o xvtext.o xvpcx.o -lX11
jpeg/libjpeg.a tiff/libtiff.a -lm
ld: Undefined symbol
    __lib_version
*** Error code 2
make: Fatal error: Command failed for target 'xv'

------------- 8< ----------------- 8< ----------------

I'm sorry for bothering the list with an unappropiate question.
Thanks to all the people who send suggestions. I received mails from:

raoul@MIT.EDU
tkevans@fallst.es.dupont.com
mattias@txc.com (Mattias Zhabinskiy 203-929-8810x251)
Richard Pieri <ratinox@unilab.dfci.harvard.edu>
jce@carina.cray.com (John Ellsworth)
vahsenr@css.ce.philips.nl (Rob Vahsen)
B.Bretthauer@dlr.de (Bernward Bretthauer)
ballisti@ifh.ee.ethz.ch
Tom Orban <orban@advtech.uswest.com>
George Pallas <gpallas@freenet.columbus.oh.us>
Joe Turner <jdt@concorde.com>
Ray Brownrigg <Ray.Brownrigg@isor.vuw.ac.nz>

Most people suggested that this is a problem with the setting of
LD_LIBRARY_PATH. We pre-pended our LD_LIBRARY_PATH wiht /usr/ucblib
and this fixes the problem.

Other people suggested to unset LD_LIBRARY_PATH or to install OpenWindows
JUMBO patch (was already installed), but this doesn't fixed the problem.

Another thanks.

Bye
  Stefan Huelswitt



This archive was generated by hypermail 2.1.2 : Fri Sep 28 2001 - 23:10:14 CDT