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

From: Martijn van Oosterhout <kleptog(at)svana(dot)org>
To: Seneca Cunningham <scunning(at)ca(dot)afilias(dot)info>
Cc: 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:07:22
Message-ID: 20060207170722.GD19240@svana.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers pgsql-ports

On Tue, Feb 07, 2006 at 10:04:38AM -0500, Seneca Cunningham wrote:
> libld.a does not provide dlopen(), libdl.a does. libld.a provides
> functions like ldopen() needed by src/backend/port/dynloader/aix.c for
> the dl*() substitutes built on AIX versions that lack dlopen and
> libdl.a, which appears to be versions prior to 4.3.

Right, so the configure test should be (sample):

if ! HAVE_DLOPEN then
AC_CHECK_LIB(ld, load)
fi

So it only tries to look for -lld if it can't find dlopen elsewhere...

Have a nice day,
--
Martijn van Oosterhout <kleptog(at)svana(dot)org> http://svana.org/kleptog/
> Patent. n. Genius is 5% inspiration and 95% perspiration. A patent is a
> tool for doing 5% of the work and then sitting around waiting for someone
> else to do the other 95% so you can sue them.

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message Csaba Nagy 2006-02-07 17:17:02 Re: streamlined standby procedure
Previous Message lrotger 2006-02-07 16:51:48 Re: Actual expression of a constraint

Browse pgsql-ports by date

  From Date Subject
Next Message Tom Lane 2006-02-07 17:34:27 Re: [PORTS] Failed install - libgen.so doesn't exist
Previous Message Seneca Cunningham 2006-02-07 15:04:38 Re: [PORTS] Failed install - libgen.so doesn't exist