Thread libraries and Perl
oberman at es.net
Thu Sep 28 11:10:00 PDT 2006
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: oberman at es.net Phone: +1 510 486-8634
Key fingerprint:059B 2DDF 031C 9BA3 14A4 EADA 927D EBB3 987B 3751
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Size: 224 bytes
Desc: not available
Url : http://lists.freebsd.org/pipermail/freebsd-questions/attachments/20060928/34995c69/attachment.pgp
More information about the freebsd-questions