Re: $libdir and 8.0

From: Devrim GUNDUZ <devrim(at)gunduz(dot)org>
To: Paul Ramsey <pramsey(at)refractions(dot)net>
Cc: PostgreSQL-development <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: $libdir and 8.0
Date: 2004-08-19 04:05:10
Message-ID: Pine.LNX.4.44.0408190704300.1708-100000@emo.org.tr
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers


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.

Regards,
--
Devrim GUNDUZ
devrim~gunduz.org devrim.gunduz~linux.org.tr
http://www.tdmsoft.com
http://www.gunduz.org

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Christopher Kings-Lynne 2004-08-19 04:08:38 Re: contrib/earthdistance is empty in 7.3.7
Previous Message Devrim GUNDUZ 2004-08-19 03:57:01 contrib/earthdistance is empty in 7.3.7