gdk-pixbuf (Gnome) compile error on Solaris

gdk-pixbuf (Gnome) compile error on Solaris

Post by John Do » Sun, 10 Sep 2000 02:36:20



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.

 
 
 

gdk-pixbuf (Gnome) compile error on Solaris

Post by Drazen Kac » Sun, 10 Sep 2000 03:50:57



> I'm getting the following errors when I'm trying to compile gdk-pixbuf on a
> sparc solaris8 system:

You should have said which gdk-pixbuf version you were using.

Quote:> /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

Note that you don't have -L/usr/local/lib here...

Quote:> ld: fatal: library -lpng: not found
> ld: fatal: File processing errors. No output written to
> .libs/libpixbufloader-png.so.1.0.0

...so ld(1) won't be able to find your png library.

Quote:> 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.

No, it's not looking there. Use LDFLAGS=-L/usr/local/lib or something
to that effect.

--
 .-.   .-.    I don't work for my employer.
(_  \ /  _)



 
 
 

1. gdk-pixbuf (Gnome) compile error on Solaris

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.

2. Slow xwindows

3. Compiling GNOME - Compiler can't find GDK-Pixbuf

4. experiences/recommendations for L.A. area Web server providers ?

5. Gnome installation: gdk-pixbuf/libbonoboui conflict

6. video card speed?

7. A problem with gdk-pixbuf/GNOME panel

8. Job available

9. Display images using Gtk/Gdk/Gdk-pixbuf

10. can't install gdk-pixbuf in redhat

11. Can't install gdk-pixbuf in redhat

12. libjpeg shared object for gdk-pixbuf

13. gdk-pixbuf problems