I'm getting the following errors when I'm trying to compile gdk-pixbuf on a
sparc solaris8 system:
/bin/sh ../libtool --mode=link gcc -g -O2 -o libpixbufloader-png.la -rpath
/usr/local/lib/gdk-pixbuf/loaders -version-info 1:0:0 -module io-png.lo
-lpng -lz
rm -fr .libs/libpixbufloader-png.la .libs/libpixbufloader-png.*
.libs/libpixbufloader-png.*
/usr/ccs/bin/ld -G -h libpixbufloader-png.so.1 -o
.libs/libpixbufloader-png.so.1.0.0 io-png.lo -lpng -lz -lc
ld: fatal: library -lpng: not found
ld: fatal: File processing errors. No output written to
.libs/libpixbufloader-png.so.1.0.0
make[3]: *** [libpixbufloader-png.la] Error 1
make[3]: Leaving directory `/opt/dist/gnome/req/gdk-pixbuf-0.8.0/gdk-pixbuf'
make[2]: *** [all-recursive] Error 1
Now, it's saying that the library png is not found but it's looking in
/usr/local/lib and they exist there as shown below.
-rw-r--r-- 1 bin bin 189880 May 7 03:19
/usr/local/lib/libpng.a
lrwxrwxrwx 1 root other 11 Sep 5 21:38
/usr/local/lib/libpng.so -> libpng.so.2
lrwxrwxrwx 1 root other 17 Sep 5 21:38
/usr/local/lib/libpng.so.2 -> libpng.so.2.1.0.6
-rwxr-xr-x 1 bin bin 215116 May 7 03:19
/usr/local/lib/libpng.so.2.1.0.6
Does anyone have any ideas on how to continue further? I'm having a similar
problem with ORBit as well and I would imagine the same fix would apply for
both.