Subject: Re: gtk2+-2.6.4nb1: glib2 wrong libgobject version
To: None <tlaronde@polynum.com>
From: Jeremy C. Reed <reed@reedmedia.net>
List: tech-pkg
Date: 04/06/2005 17:33:14
On Wed, 6 Apr 2005 tlaronde@polynum.com wrote:

> When building gtk2+ (pkgsrc-2005Q1), linking is tried with
> libgobject-2.0.so.400 when indeed the installed version from glib2
> is libgobject-2.0.so.600. The links in the .buildlink directory are
> correct, so where does this so.400 reference come from?

I am not sure. This may be caused by an old version installed. I have had
near identical problems several times.

I am guessing you or a packager somehow was using an old package.

Please read these emails:

 tech-pkg: glib2 and maybe a missed BUILDLINK_RECOMMENDED?
 http://mail-index.netbsd.org/tech-pkg/2005/03/01/0005.html

 http://mail-index.netbsd.org/tech-pkg/2005/03/01/0007.html

 http://mail-index.netbsd.org/tech-pkg/2005/03/01/0008.html

(Nobody fixed the problem -- and I assumed I was the only person it hit.)

But then it happened to me again -- this is what hit me yesterday when
building gtk2+ (because dependencies allowed it):

$ ldd /usr/lib/libIDL-2.so
        linux-gate.so.1 =>  (0xffffe000)
        libglib-2.0.so.400 => not found
        libc.so.6 => /usr/lib/libc.so.6 (0xb7eca000)
        /usr/lib/ld-linux.so.2 (0x80000000)

So I rebuilt pkgsrc/net/libIDL:

$ ldd /usr/lib/libIDL-2.so
        linux-gate.so.1 =>  (0xffffe000)
        libglib-2.0.so.0 => /usr/lib/libglib-2.0.so.0 (0xb7f4a000)
        libc.so.6 => /usr/lib/libc.so.6 (0xb7e4d000)
        /usr/lib/ld-linux.so.2 (0x80000000)

Maybe check your libIDL, pango, or atk. Maybe one or all needs to be
rebuilt for you.

 Jeremy C. Reed

 	  	 	 BSD News, BSD tutorials, BSD links
	  	 	 http://www.bsdnewsletter.com/