Re: $libdir and 8.0

Поиск
Список
Период
Сортировка
От Bruce Momjian
Тема Re: $libdir and 8.0
Дата
Msg-id 200408190412.i7J4C3j19028@candle.pha.pa.us
обсуждение исходный текст
Ответ на Re: $libdir and 8.0  (Devrim GUNDUZ <devrim@gunduz.org>)
Ответы Re: $libdir and 8.0  (Paul Ramsey <pramsey@refractions.net>)
Re: $libdir and 8.0  (Paul Ramsey <pramsey@refractions.net>)
Список pgsql-hackers
Devrim GUNDUZ wrote:
> 
> Hi,
> 
> On Wed, 18 Aug 2004, Paul Ramsey wrote:
> 
> > When installing PgSQL into a non-standard location (like /opt/foo) the 
> > configure script decides to install all the contrib libraries and 
> > plpglsq into /opt/foo/lib/postgresql.  This would be fine, except that 
> > backend does not recognize this directory as a place to be searched for 
> > $libdir (perhaps it is referencing the $libdir macro instead of the 
> > $pkglibdir macro?).  So tools like 'createlang' fail, and loading .sql 
> > files that reference things like $libdir/libfoo.so also fail.
> 
> I'm not sure but if you add /opt/foo/lib/postgresql to /etc/ld.so.conf and 
> run ldconfig, it might work.

I checked in the code and $libdir should expand to $(pkglibdir) as
determined by configure.  What value to you show for that in
your Makefile.global?

--  Bruce Momjian                        |  http://candle.pha.pa.us pgman@candle.pha.pa.us               |  (610)
359-1001+  If your life is a hard drive,     |  13 Roberts Road +  Christ can be your backup.        |  Newtown Square,
Pennsylvania19073
 


В списке pgsql-hackers по дате отправления:

Предыдущее
От: Christopher Kings-Lynne
Дата:
Сообщение: Re: contrib/earthdistance is empty in 7.3.7
Следующее
От: Andrej Czapszys
Дата:
Сообщение: Re: PGPASSWORD and client tools