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: [EMAIL PROTECTED]                       Phone: +1 510 486-8634
Key fingerprint:059B 2DDF 031C 9BA3 14A4  EADA 927D EBB3 987B 3751

Attachment: pgprVUKjrQe3n.pgp
Description: PGP signature

Reply via email to