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 [EMAIL PROTECTED] -- Darcy Buskermolen Wavefire Technologies Corp. ph: 250.717.0200 fx: 250.763.1759 http://www.wavefire.com ---------------------------(end of broadcast)--------------------------- TIP 1: subscribe and unsubscribe commands go to [EMAIL PROTECTED]