Re: $libdir and 8.0 - Mailing list pgsql-hackers

From Devrim GUNDUZ
Subject Re: $libdir and 8.0
Date
Msg-id Pine.LNX.4.44.0408190704300.1708-100000@emo.org.tr
Whole thread Raw
In response to $libdir and 8.0  (Paul Ramsey <pramsey@refractions.net>)
Responses Re: $libdir and 8.0
List 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



pgsql-hackers by date:

Previous
From: Paul Ramsey
Date:
Subject: $libdir and 8.0
Next
From: Christopher Kings-Lynne
Date:
Subject: Re: contrib/earthdistance is empty in 7.3.7