Re: AIX and V8 beta 3

From: Darcy Buskermolen <darcy(at)wavefire(dot)com>
To: Bruce Momjian <pgman(at)candle(dot)pha(dot)pa(dot)us>
Cc: Brad Nicholson <bnichols(at)ca(dot)afilias(dot)info>, pgsql-hackers(at)postgresql(dot)org
Subject: Re: AIX and V8 beta 3
Date: 2004-10-01 18:52:58
Message-ID: 200410011152.58866.darcy@wavefire.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

On September 30, 2004 05:55 pm, Bruce Momjian wrote:

To me it looks like all you need to do is add -pthreads or maybe -lpthreads
depending on exact system to your compile line..

> Have you tried using cc_r for that compile line? Does that help?
>
> ---------------------------------------------------------------------------
>
> Brad Nicholson wrote:
> > Tried to install this on AIX 5.1, no luck (compiles fine without
> > --enable-thread-safety though) .
> >
> > AIX 5.1
> > gcc 3.3.2
> >
> > ./configure --prefix=/opt/dbs/pgsql800b3-AIX51-2004-09-30
> > --with-includes=/opt/dbs/readline-5-AIX51-2004-09-29/include:/opt/dbs/zli
> >b-121-AIX51-2004-09-29/include:/opt/dbs/gdb-621-AIX51-2004-09-30/include
> > --enable-debug --enable-thread-safety
> > -with-libraries=/opt/dbs/readline-5-AIX51-2004-09-29/lib:/opt/dbs/zlib-12
> >1-AIX51-2004-09-29/lib:/opt/dbs/gdb-621-AIX51-2004-09-30/lib
> >
> > During the make:
> >
> > gcc -O2 -fno-strict-aliasing -g -Wall -Wmissing-prototypes
> > -Wmissing-declarations pg_ctl.o exec.o -L../../../src/interfaces/libpq
> > -lpq -L../../../src/port -L/opt/dbs/readline-5-AIX51-2004-09-29/lib
> > -L/opt/dbs/zlib-121-AIX51-2004-09-29/lib
> > -L/opt/dbs/gdb-621-AIX51-2004-09-30/lib -lpgport -lz -lreadline
> > -lcurses -lPW -lld -lnsl -ldl -lm -o pg_ctl
> > ld: 0711-317 ERROR: Undefined symbol: .pthread_setspecific
> > ld: 0711-317 ERROR: Undefined symbol: .pthread_key_create
> > ld: 0711-317 ERROR: Undefined symbol: .pthread_getspecific
> > ld: 0711-317 ERROR: Undefined symbol: .pthread_once
> > ld: 0711-317 ERROR: Undefined symbol: .pthread_mutex_lock
> > ld: 0711-317 ERROR: Undefined symbol: .pthread_mutex_unlock
> > ld: 0711-345 Use the -bloadmap or -bnoquiet option to obtain more
> > information.
> > collect2: ld returned 8 exit status
> > make[3]: *** [pg_ctl] Error 1
> >
> >
> > Brad.
> >
> > ---------------------------(end of broadcast)---------------------------
> > TIP 1: subscribe and unsubscribe commands go to majordomo(at)postgresql(dot)org

--
Darcy Buskermolen
Wavefire Technologies Corp.
ph: 250.717.0200
fx: 250.763.1759
http://www.wavefire.com

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Tom Lane 2004-10-01 19:09:12 Re: Handling of mutable functions in subqueries?
Previous Message Tom Lane 2004-10-01 18:49:34 Re: [SQL] date_trunc'd timestamp index possible?