Re: [PORTS] Failed install - libgen.so doesn't exist - Mailing list pgsql-hackers

From Martijn van Oosterhout
Subject Re: [PORTS] Failed install - libgen.so doesn't exist
Date
Msg-id 20060207170722.GD19240@svana.org
Whole thread Raw
In response to Re: [PORTS] Failed install - libgen.so doesn't exist  (Seneca Cunningham <scunning@ca.afilias.info>)
List pgsql-hackers
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@svana.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.

pgsql-hackers by date:

Previous
From: Andrew Rawnsley
Date:
Subject: Re: streamlined standby procedure
Next
From: Csaba Nagy
Date:
Subject: Re: streamlined standby procedure