pg.ddx.io  pgsql-ports@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Tom Lane <tgl@sss.pgh.pa.us>
To: Peter Eisentraut <peter_e@gmx.net>
Cc: Martijn van Oosterhout <kleptog@svana.org>
Cc: Seneca Cunningham <scunning@ca.afilias.info>
Cc: Chris Browne <cbbrowne@acm.org>
Cc: pgsql-hackers@postgresql.org
Subject: Re: [PORTS] Failed install - libgen.so doesn't exist
Date: Tue, 07 Feb 2006 12:34:27 -0500
Message-ID: <26975.1139333667@sss.pgh.pa.us> (raw)
In-Reply-To: <43E8B706.4060008@ca.afilias.info>
References: <200602011613.k11GD9S16723@candle.pha.pa.us>
	<1208.1138811351@sss.pgh.pa.us>
	<200602040154.52340.peter_e@gmx.net>
	<20060204105921.GA17045@svana.org>
	<60r76gi2l4.fsf@dba2.int.libertyrms.com>
	<20060207052814.GA19240@svana.org>
	<43E8B706.4060008@ca.afilias.info>

> Martijn van Oosterhout wrote:
>> That's kinda the point of these discussions, to answer the question:
>> what is in those libraries we need? Which symbol did we want? Rather
>> than trying to detect versions, is there some change in the library
>> (added or removed symbol) that we can base our decision on?

I finally got around to investigating this on HPUX, which has three of
the libraries we are wondering about: libPW, libBSD, libld.

libPW includes nothing we need.  It contains alloca(), which I think we
once used, but not anymore.

libBSD includes a 4.2BSD-compatible version of signal(), which we aren't
invoking anymore because we HAVE_POSIX_SIGNALS on this platform.  The
HPUX man page deprecates the use of this library altogether.

libld includes a bunch of functions that have no man pages, but look
like they are intended to manipulate .a-style libraries: ldopen,
ldnextofile, etc.  The only references I can find to them in our
source code are in backend/port/dynloader/aix.c.

I recommend we remove libPW and libBSD from configure's list, and
modify the libld entry to probe for "ldopen".  I've confirmed we
build and pass regression on HPUX without these.

Also, since libgen is the thing that started this thread, why don't we
remove that too and see what happens?

			regards, tom lane



view thread (25+ messages)

Message-ID: <26975.1139333667@sss.pgh.pa.us>
Permalink:  ../26975.1139333667@sss.pgh.pa.us/
Also on:    postgresql.org/message-id/26975.1139333667@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 from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-ports@postgresql.org
  Cc: tgl@sss.pgh.pa.us, peter_e@gmx.net, kleptog@svana.org, scunning@ca.afilias.info, cbbrowne@acm.org, pgsql-hackers@postgresql.org
  Subject: Re: [PORTS] Failed install - libgen.so doesn't exist
  In-Reply-To: <26975.1139333667@sss.pgh.pa.us>
  References: <200602011613.k11GD9S16723@candle.pha.pa.us> <1208.1138811351@sss.pgh.pa.us> <200602040154.52340.peter_e@gmx.net> <20060204105921.GA17045@svana.org> <60r76gi2l4.fsf@dba2.int.libertyrms.com> <20060207052814.GA19240@svana.org> <43E8B706.4060008@ca.afilias.info> <26975.1139333667@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