X-Original-To: pgsql-interfaces-postgresql.org@localhost.postgresql.org Received: from localhost (unknown [200.46.204.144]) by svr1.postgresql.org (Postfix) with ESMTP id CC0F05648F for ; Wed, 9 Mar 2005 03:39:42 +0000 (GMT) Received: from svr1.postgresql.org ([200.46.204.71]) by localhost (av.hub.org [200.46.204.144]) (amavisd-new, port 10024) with ESMTP id 08850-08 for ; Wed, 9 Mar 2005 03:39:35 +0000 (GMT) Received: from b.mail.sonic.net (b.mail.sonic.net [64.142.19.5]) by svr1.postgresql.org (Postfix) with ESMTP id 5DC23563E5 for ; Wed, 9 Mar 2005 03:39:35 +0000 (GMT) Received: from cookie.varlena.com (64-142-36-103.dsl.static.sonic.net [64.142.36.103]) by b.mail.sonic.net (8.13.3/8.13.3) with ESMTP id j293de3X010777 for ; Tue, 8 Mar 2005 19:39:40 -0800 Received: by cookie.varlena.com (Postfix, from userid 1000) id 8B7CACCD; Tue, 8 Mar 2005 19:37:51 -0800 (PST) Date: Tue, 8 Mar 2005 19:37:51 -0800 To: postgresql Cc: elein Subject: Re: Using PL/R with 8.0 Message-ID: <20050309033751.GS5165@varlena.com> Mail-Followup-To: postgresql References: <20050309033614.GR5165@varlena.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20050309033614.GR5165@varlena.com> User-Agent: Mutt/1.5.6+20040907i From: elein@varlena.com (elein) X-Virus-Scanned: by amavisd-new at hub.org X-Spam-Status: No, hits=0.059 tagged_above=0 required=5 tests=AWL, FORGED_RCVD_HELO X-Spam-Level: X-Archive-Number: 200503/29 X-Sequence-Number: 5358 Make that --with-R for the pg configure option. On Tue, Mar 08, 2005 at 07:36:14PM -0800, elein wrote: > 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@varlena.com