Hi,

While attempting to compile xv on my system (X86 w/ Debian Hamm)...I'm getting:

egcc -ansi -o xv -O  -DDOJPEG -Ijpeg -DDOTIFF -Itiff -DDOPDS     -DBSDTYPES   -DLINUX 
xv.o
 xvevent.o xvroot.o xvmisc.o xvimage.o xvcolor.o xvsmooth.o xv24to8.o xvgif.o xvpm.o 
xvinf
o.o xvctrl.o xvscrl.o xvalg.o xvgifwr.o xvdir.o xvbutt.o xvpbm.o xvxbm.o xvgam.o 
xvbmp.o x
vdial.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 xviff.o xvtarga.o 
xvxpm.o
 xvcut.o xvxwd.o xvfits.o -lX11 jpeg/libjpeg.a tiff/libtiff.a -lm
/usr/bin/ld: cannot open -lX11: No such file or directory
collect2: ld returned 1 exit status
make: *** [xv] Error 1

My knowledge of ld.so and ELF is sorely lacking, but I have made sure that libX11.so 
exists and points to /usr/X11R6/lib/libX11.so.6.1, that /usr/X11R6/lib is in 
/etc/ld.so.conf, and that I ran ldconfig (as root).

I've also tried adding /usr/X11R6/lib to LD_LIBRARY_PATH with no luck.

I'm using ld version 1.9.9-1 and egcs (egcc) and gcc exhibit same behaviour.

Is there a gcc option that I'm missing perhaps?  Or something with my ld setup that I 
should check maybe?  I've managed to compile all sorts of other stuff without a hitch 
so I'm certain that the linker is somewhat functional...in any case, I would be 
grateful for any insights someone may have.

Thanks in advance,

--Fred McDavid

PS: I've put the xv tar.gz file on my ftp server at 
ftp://ftp.cyberglades.com/pub/xv/xv-3.10a.tar.gz
 if anyone wants to have a look [or has noticed that xv source dist is hard to find :) 
]

Reply via email to