Skip site navigation (1) Skip section navigation (2)

Using PL/R with 8.0

From: elein(at)varlena(dot)com (elein)
To: postgresql <pgsql-interfaces(at)postgresql(dot)org>
Cc: Joe Conway <mail(at)joeconway(dot)com>, elein <elein(at)varlena(dot)com>
Subject: Using PL/R with 8.0
Date: 2005-03-09 03:36:14
Message-ID: 20050309033614.GR5165@varlena.com (view raw or flat)
Thread:
Lists: pgsql-interfaces
I'm trying to get plr up and running on an 8.0.1
pg installation.  I'm running Debian unstable.

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've (re)built plr.

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

Please tell me that there is something stupid
and obvious that I've forgotten to set? 
(And what that thing is :)

--elein
elein(at)varlena(dot)com

Responses

pgsql-interfaces by date

Next:From: eleinDate: 2005-03-09 03:37:51
Subject: Re: Using PL/R with 8.0
Previous:From: Jim ButtafuocoDate: 2005-03-08 23:27:06
Subject: Re: Question about accessing current row data inside trigger

Privacy Policy | About PostgreSQL
Copyright © 1996-2014 The PostgreSQL Global Development Group