Re: BUG #9545: Unable install postgres on AIX 5.3

From: Bruce Momjian <bruce(at)momjian(dot)us>
To: prasanna(at)semantifi(dot)com
Cc: pgsql-bugs(at)postgresql(dot)org
Subject: Re: BUG #9545: Unable install postgres on AIX 5.3
Date: 2014-03-20 04:29:43
Message-ID: 20140320042943.GB7711@momjian.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-bugs

On Wed, Mar 12, 2014 at 01:28:58PM +0000, prasanna(at)semantifi(dot)com wrote:
> The following bug has been logged on the website:
>
> Bug reference: 9545
> Logged by: Prasanna kumar kuppa
> Email address: prasanna(at)semantifi(dot)com
> PostgreSQL version: 9.2.7
> Operating system: AIX 5.3
> Description:
>
> 1)I have downloaded the PostgreSQL from following location
> ftp://ftp.postgresql.org/pub/source/v9.2.7/postgresql-9.2.7.tar.gz
>
> 2)After downloading i have used the following to command to configure:
> ./configure --prefix=/apps/Semantifi/postgres
>
> 3)During this process i am getting the following error message:
> "configure: error: thread test program failed
> This platform is not thread-safe. Check the file 'config.log' or compile
> and run src/test/thread/thread_test for the exact reason.". I can't disable
> the thread safety for PostgreSQL.
>
> Can you please suggest the solution for this problem.

I suggest you run the thread_test program and tell us what it says.
Looking at the _huge_ config.log file you posted, it seems the thread
libraries are not being found:

configure:29440: gcc -o conftest -O2 -Wall -Wmissing-prototypes
-Wpointer-arith -Wdeclaration-after-statement -Wendif-labels
-Wmissing-format-attribute -Wformat-security -fno-strict-aliasing -fwrapv
-D_REENTRANT -D_THREAD_SAFE -D_POSIX_PTHREAD_SEMANTICS -DIN_CONFIGURE
conftest.c -lz -lreadline -lld -lm >&5
ld: 0711-224 WARNING: Duplicate symbol: .bcopy
ld: 0711-224 WARNING: Duplicate symbol: .memmove
ld: 0711-345 Use the -bloadmap or -bnoquiet option to obtain more
information.
ld: 0711-317 ERROR: Undefined symbol: .pthread_mutex_lock
ld: 0711-317 ERROR: Undefined symbol: .pthread_create
ld: 0711-317 ERROR: Undefined symbol: .pthread_mutex_unlock
ld: 0711-317 ERROR: Undefined symbol: .pthread_join
collect2: ld returned 8 exit status
configure:29444: $? = 1

--
Bruce Momjian <bruce(at)momjian(dot)us> http://momjian.us
EnterpriseDB http://enterprisedb.com

+ Everyone has their own god. +

In response to

Browse pgsql-bugs by date

  From Date Subject
Next Message Marko Tiikkaja 2014-03-20 08:08:48 Re: BUG #8870: PL/PgSQL, SELECT .. INTO and the number of result columns
Previous Message Peter Eisentraut 2014-03-20 01:41:06 Re: BUG #8467: Slightly confusing pgcrypto example in docs