-lpthread problem?

Anthony Green green@redhat.com
Sat Jan 4 15:44:00 GMT 2003


I have a gcj-based application on Linux which links in a number of
third-party shared libraries, all created with libtool.  One of these
libraries was itself linked with -lpthread.

I have discovered that my application hangs while getting a stack trace
unless I remove the -lpthread from the link line of the library I link
into my application.

I think this would really baffle a casual user.  Any suggestions on how
to make it a little more friendly?  

AG






More information about the Java mailing list