gdk-pixbuf 0.9.0 + libpng 1.0.8 + solaris 2.7 anyone?



Package: gdk-pixbuf
Version: 0.9.0

Configure script runs fine.  Finds all libs and includes.

During make, warning:

(cd .libs && rm -f libgnomecanvaspixbuf.la && ln -s
../libgnomecanvaspixbuf.la
libgnomecanvaspixbuf.la)
/bin/sh ../libtool --mode=compile /usr/local/bin/gcc -DHAVE_CONFIG_H -I.
-I.
-I.. -I.. -I..  -I../gdk-pixbuf
-I../gdk-pixbuf          -I/usr/local/lib/glib/include
-I/usr/local/include
-I/usr/local/lib/glib/include -I/usr/local/include -I/usr/openwin/include
-I/usr/local/include -DNEED_GNOMESUPPORT_H
-I/usr/local/lib/gnome-libs/include
-I/usr/local/lib/glib/include -I/usr/openwin/include
"-DPIXBUF_LIBDIR=\"/usr/local/lib/gdk-pixbuf/loaders\""   -msupersparc -O9
-c
io-png.c
rm -f .libs/io-png.lo
/usr/local/bin/gcc -DHAVE_CONFIG_H -I. -I. -I.. -I.. -I.. -I../gdk-pixbuf
-I../gdk-pixbuf -I/usr/local/lib/glib/include -I/usr/local/include
-I/usr/local/lib/glib/include -I/usr/local/include -I/usr/openwin/include
-I/usr/local/include -DNEED_GNOMESUPPORT_H
-I/usr/local/lib/gnome-libs/include
-I/usr/local/lib/glib/include -I/usr/openwin/include
-DPIXBUF_LIBDIR=\"/usr/local/lib/gdk-pixbuf/loaders\" -msupersparc -O9 -c
io-png.c  -fPIC -DPIC -o .libs/io-png.lo
/usr/local/bin/gcc -DHAVE_CONFIG_H -I. -I. -I.. -I.. -I.. -I../gdk-pixbuf
-I../gdk-pixbuf -I/usr/local/lib/glib/include -I/usr/local/include
-I/usr/local/lib/glib/include -I/usr/local/include -I/usr/openwin/include
-I/usr/local/include -DNEED_GNOMESUPPORT_H
-I/usr/local/lib/gnome-libs/include
-I/usr/local/lib/glib/include -I/usr/openwin/include
-DPIXBUF_LIBDIR=\"/usr/local/lib/gdk-pixbuf/loaders\" -msupersparc -O9 -c
io-png.c  -fPIC -DPIC -o .libs/io-png.lo
/usr/local/bin/gcc -DHAVE_CONFIG_H -I. -I. -I.. -I.. -I.. -I../gdk-pixbuf
-I../gdk-pixbuf -I/usr/local/lib/glib/include -I/usr/local/include
-I/usr/local/lib/glib/include -I/usr/local/include -I/usr/openwin/include
-I/usr/local/include -DNEED_GNOMESUPPORT_H
-I/usr/local/lib/gnome-libs/include
-I/usr/local/lib/glib/include -I/usr/openwin/include
-DPIXBUF_LIBDIR=\"/usr/local/lib/gdk-pixbuf/loaders\" -msupersparc -O9 -c
io-png.c -o io-png.o >/dev/null 2>&1
mv -f .libs/io-png.lo io-png.lo
/bin/sh ../libtool --mode=link /usr/local/bin/gcc  -msupersparc -O9  -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.*

*** Warning: This library needs some functionality provided by -lz.
*** I have the capability to make that library automatically link in when
*** you link to this library.  But I can only do this if you have a
*** shared version of the library, which you do not appear to have.

*** Warning: libtool could not satisfy all declared inter-library
*** dependencies of module libpixbufloader-png.  Therefore, libtool will create
*** a static module, that should work as long as the dlopening
*** application is linked with the -dlopen flag.
ar cru .libs/libpixbufloader-png.a  io-png.o
ranlib .libs/libpixbufloader-png.a
creating libpixbufloader-png.la

------

After compilation, no .so for:

libpixbufloader-png

--

gdk-pixbuf-0.9.0$ find . -name "libpixbufloader-*so"
./gdk-pixbuf/.libs/libpixbufloader-gif.so
./gdk-pixbuf/.libs/libpixbufloader-ico.so
./gdk-pixbuf/.libs/libpixbufloader-ras.so
./gdk-pixbuf/.libs/libpixbufloader-xpm.so
./gdk-pixbuf/.libs/libpixbufloader-tiff.so
./gdk-pixbuf/.libs/libpixbufloader-pnm.so
./gdk-pixbuf/.libs/libpixbufloader-bmp.so


----------

The warning apears to be false.  I have manually compiled and installed
libpng in /usr/local:

Makefile for libPng version libpng-1.0.8 :

libpng.so.$(PNGVER): $(OBJSDLL)
        @case "`type ld`" in *ucb*) \
        echo; \
        echo '## WARNING:'; \
        echo '## The commands "CC" and "LD" must NOT refer to /usr/ucb/cc'; \
        echo '## and /usr/ucb/ld.  If they do, you need to adjust your PATH'; \
        echo '## environment variable to put /usr/ccs/bin ahead of /usr/ucb.'; \
        echo '## The environment variable LD_LIBRARY_PATH should not be set'; \
        echo '## at all.  If it is, things are likely to break because of'; \
        echo '## the libucb dependency that is created.'; \
        echo; \
        ;; \
        esac
        $(LD) -G -L$(ZLIBLIB) -R$(ZLIBLIB) -h libpng.so.$(PNGMAJ) \

         -o libpng.so.$(PNGVER) $(OBJSDLL) -lz


When compiling libPng, i made sure to unset LD_LIBRARY_PATH as well as set
path so that /usr/ccs/bin is before /usr/ucb:

$ echo $PATH
/usr/local/bin:/usr/bin:/bin:/usr/sbin:/sbin:/usr/dt/bin:/usr/X/bin:/opt/NSCPcom:
/usr/local/sbin:/usr/ccs/bin:/usr/ucb:~/bin

$ ls -la /usr/local/lib/libpng.*
-rw-r--r--   1 root     other     190204 Nov 26 20:33 /usr/local/lib/libpng.a
lrwxrwxrwx   1 root     other         11 Nov 26 20:33 /usr/local/lib/libpng.so -> libpng.so.2
lrwxrwxrwx   1 root     other         17 Nov 26 20:33 /usr/local/lib/libpng.so.2 -> libpng.so.2.1.0.8
-rwxr-xr-x   1 root     other     223304 Nov 26 20:33 /usr/local/lib/libpng.so.2.1.0.8

$ ls -la /usr/local/include/*png*
-rw-r--r--   1 root     other     124394 Nov 26 20:33 /usr/local/include/png.h
-rw-r--r--   1 root     other      35093 Nov 26 20:33 /usr/local/include/pngconf.h

The problem is that the pannel cannot display PNG icons without a
libpixbufloader-png.so

I have also tried giving the configure script for gdk-pixbuf:

--enable-modules
&
--disable-modules


I have found very little related information about this in the mailing
list archives, bug reports, or the public WWW.


Thanks,
-Brian





[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]