public inbox for [email protected]
help / color / mirror / Atom feedFrom: Robert Treat <[email protected]>
To: Martin Münstermann <[email protected]>
Cc: [email protected]
Subject: Re: 8.0.0beta1: -lpthread missing
Date: Tue, 10 Aug 2004 14:53:36 -0400
Message-ID: <[email protected]> (raw)
In-Reply-To: <[email protected]>
References: <[email protected]>
On Tuesday 10 August 2004 05:14, Martin Münstermann wrote:
> 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).
>
Can you take a look at the thread below and report back if that fixes your
problem? http://archives.postgresql.org/pgsql-hackers/2004-08/msg00525.php
--
Robert Treat
Build A Better Lamp :: Linux Apache {middleware} PostgreSQL
view thread (20+ messages) latest in thread
reply
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients using the --to and --cc options:
reply via email
To: [email protected]
Cc: [email protected], [email protected], [email protected]
Subject: Re: 8.0.0beta1: -lpthread missing
In-Reply-To: <[email protected]>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by agora; see mirroring instructions
for how to clone and mirror all data and code used for this inbox