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/zlib-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-121-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]
> 

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

---------------------------(end of broadcast)---------------------------
TIP 4: Don't 'kill -9' the postmaster

Reply via email to