Re: Error compiling xsane 0.44

Klaas Freitag (
Thu, 18 Nov 1999 12:02:36 +0100

> gcc -o xsane xsane-back-gtk.o xsane-front-gtk.o xsane-gamma.o
> xsane-preview.o xsane-preferences.o xsane-setup.o xsane-save.o xsane-scan.o
> xsane-icons.o xsane.o ../sanei/libsanei.a \
> ../lib/liblib.a -lgimp ../intl/libintl.a -lpng -lsane -ldl -ltiff
> -ljpeg -lm
> /usr/i486-linux/bin/ld: cannot open -lpng: No such file or directory

You dont have libpng installed, which is another library for image-format
support like libtiff. Install it from your distribution (serie gra/libpng or
fetch the latest from the web) and configure/make again.

Hope it works,

 Klaas Freitag, SuSE GmbH, Schanzaeckerstr. 10, D-90443 Nürnberg, Germany

Source code, list archive, and docs:
To unsubscribe: echo unsubscribe sane-devel | mail