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: (view raw, whole thread or download thread mbox)
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/
> h_errno                             ../../src/port/libpgport_srv.a(getaddrinfo_srv.o)  (symbol belongs to implicit dependency /usr/lib/
> inet_ntoa                           ../../src/port/libpgport_srv.a(getaddrinfo_srv.o)  (symbol belongs to implicit dependency /usr/lib/
> ld: fatal: Symbol referencing errors. No output written to postgres

Just guessing, but maybe it will help to add -lnsl to LIBS (in
src/ 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-2017 The PostgreSQL Global Development Group