From: Joe Conway <mail@joeconway.com>
To: elein <elein@varlena.com>
Cc: postgresql <pgsql-interfaces@postgresql.org>
Subject: Re: Using PL/R with 8.0
Date: Thu, 10 Mar 2005 00:27:59 -0800
Message-ID: <4230050F.4000206@joeconway.com> (raw)
In-Reply-To: <20050309033614.GR5165@varlena.com>
References: <20050309033614.GR5165@varlena.com>
elein wrote:
> I have R_HOME as /usr/lib/R
> libR.so is in /usr/lib/R/lib/libR.so
> and has rw-r--r-- permissions.
>
> /u/local/pgsql80/lib/plr.so is rwxr-xr-x.
>
> I've (re)built pg --with-plr and --with-libs=/usr/lib/R/ (just in case)
I doubt this does anything useful at best. Postgres has no builtin
support for PL/R.
>
> When I load plr.sql it complains:
> ERROR: could not load library "/u/local/pgsql80/lib/plr.so": libR.so: cannot open shared object file: No such file or directory
Try either:
export LD_LIBRARY_PATH=/usr/lib/R/lib:$LD_LIBRARY_PATH
as the postgres user (or whatever user owns the cluster)
or edit /etc/ld.so.conf, add /usr/lib/R/lib, run ldconfig.
Joe
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-interfaces@postgresql.org
Cc: mail@joeconway.com, elein@varlena.com
Subject: Re: Using PL/R with 8.0
In-Reply-To: <4230050F.4000206@joeconway.com>
* 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