[Date Prev][Date Next] [Chronological] [Thread] [Top]

Re: link with pthread flags when checking for Berkeley DB thread support (ITS#2209)



I've actually committed a fix for this in HEAD... actually, I
reworked much of the thread related detection.  The argument
for doing is "static linking should work" and it won't work
if the LTHREAD_LIBS is not included.

At 11:02 AM 2002-12-06, china@thewrittenword.com wrote:
>On Thu, Dec 05, 2002 at 06:42:53PM -0600, china wrote:
>> On Wed, Dec 04, 2002 at 12:50:10AM +0000, Howard Chu wrote:
>> > I haven't looked closely at this, but I'd say the more correct
>> > solution is to fix your BerkeleyDB shared library. It ought to be
>> > linked with any libraries it depends on and pull them in implicitly.
>> 
>> You're right. Please close.
>
>BTW, this cannot be done on platforms like HP-UX which don't allow
>shl_load()'ing of a shared library with thread-local storage.
>
>-- 
>albert chin (china@thewrittenword.com)