From: Tom Lane <tgl@sss.pgh.pa.us>
To: P Kapat <kap4lin@gmail.com>
Cc: pgsql-admin@postgresql.org
Subject: Re: adding a user library path..
Date: Mon, 23 Jun 2008 19:53:05 -0400
Message-ID: <4989.1214265185@sss.pgh.pa.us> (raw)
In-Reply-To: <daef5be80806231639k73b6d65bs6aefdd7e8f4708a4@mail.gmail.com>
References: <daef5be80806231639k73b6d65bs6aefdd7e8f4708a4@mail.gmail.com>
"P Kapat" <kap4lin@gmail.com> writes:
> If I understand correctly, the shared libraries for postgis should be
> inside $PKGLIBDIR for the server to see them. Is there any userland
> configuration (like adding $HOME/usr/local/lib to ~/.psqlrc) that will
> solve this?
Do you have superuser privs on the database? If so, you could try
altering the SQL files for postgis etc to reference the shared libraries
where you put them. But that likely won't work if SELinux is enabled
on the system.
If you don't have superuser then you have no hope of installing these
modules without admin intervention, because you can't execute the CREATE
FUNCTION commands, independently of where the shlibs are.
regards, tom lane
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients using the --to and --cc options:
reply via email
To: pgsql-admin@postgresql.org
Cc: tgl@sss.pgh.pa.us, kap4lin@gmail.com
Subject: Re: adding a user library path..
In-Reply-To: <4989.1214265185@sss.pgh.pa.us>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox