Subject: glib2 and maybe a missed BUILDLINK_RECOMMENDED?
To: None <>
From: Jeremy C. Reed <>
List: tech-pkg
Date: 03/01/2005 08:15:42
(elrdet of mentioned gobject missing library on netbsd-help. This
reminded me that I forgot to send the following email that I composed on
Feb. 1.)

I packaged kino and then tried to run it on another system.

montecristo:/home/packages$ kino
kino: error while loading shared libraries: cannot
open shared object file: No such file or directory

montecristo:/home/packages$ ls -ld /usr/lib/libgobject-2.0.*
-rw-r--r--    1 root     root      1219960 Dec 29 09:21
-rwxr-xr-x    1 root     root          972 Dec 29 09:21
lrwxrwxrwx    1 root     root           25 Jan 31 12:56
/usr/lib/ ->
lrwxrwxrwx    1 root     root           25 Jan 31 12:56
/usr/lib/ ->
-rwxr-xr-x    1 root     root       953823 Dec 29 09:21

Installed is glib2-2.6.0 on this system built by me on Dec. 29.

The build system has glib2-2.6.1.

Update to 2.6.1 happened on Jan. 9. But has not been touched
for over eight months. It has:
BUILDLINK_DEPENDS.glib2+=       glib2>=2.4.0

Also somehow it was missed in the pkgsrc bump around Sept. 22 for the
libtool changes.

IGNORE_RECOMMENDED has not been used on this build system for a while.
None of the packages installed have that recorded in +BUILD_INFO. And the
glib2-2.6.0 packages +BUILD_INFO doesn't say IGNORE_RECOMMENDED.

So I added a BUILDLINK_RECOMMENDED.glib2+=   glib2>=2.6.1
to ../../devel/glib2/

And now it depends on correct version. So I pkg_add -u my glib2 on the
system. And now many other packages break:

/usr/lib/ has: => not found => not found => not found => not found
Same with /usr/lib/ and /usr/lib/ and
/usr/lib/ and /usr/lib/ and
/usr/lib/ and others.

Does anyone see the same? Or am I mistaken?

Also does glib2-2.6.2 have different sonames?

My kino now needs (and missing

If I am right, then we need to add a BUILDLINK_RECOMMENDED.glib2.
I think it is too late to bump PKGREVISIONS for packages needing it.

 Jeremy C. Reed

 	  	 	 open source, Unix, *BSD, Linux training