Installation problem - mutex_lock/unlock or libpq.so ?

Started by Adam Smithalmost 22 years ago2 messagesgeneral
Jump to latest
#1Adam Smith
adamsmith@econ.com

Installation of 7.4.2, even with just ./configure : gmake step ==>
_________________________________________________

gmake[4]: Leaving directory
`/usr/home/smith/Temp_holding/staging-area/postgresql/postgresql-7.4.2/src/backend/parser'

gcc -O2 -fno-strict-aliasing -Wall -Wmissing-prototypes
-Wmissing-declarations pg_dump.o common.o pg_backup_archiver.o

pg_backup_db.o pg_backup_custom.o pg_backup_files.o pg_backup_null.o

pg_backup_tar.o dumputils.o ../../../src/backend/parser/keywords.o
-L../../../src/interfaces/libpq -lpq -L../../../src/port
-L/usr/local/openssl/lib -R/usr/local/pgsql/lib -lpam -lssl -lcrypto -lz
-lreadline -lcrypt -lcompat -lm -lutil -lpgport -o pg_dump

../../../src/interfaces/libpq/libpq.so: undefined reference to
`pthread_mutex_unlock'

../../../src/interfaces/libpq/libpq.so: undefined reference to
`pthread_mutex_lock'

gmake[3]: *** [pg_dump] Error 1

gmake[3]: Leaving directory
`/usr/home/smith/Temp_holding/staging-area/postgresql/postgresql-7.4.2/src/bin/pg_dump'

gmake[2]: *** [all] Error 2

gmake[2]: Leaving directory
`/usr/home/smith/Temp_holding/staging-area/postgresql/postgresql-7.4.2/src/bin'

gmake[1]: *** [all] Error 2

gmake[1]: Leaving directory
`/usr/home/smith/Temp_holding/staging-area/postgresql/postgresql-7.4.2/src'

gmake: *** [all] Error 2
_____________________________

Help needed

Thanks

-- Adam --

#2Adam Smith
adamsmith@econ.com
In reply to: Adam Smith (#1)
Re: Installation problem - mutex_lock/unlock or libpq.so ?

BTW: Forgot to mention FreeBSD 4.9 O?S

Adam Smith wrote:

Show quoted text

Installation of 7.4.2, even with just ./configure : gmake step ==>
_________________________________________________

gmake[4]: Leaving directory
`/usr/home/smith/Temp_holding/staging-area/postgresql/postgresql-7.4.2/src/backend/parser'

gcc -O2 -fno-strict-aliasing -Wall -Wmissing-prototypes
-Wmissing-declarations pg_dump.o common.o pg_backup_archiver.o

pg_backup_db.o pg_backup_custom.o pg_backup_files.o pg_backup_null.o

pg_backup_tar.o dumputils.o ../../../src/backend/parser/keywords.o
-L../../../src/interfaces/libpq -lpq -L../../../src/port
-L/usr/local/openssl/lib -R/usr/local/pgsql/lib -lpam -lssl -lcrypto -lz
-lreadline -lcrypt -lcompat -lm -lutil -lpgport -o pg_dump

../../../src/interfaces/libpq/libpq.so: undefined reference to
`pthread_mutex_unlock'

../../../src/interfaces/libpq/libpq.so: undefined reference to
`pthread_mutex_lock'

gmake[3]: *** [pg_dump] Error 1

gmake[3]: Leaving directory
`/usr/home/smith/Temp_holding/staging-area/postgresql/postgresql-7.4.2/src/bin/pg_dump'

gmake[2]: *** [all] Error 2

gmake[2]: Leaving directory
`/usr/home/smith/Temp_holding/staging-area/postgresql/postgresql-7.4.2/src/bin'

gmake[1]: *** [all] Error 2

gmake[1]: Leaving directory
`/usr/home/smith/Temp_holding/staging-area/postgresql/postgresql-7.4.2/src'

gmake: *** [all] Error 2
_____________________________

Help needed

Thanks

-- Adam --