From: | Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us> |
---|---|
To: | newtoolbox(at)yahoo(dot)com |
Cc: | pgsql-admin(at)postgresql(dot)org |
Subject: | Re: make hangs on Solaris 2.6 |
Date: | 2008-05-25 21:30:20 |
Message-ID: | 2144.1211751020@sss.pgh.pa.us |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-admin |
Ganimede <newtoolbox(at)yahoo(dot)com> writes:
> 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
From | Date | Subject | |
---|---|---|---|
Next Message | Tom Lane | 2008-05-25 23:38:10 | Re: v8.2.6->8.2.7 upgrade renamed /var/lib/pgsql |
Previous Message | Ganimede | 2008-05-25 20:38:59 | make hangs on Solaris 2.6 |