On Thu, 11 Sep 2008, Barry Andrews wrote:

Hi All,

I have a multi-threaded library that is linked against libpthread. When I
load this lib into a tclsh process on FreeBSD, I get this error, "Recurse on
private mutex". and crash. I understand that I can have this issue when the
executable is not linked against libpthread but one of the loaded libs is.
Basically, it thinks it's in single threaded mode.

This must be an older version of FreeBSD.  I think you must
link your application (tclsh or whatever) against libpthread
in order for this to work.  The libc functions won't get properly
overloaded by their equivalents in libpthread unless you do
this.

--
DE
_______________________________________________
freebsd-hackers@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-hackers
To unsubscribe, send any mail to "[EMAIL PROTECTED]"

Reply via email to