Re: [PORTS] Failed install - libgen.so doesn't exist

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: Peter Eisentraut <peter_e(at)gmx(dot)net>
Cc: Martijn van Oosterhout <kleptog(at)svana(dot)org>, Seneca Cunningham <scunning(at)ca(dot)afilias(dot)info>, Chris Browne <cbbrowne(at)acm(dot)org>, pgsql-hackers(at)postgresql(dot)org
Subject: Re: [PORTS] Failed install - libgen.so doesn't exist
Date: 2006-02-07 17:34:27
Message-ID: 26975.1139333667@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers pgsql-ports

> 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

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message Tom Lane 2006-02-07 17:43:14 Re: sql row constructor...works!
Previous Message Josh Berkus 2006-02-07 17:33:57 Re: sql row constructor...works!

Browse pgsql-ports by date

  From Date Subject
Next Message Steve Waltner 2006-02-22 17:25:38 Solaris 9 and PgSQL 8.1.3 - createdb Link Fails
Previous Message Martijn van Oosterhout 2006-02-07 17:07:22 Re: [PORTS] Failed install - libgen.so doesn't exist