> few weeks ago I compiled PostgreSQL 8.3.1 on Solaris SPARC 9 without errors or problems. Today I would like to compile it on my old Sparis SPARC 2.6 box, so I've download new gnu software.
2.6? How old is that?
> Undefined first referenced
> symbol in file
> gethostbyname ../../src/port/libpgport_srv.a(getaddrinfo_srv.o) (symbol belongs to implicit dependency /usr/lib/libnsl.so.1)
> h_errno ../../src/port/libpgport_srv.a(getaddrinfo_srv.o) (symbol belongs to implicit dependency /usr/lib/libnsl.so.1)
> inet_ntoa ../../src/port/libpgport_srv.a(getaddrinfo_srv.o) (symbol belongs to implicit dependency /usr/lib/libnsl.so.1)
> ld: fatal: Symbol referencing errors. No output written to postgres
Just guessing, but maybe it will help to add -lnsl to LIBS (in
src/Makefile.global) after running configure.
regards, tom lane
--
Sent via pgsql-admin mailing list (pgsql-admin@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-admin
No comments:
Post a Comment