Subject: Re: Threading problems
To: Nathan J. Williams <nathanw@wasabisystems.com>
From: D'Arcy J.M. Cain <darcy@NetBSD.org>
List: tech-pkg
Date: 11/23/2004 14:09:06
On 23 Nov 2004 13:11:38 -0500
"Nathan J. Williams" <nathanw@wasabisystems.com> wrote:
> "D'Arcy J.M. Cain" <darcy@NetBSD.org> writes:
> 
> > Not being a kernel hacker myself I am not sure exactly what is
> > happening here but it seems like the app thinks that it is not
> > threaded but the__isthreaded variable says that it is.  I checked
> > and the value is 1 at the sime it crashes.
> 
> This usually happens when a program that isn't linked against
> libpthread dlopen()s a shared object which has a dependancy on
> libpthread.

OK, so all I have to do then is add the following line to
pkgsrc/databases/postgresql74/Makefile.common to fix this?

.include "../../mk/pthread.buildlink3.mk"

I will try that and if it fixes the problem I will commit the change.

> (Not a kernel issue at all, really)

Moving to tech-pkg.

-- 
D'Arcy J.M. Cain <darcy@NetBSD.org>
http://www.NetBSD.org/