From: Bruce Momjian on
Peter Eisentraut wrote:
> On ons, 2009-12-30 at 12:55 -0500, Greg Smith wrote:
> > Basically, configure failed on their OpenBSD system because thread
> > safety is on but the libxml2 wasn't compiled with threaded support:
> > http://xmlsoft.org/threads.html
> >
> > Disabling either feature (no --with-libxml or --disable-thread-safety)
> > gives a working build.
>
> This could perhaps be fixed by excluding libxml when running the thread
> test. The thread result is only used in the client libraries and libxml
> is only used in the backend, so those two shouldn't meet each other in
> practice.

The attached patch removes "-lxml2" from the link line of the thread
test program. Comments? Can anyone test this fixes the OpenBSD
problem?

--
Bruce Momjian <bruce(a)momjian.us> http://momjian.us
EnterpriseDB http://enterprisedb.com

+ If your life is a hard drive, Christ can be your backup. +