Skip site navigation (1) Skip section navigation (2)

Re: Problem compiling postgresql 7.3b2

From: Peter Eisentraut <peter_e(at)gmx(dot)net>
To: Pierre <pierre(at)epinetworx(dot)com>
Cc: pgsql-bugs(at)postgresql(dot)org
Subject: Re: Problem compiling postgresql 7.3b2
Date: 2002-10-07 19:23:51
Message-ID: Pine.LNX.4.44.0210072049270.928-100000@localhost.localdomain (view raw or flat)
Thread:
Lists: pgsql-bugs
Where did the file /usr/local/lib/libbind.a come from?  Who installed it
and what's in it?  And can you show us the config.log file?

Pierre writes:

> I try to compile postgresql-7.3b2 on my GNU/Linux system with gcc-3.2
> There was no problem with the configure but for the make i got this :
>
> [...]
> gmake[3]: Leaving directory `/tmp/postgresql-7.3b2/src/backend/utils'
> gcc -O3 -march=i686 -Wall -Wmissing-prototypes -Wmissing-declarations
> -L/usr/local/ssl/lib -Wl,-rpath,/usr/local/pgsql/lib -export-dynamic
> access/SUBSYS.o bootstrap/SUBSYS.o catalog/SUBSYS.o parser/SUBSYS.o
> commands/SUBSYS.o executor/SUBSYS.o lib/SUBSYS.o libpq/SUBSYS.o
> main/SUBSYS.o nodes/SUBSYS.o optimizer/SUBSYS.o port/SUBSYS.o
> postmaster/SUBSYS.o regex/SUBSYS.o rewrite/SUBSYS.o storage/SUBSYS.o
> tcop/SUBSYS.o utils/SUBSYS.o -lpam -lssl -lcrypto -lkrb5 -lz -lreadline
> -ltermcap -lbind -lcrypt -lresolv -lnsl -ldl -lm  -o postgres
> /usr/local/lib/gcc-lib/i686-pc-linux-gnu/3.2/../../../libbind.a(irs_data.o):
> In function `__net_data_init':
> irs_data.o(.text+0x1ab): undefined reference to `pthread_getspecific'
> irs_data.o(.text+0x1de): undefined reference to `pthread_setspecific'
> irs_data.o(.text+0x21c): undefined reference to `pthread_key_create'
> /usr/local/lib/gcc-lib/i686-pc-linux-gnu/3.2/../../../libbind.a(irs_data.o):
> In function `__res_state':
> irs_data.o(.text+0x26b): undefined reference to `pthread_getspecific'
> irs_data.o(.text+0x2af): undefined reference to `pthread_setspecific'
> irs_data.o(.text+0x2ed): undefined reference to `pthread_key_create'
> /usr/local/lib/gcc-lib/i686-pc-linux-gnu/3.2/../../../libbind.a(irs_data.o):
> In function `__h_errno':
> irs_data.o(.text+0x31b): undefined reference to `pthread_getspecific'
> irs_data.o(.text+0x368): undefined reference to `pthread_setspecific'
> irs_data.o(.text+0x3ab): undefined reference to `pthread_key_create'
> collect2: ld returned 1 exit status
> gmake[2]: *** [postgres] Error 1
> gmake[2]: Leaving directory `/tmp/postgresql-7.3b2/src/backend'
> gmake[1]: *** [all] Error 2
> gmake[1]: Leaving directory `/tmp/postgresql-7.3b2/src'
> gmake: *** [all] Error 2
>
>
>
>
> It would be great if you could help me with this !
>
> Best regards,
>
> Pierre.
>

-- 
Peter Eisentraut   peter_e(at)gmx(dot)net



In response to

Responses

pgsql-bugs by date

Next:From: Christopher SwanDate: 2002-10-07 22:58:16
Subject: Bug in date/time input format
Previous:From: Peter EisentrautDate: 2002-10-07 19:23:42
Subject: Re: unable to build on openbsd-sparc

Privacy Policy | About PostgreSQL
Copyright © 1996-2014 The PostgreSQL Global Development Group