Skip site navigation (1) Skip section navigation (2)

Thread Safety problem on Solaris 10

From: Paul Mackay <mackaypaul(at)gmail(dot)com>
To: pgsql-ports(at)postgresql(dot)org
Subject: Thread Safety problem on Solaris 10
Date: 2006-02-01 12:11:45
Message-ID: 786c2f6d0602010411h4ab80223x84b53123cf4353f5@mail.gmail.com (view raw or flat)
Thread:
Lists: pgsql-ports
Hi,

I'm tring to compile PG 8.1.2 with the option --enable-thread-safety on
Solaris 10 (with AMD64 opteron).

The gmake fails, ending with this output :

gcc -O2 -Wall -Wmissing-prototypes -Wpointer-arith -Winline
-Wdeclaration-after-statement -Wendif-labels -fno-strict-aliasing initdb.o
-L../../../src/port -lpgport -L../../../src/interfaces/libpq -lpq
-L../../../src/port -L/opt/sfw/lib -Wl,-rpath,/usr/local/pgsql/lib -lpgport
-lz -lreadline -ltermcap -lrt -lresolv -lgen -lsocket -lnsl -ldl -lm  -o
initdb
../../../src/interfaces/libpq/libpq.so: undefined reference to
`write(at)SUNW_0(dot)9'
../../../src/interfaces/libpq/libpq.so: undefined reference to
`fcntl(at)SUNW_0(dot)9'
../../../src/interfaces/libpq/libpq.so: undefined reference to
`pthread_sigmask(at)SUNW_0(dot)9'
../../../src/interfaces/libpq/libpq.so: undefined reference to
`close(at)SUNW_0(dot)9'
../../../src/interfaces/libpq/libpq.so: undefined reference to
`read(at)SUNW_0(dot)9'
../../../src/interfaces/libpq/libpq.so: undefined reference to
`poll(at)SUNW_1(dot)2'
../../../src/interfaces/libpq/libpq.so: undefined reference to
`sigaction(at)SUNW_0(dot)9'
collect2: ld returned 1 exit status
gmake[3]: *** [initdb] Error 1
gmake[3]: Leaving directory `/export/home0/postgres/pg_install/postgresql-
8.1.2/src/bin/initdb'
gmake[2]: *** [all] Error 2
gmake[2]: Leaving directory `/export/home0/postgres/pg_install/postgresql-
8.1.2/src/bin'
gmake[1]: *** [all] Error 2
gmake[1]: Leaving directory `/export/home0/postgres/pg_install/postgresql-
8.1.2/src'
gmake: *** [all] Error 2



Help would be appreciated.

Thanks,
Paul

Responses

pgsql-ports by date

Next:From: Bruce MomjianDate: 2006-02-01 12:49:18
Subject: Re: Thread Safety problem on Solaris 10
Previous:From: Poul JensenDate: 2006-01-30 06:12:06
Subject: Re: Failed install - libgen.so doesn't exist

Privacy Policy | About PostgreSQL
Copyright © 1996-2014 The PostgreSQL Global Development Group