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

Поиск
Список
Период
Сортировка
От Martijn van Oosterhout
Тема Re: [PORTS] Failed install - libgen.so doesn't exist
Дата
Msg-id 20060207170722.GD19240@svana.org
обсуждение исходный текст
Ответ на Re: [PORTS] Failed install - libgen.so doesn't exist  (Seneca Cunningham <scunning@ca.afilias.info>)
Список 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 по дате отправления:

Предыдущее
От: Andrew Rawnsley
Дата:
Сообщение: Re: streamlined standby procedure
Следующее
От: Csaba Nagy
Дата:
Сообщение: Re: streamlined standby procedure