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

Re: make hangs on Solaris 2.6

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 (view raw or flat)
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

In response to

pgsql-admin by date

Next:From: Tom LaneDate: 2008-05-25 23:38:10
Subject: Re: v8.2.6->8.2.7 upgrade renamed /var/lib/pgsql
Previous:From: GanimedeDate: 2008-05-25 20:38:59
Subject: make hangs on Solaris 2.6

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