[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

problem with glib-1.2.5 and pthreads



Hello,

I have installed glib 1.2.5 and gtk+ 1.2.5.  glib is configured with option
"--with-threads=posix" and I use glibc5.4.46, linuxthreads-0.71 and
linux-2.2.11.  With glib/gtk+ 1.2.3 all works fine but with 1.2.5 all programs
without threads report (for example my old gimp-1.0.4)
    gimp: can't resolve symbol '__register_frame_info'

I found that register_frame_info is a pthread-function and since gimp isn't
compiled with threads support this symbol is missing.

Why calls glib (and gtk+ has an unsolved reference to this function, too)
pthread-functions, when threads are not used?  What has changed from 1.2.3 to
1.2.5?

For newer systems with threading support in glibc and threadsafe X11-libs this
is normally no problem, but older systems don't work as before.


I have found a workaround (and know that it's time to upgrade my system to
glibc2 ;-)).  I have to preload the pthread library (and on my system activate
the threadsafe X11-libs with "threads") and mostly all works fine
    LD_PRELOAD=/lib/libpthread.so.0.7 threads gimp

Yours
Uwe Koloska

-- 
mailto:koloska@rcs.urz.tu-dresden.de
http://rcswww.urz.tu-dresden.de/~koloska/
--                                    --
right now the web page is in german only
but this will change as time goes by ;-)



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]