Re: Freebsd410 and postgresql803: src/port compile error

From: Bruce Momjian <pgman(at)candle(dot)pha(dot)pa(dot)us>
To: decibel(at)decibel(dot)org
Cc: rmkml <rmkml(at)free(dot)fr>, pgsql-bugs(at)postgresql(dot)org
Subject: Re: Freebsd410 and postgresql803: src/port compile error
Date: 2005-08-15 04:30:42
Message-ID: 200508150430.j7F4Ug629427@candle.pha.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-bugs

Jim C. Nasby wrote:
> 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'

No, I think it should work. If it passes the thread tests in configure,
it should compile. I am unsure why it is failing.

--
Bruce Momjian | http://candle.pha.pa.us
pgman(at)candle(dot)pha(dot)pa(dot)us | (610) 359-1001
+ If your life is a hard drive, | 13 Roberts Road
+ Christ can be your backup. | Newtown Square, Pennsylvania 19073

In response to

Responses

Browse pgsql-bugs by date

  From Date Subject
Next Message William ZHANG 2005-08-15 11:39:42 Re: BUG #1815: ECPGdebug causes crash on Windows XP
Previous Message Jim C. Nasby 2005-08-14 19:38:41 Re: Freebsd410 and postgresql803: src/port compile error