Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 26 Mar 2004 13:53:54 -0500
From:      Adam Weinberger <adamw@FreeBSD.org>
To:        Larry Rosenman <ler@lerctr.org>
Cc:        freebsd-ports@freebsd.org
Subject:   Re: HELP: GTK20 failure
Message-ID:  <20040326185354.GX72792@toxic.magnesium.net>
In-Reply-To: <184870000.1080325563@lerlaptop.lerctr.org>
References:  <184870000.1080325563@lerlaptop.lerctr.org>

next in thread | previous in thread | raw e-mail | index | archive | help
>> (03.26.2004 @ 1326 PST): Larry Rosenman said, in 3.1K: <<
> 
> -CURRENT from last nite, portupgrade for the first time in a LONG time,
> I'm getting the following failure on x11-toolkits/gtk20
> 
>   - add LIBDIR to the `LD_RUN_PATH' environment variable
>     during linking
>   - use the `-Wl,--rpath -Wl,LIBDIR' linker flag
> 
> See any operating system documentation about shared libraries for
> more information, such as the ld(1) and ld.so(8) manual pages.
> ----------------------------------------------------------------------
> /bin/sh ../../libtool  --mode=install /usr/bin/install -c -o root -g wheel 
> im-viqr.la /usr/X11R6/lib/gtk-2.0/2.2.0/immodules/im-viqr.la
> /usr/bin/install -c -o root -g wheel .libs/im-viqr.so 
> /usr/X11R6/lib/gtk-2.0/2.2.0/immodules/im-viqr.so
> /usr/bin/env OBJFORMAT="elf" /sbin/ldconfig -m 
> /usr/X11R6/lib/gtk-2.0/2.2.0/immodules
> ----------------------------------------------------------------------
> Libraries have been installed in:
>   /usr/X11R6/lib/gtk-2.0/2.2.0/immodules
> 
> If you ever happen to want to link against installed libraries
> in a given directory, LIBDIR, you must either use libtool, and
> specify the full pathname of the library, or use `-LLIBDIR'
> flag during linking and do at least one of the following:
>   - add LIBDIR to the `LD_LIBRARY_PATH' environment variable
>     during execution
>   - add LIBDIR to the `LD_RUN_PATH' environment variable
>     during linking
>   - use the `-Wl,--rpath -Wl,LIBDIR' linker flag
> 
> See any operating system documentation about shared libraries for
> more information, such as the ld(1) and ld.so(8) manual pages.
> ----------------------------------------------------------------------
> /bin/sh ../../mkinstalldirs /usr/X11R6/etc/gtk-2.0
> ../../gtk/gtk-query-immodules-2.0 > /usr/X11R6/etc/gtk-2.0/gtk.immodules
> Fatal error 'Spinlock called when not threaded.' at line 83 in file 
> /usr/src/lib/libpthread/thread/thr_spinlock.c (errno = 0)
> Fatal error 'Spinlock called when not threaded.' at line 83 in file 
> /usr/src/lib/libpthread/thread/thr_spinlock.c (errno = 0)
> Abort trap (core dumped)
> *** Error code 134
> 
> Stop in /shared/ports/x11-toolkits/gtk20/work/gtk+-2.2.4/modules/input.
> *** Error code 1
> 
> Stop in /shared/ports/x11-toolkits/gtk20/work/gtk+-2.2.4/modules/input.
> *** Error code 1
> 
> Stop in /shared/ports/x11-toolkits/gtk20/work/gtk+-2.2.4/modules.
> *** Error code 1
> 
> Stop in /shared/ports/x11-toolkits/gtk20/work/gtk+-2.2.4.
> *** Error code 1
> 
> Stop in /shared/ports/x11-toolkits/gtk20.
> *** Error code 1
> 
> Stop in /shared/ports/x11-toolkits/gtk20.
> 
>> end of "HELP: GTK20 failure" from Larry Rosenman <<

Please search the archives on this FAQ.

You have stuff compiled against libc_r. My personal recommendation is to
rm -R /usr/X11R6/lib/gtk-2.0/ && portupgrade -af

It'll take a long time, but i'll completely solve the problem.

# Adam


--
Adam Weinberger
adamw@magnesium.net || adamw@FreeBSD.org
adamw@vectors.cx    ||   adamw@gnome.org
http://www.vectors.cx



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20040326185354.GX72792>