Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 28 Sep 2006 11:09:42 -0700
From:      "Kevin Oberman" <>
Subject:   Thread libraries and Perl
Message-ID:  <>

Next in thread | Raw E-Mail | Index | Archive | Help
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline

I use a Perl program that uses GTK2 for its display. This means that it
uses the p5-Gtk2 port. Many GTK2 routines are threaded, and when they
are called, the rtld fails to resolve the symbol "pthread_getschedparam"
and the program exists.

I know that normally the inclusion of the threading libraries is done at
compile time for the main code which will be using threading routines in
libraries to which it is linked, but Perl is not compiled and, if I
don't do something to pull libpthread into the process, such as using
LD_PRELOAD, I will get the error.

My question is, what is the best way to do this? Should the Perl
bindings to the threaded libraries do it? (In this case, p5-Gtk2) or is
there a better way.
R. Kevin Oberman, Network Engineer
Energy Sciences Network (ESnet)
Ernest O. Lawrence Berkeley National Laboratory (Berkeley Lab)
E-mail:			Phone: +1 510 486-8634
Key fingerprint:059B 2DDF 031C 9BA3 14A4  EADA 927D EBB3 987B 3751

Content-Type: application/pgp-signature

Version: GnuPG v1.4.5 (FreeBSD)
Comment: Exmh version 2.5 06/03/2002



Want to link to this message? Use this URL: <>