HELP: GTK20 failure

Adam Weinberger adamw at FreeBSD.org
Fri Mar 26 10:53:55 PST 2004


>> (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 at magnesium.net || adamw at FreeBSD.org
adamw at vectors.cx    ||   adamw at gnome.org
http://www.vectors.cx


More information about the freebsd-ports mailing list