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@gmx.net