Thread Safety problem on Solaris 10

Поиск
Список
Период
Сортировка
От Paul Mackay
Тема Thread Safety problem on Solaris 10
Дата
Msg-id 786c2f6d0602010411h4ab80223x84b53123cf4353f5@mail.gmail.com
обсуждение исходный текст
Ответы Re: Thread Safety problem on Solaris 10  (Bruce Momjian <pgman@candle.pha.pa.us>)
Список 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@SUNW_0.9'
../../../src/interfaces/libpq/libpq.so: undefined reference to `fcntl@SUNW_0.9'
../../../src/interfaces/libpq/libpq.so: undefined reference to `pthread_sigmask@SUNW_0.9'
../../../src/interfaces/libpq/libpq.so: undefined reference to `close@SUNW_0.9'
../../../src/interfaces/libpq/libpq.so: undefined reference to `read@SUNW_0.9'
../../../src/interfaces/libpq/libpq.so: undefined reference to `poll@SUNW_1.2'
../../../src/interfaces/libpq/libpq.so: undefined reference to `sigaction@SUNW_0.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

В списке pgsql-ports по дате отправления:

Предыдущее
От: Tom Lane
Дата:
Сообщение: Re: Failed install - libgen.so doesn't exist
Следующее
От: Bruce Momjian
Дата:
Сообщение: Re: Thread Safety problem on Solaris 10