Re: Freebsd410 and postgresql803: src/port compile error - Mailing list pgsql-bugs

From Jim C. Nasby
Subject Re: Freebsd410 and postgresql803: src/port compile error
Date
Msg-id 20050814193841.GA42420@pervasive.com
Whole thread Raw
In response to Freebsd410 and postgresql803: src/port compile error  (rmkml <rmkml@free.fr>)
Responses Re: Freebsd410 and postgresql803: src/port compile error  (Bruce Momjian <pgman@candle.pha.pa.us>)
List pgsql-bugs
I believe that thread safety isn't supported on *BSD. I know that
there's issues with building in python support if python was compiled
with threads enabled.

On Fri, Aug 05, 2005 at 02:47:27PM +0200, rmkml wrote:
> Hi,
>
> I have an error when postgresql 803 compile with flag :
>
> ./configure --prefix=/usr/local/postgres --enable-thread-safety
>
> ...
> gmake[4]: Leaving directory `/var/tmp/postgresql-8.0.3/src/port'
> gcc -O2 -Wall -Wmissing-prototypes -Wpointer-arith -fno-strict-aliasing
> initdb.o  -L../../../src/port -lpgport -L../../../src/interfaces/libpq
> -lpq -L../../../src/port  -Wl,-R/usr/local/postgres/lib -lpgport -lz
> -lreadline -lcrypt -lcompat -lm -lutil  -o initdb
> ../../../src/interfaces/libpq/libpq.so: undefined reference to
> `pthread_sigmask'
> ../../../src/interfaces/libpq/libpq.so: undefined reference to
> `pthread_mutex_unlock'
> ../../../src/interfaces/libpq/libpq.so: undefined reference to
> `pthread_mutex_lock'
> ...
>
> Possible help me ?
>
> Regards
> Rmkml
>
> ---------------------------(end of broadcast)---------------------------
> TIP 2: Don't 'kill -9' the postmaster
>

--
Jim C. Nasby, Sr. Engineer                    jnasby@pervasive.com
Pervasive Software        http://pervasive.com        512-569-9461

pgsql-bugs by date:

Previous
From: Alvaro Herrera
Date:
Subject: Re: BUG #1825: installation problems
Next
From: Bruce Momjian
Date:
Subject: Re: Freebsd410 and postgresql803: src/port compile error