BUG #2436: cannot --enable-thread-safety on -lpthread host

Поиск
Список
Период
Сортировка
От Paul Forgey
Тема BUG #2436: cannot --enable-thread-safety on -lpthread host
Дата
Msg-id 200605122112.k4CLC3mB014271@wwwmaster.postgresql.org
обсуждение исходный текст
Ответы Re: BUG #2436: cannot --enable-thread-safety on -lpthread host  (Tom Lane <tgl@sss.pgh.pa.us>)
Список pgsql-bugs
The following bug has been logged online:

Bug reference:      2436
Logged by:          Paul Forgey
Email address:      paulf@aphrodite.com
PostgreSQL version: 8.1.3
Operating system:   Debian stable (sarge)
Description:        cannot --enable-thread-safety on -lpthread host
Details:

Linux supplies -lpthread.  The configure script seems to only look for
-lpthreads and then give up.  I'm surprised to not find anything about this
on the mailing list archives.

configure:16421: checking for the pthreads library -lpthreads
configure:16459: gcc -o conftest -O2 -Wall -Wmissing-prototypes
-Wpointer-arith
-Winline -Wendif-labels -fno-strict-aliasing   -D_GNU_SOURCE    conftest.c
-lpth
reads  -lz -lreadline -lcrypt -lresolv -lnsl -ldl -lm  >&5
conftest.c: In function `main':
conftest.c:124: warning: `th' might be used uninitialized in this function
/usr/bin/ld: cannot find -lpthreads
collect2: ld returned 1 exit status
configure:16465: $? = 1

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

Предыдущее
От: "Jason Kankiewicz"
Дата:
Сообщение: BUG #2439: pgAdmin III v1.4.1 fails to compile with GCC 4.1.0
Следующее
От: "Anton Fedorov"
Дата:
Сообщение: BUG #2437: Rules for COPY