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.