Search Postgresql Archives

Re: PLR Help

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

On 05/02/2012 03:01 AM, Daniel Cole wrote:
> I finally got R to make after some help on this list, but now I am

Does this imply you built R from source, or did you actually install R
and R dev from deb packages?

If you built R from source you need to use the correct configure switch
to ensure the dynamic library gets built, because the default is to not
build it.

> *sudo psql -d testdb9 -U testdbuser < plr.sql*
> and I get result at the bottom of this email.

> I believe that it has to do either with not having $R_Home set correctly
> (I can't find must documentation on this) or it has do to with not
> having the libR findable by my runtime linker.  ( I tried adding the
> following to a file that is loaded by /etc/ )  The lines I
> loaded to that file are: 
> /usr/lib/R/bin
> /usr/lib/R/
> /usr/lib/postgresql/9.1/lib/

> ERROR:  could not load library "/usr/lib/postgresql/9.1/lib/":
> cannot open shared object file: No such file or directory

This error is typically because is not being found. I am not in
a position to check at the moment, but I believe current packaged
versions of R place the shared object here:


First, go find Assuming it is in the above location, place
that location in your /etc/ and run ldconfig.



Joe Conway
credativ LLC:
Linux, PostgreSQL, and general Open Source
Training, Service, Consulting, & 24x7 Support

Sent via pgsql-general mailing list (pgsql-general@xxxxxxxxxxxxxx)
To make changes to your subscription:

[Postgresql Jobs]     [Postgresql Admin]     [Postgresql Performance]     [Linux Clusters]     [PHP Home]     [PHP on Windows]     [Programming PHP]     [Kernel Newbies]     [PHP Classes]     [Find Someone Nice]     [PHP Books]     [PHP Databases]     [Postgresql & PHP]     [Yosemite]

Add to Google Powered by Linux