pg.ddx.io  pgsql-admin@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Tom Lane <tgl@sss.pgh.pa.us>
To: newtoolbox@yahoo.com
Cc: pgsql-admin@postgresql.org
Subject: Re: make hangs on Solaris 2.6
Date: Sun, 25 May 2008 17:30:20 -0400
Message-ID: <2144.1211751020@sss.pgh.pa.us> (raw)
In-Reply-To: <987042.54480.qm@web51606.mail.re2.yahoo.com>
References: <987042.54480.qm@web51606.mail.re2.yahoo.com>

Ganimede <newtoolbox@yahoo.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



view thread (2+ messages)

Message-ID: <2144.1211751020@sss.pgh.pa.us>
Permalink:  ../2144.1211751020@sss.pgh.pa.us/
Also on:    postgresql.org/message-id/2144.1211751020@sss.pgh.pa.us

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients using the --to and --cc options:
  reply via email

  To: pgsql-admin@postgresql.org
  Cc: tgl@sss.pgh.pa.us, newtoolbox@yahoo.com
  Subject: Re: make hangs on Solaris 2.6
  In-Reply-To: <2144.1211751020@sss.pgh.pa.us>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox