X-Original-To: pgsql-bugs-postgresql.org@localhost.postgresql.org Received: from localhost (unknown [200.46.204.144]) by svr1.postgresql.org (Postfix) with ESMTP id 8275714B281D for ; Tue, 10 Aug 2004 06:15:10 -0300 (ADT) Received: from svr1.postgresql.org ([200.46.204.71]) by localhost (av.hub.org [200.46.204.144]) (amavisd-new, port 10024) with ESMTP id 97101-09 for ; Tue, 10 Aug 2004 09:15:09 +0000 (GMT) Received: from mail2.trustcenter.de (mail2.trustcenter.de [193.194.157.2]) by svr1.postgresql.org (Postfix) with ESMTP id 6F53D14B281C for ; Tue, 10 Aug 2004 06:15:06 -0300 (ADT) Received: from hermes.trustcenter.de (hermes.trustcenter.de [192.168.202.5]) by mail2.trustcenter.de (8.12.11/8.12.11) with ESMTP id i7A9F7lT010665 for ; Tue, 10 Aug 2004 11:15:07 +0200 (CEST) Received: from [192.168.201.14] (titan.trustcenter.de [192.168.200.244]) by hermes.trustcenter.de (8.12.10/8.12.10/Debian-5) with ESMTP id i7A9F1mX008283 for ; Tue, 10 Aug 2004 11:15:02 +0200 Message-ID: <41189210.4040104@betrusted.com> Date: Tue, 10 Aug 2004 11:14:56 +0200 From: =?ISO-8859-15?Q?Martin_M=FCnstermann?= User-Agent: Mozilla/5.0 (Windows; U; WinNT4.0; en-US; rv:1.7.1) Gecko/20040707 X-Accept-Language: en-us, en, de-de, it MIME-Version: 1.0 To: pgsql-bugs@postgresql.org Subject: 8.0.0beta1: -lpthread missing Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Scanned: by amavisd-new at hub.org X-Spam-Status: No, hits=0.0 tagged_above=0.0 required=5.0 tests= X-Spam-Level: X-Archive-Number: 200408/43 X-Sequence-Number: 8833 System Configuration --------------------- Architecture (example: Intel Pentium) : Intel Pentium Operating System (example: Linux 2.4.18) : Linux 2.4.21-grsec (Debian) PostgreSQL version (example: PostgreSQL-8.0): PostgreSQL-8.0.0-beta1 Compiler used (example: gcc 2.95.2) : 2.95.4 Please enter a FULL description of your problem: ------------------------------------------------ When configuring --enable-thread-safety the binaries cannot be linked: gcc -O2 -fno-strict-aliasing -Wall -Wmissing-prototypes -Wmissing-declarations initdb.o dirmod.o exe c.o -L../../../src/interfaces/libpq -lpq -L../../../src/port -Wl,-rpath,/opt/postgresql-800beta1/li b -lpgport -lz -lreadline -lcrypt -lresolv -lnsl -ldl -lm -o initdb ../../../src/interfaces/libpq/libpq.so: undefined reference to `pthread_getspecific' ../../../src/interfaces/libpq/libpq.so: undefined reference to `pthread_once' ../../../src/interfaces/libpq/libpq.so: undefined reference to `pthread_key_create' ../../../src/interfaces/libpq/libpq.so: undefined reference to `pthread_setspecific' collect2: ld returned 1 exit status Please describe a way to repeat the problem. Please try to provide a concise reproducible example, if at all possible: ---------------------------------------------------------------------- # ./configure --prefix=/opt/postgresql-800beta1 --enable-thread-safety # make If you know how this problem might be fixed, list the solution below: --------------------------------------------------------------------- The binaries must be linked with pthread (-lpthread). Regards, Martin