Subject: Yet another libtool pb ?
To: None <tech-pkg@netbsd.org>
From: Eric Jacoboni <jaco@teaser.fr>
List: tech-pkg
Date: 01/02/2003 23:36:13
Hi,

Since a week or so, most of my graphic packages are broken. Some
refuse to build, some build ok but refuse to run... weird!

Trying to track this pb i found that some libs are not properly
installed. I've already send a PR about this pb with glib2 but
without answer. Today, i've found the same pb seems occur with
gdk-pixbuf (hence my gqview is totally broken).

make and make install run both ok : gdk-pixbuf is considered
installed on my box. But, if i script the installation, i see lines
like :

libtool: link: warning:
`/usr/ports/graphics/gdk-pixbuf/work.i386/.buildlink-x11/lib/libgdk.la' seems to be moved

followed by: 
cc -shared -nodefaultlibs .libs/io-tiff.o -Wl,--rpath
-Wl,/usr/local/lib -Wl,- -rpath -Wl,/usr/X11R6/lib
-L/usr/ports/graphics/gdk-pixbuf/work.i386/.buildlink -x11/lib
-L/usr/ports/graphics/gdk-pixbuf/work.i386/.buildlink/lib
-L/usr/local/ lib -ltiff -L/usr/pkg/lib
-L/usr/pkgsrc/graphics/gdk-pixbuf/work.i386/gdk-pixbuf
-0.18.0/gdk-pixbuf/.libs -L/usr/X11R6/lib -lgdk_pixbuf -lgtk -lgdk
-lgmodule -lg lib -lXi -lXext -lX11 -lm -L/usr/lib -lintl
-Wl,-R/usr/X11R6/lib -Wl,-R/usr/loc al/lib -Wl,-R/usr/X11R6/lib
-Wl,-R/usr/X11R6/lib -Wl,-R/usr/local/lib -Wl,-sonam e
-Wl,libpixbufloader-tiff.so -o .libs/libpixbufloader-tiff.so^M ld:
cannot find -lgdk_pixbuf

deinstalling the gdk-pixbuf confirms that some files were not
properly installed :

pkg_delete: file `/usr/X11R6/lib/libgdk_pixbuf_xlib.so.2.0' doesn't really exist
pkg_delete: file `/usr/X11R6/lib/libgdk_pixbuf_xlib.so.2' doesn't really exist
pkg_delete: file `/usr/X11R6/lib/libgdk_pixbuf_xlib.so' doesn't really exist
pkg_delete: file `/usr/X11R6/lib/libgdk_pixbuf_xlib.la' doesn't really exist
pkg_delete: file `/usr/X11R6/lib/libgdk_pixbuf_xlib.a' doesn't really exist
(...)

I've reinstalled the libtool package, without success. My pkgsrc tree
is update twice a day and i'm running current/i386.

What could i try, now ?
-- 
Éric Jacoboni, né il y a 1344986724 secondes