Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtp (Exim 4.80) (envelope-from ) id 1XPS7y-0007Xl-AR for pgsql-pkg-debian@arkaria.postgresql.org; Thu, 04 Sep 2014 08:10:46 +0000 Received: from localhost ([127.0.0.1] helo=postgresql.org) by malur.postgresql.org with smtp (Exim 4.80) (envelope-from ) id 1XPS7x-0003iH-Qf for pgsql-pkg-debian@arkaria.postgresql.org; Thu, 04 Sep 2014 08:10:45 +0000 Received: from makus.postgresql.org ([2001:4800:1501:1::229]) by malur.postgresql.org with esmtps (TLS1.2:DHE_RSA_AES_256_CBC_SHA256:256) (Exim 4.80) (envelope-from ) id 1XPHfR-0000QR-E7 for pgsql-pkg-debian@postgresql.org; Wed, 03 Sep 2014 21:00:37 +0000 Received: from trap.mtview.ca.us ([209.237.40.11]) by makus.postgresql.org with esmtp (Exim 4.80) (envelope-from ) id 1XPHfG-0002UX-18 for pgsql-pkg-debian@postgresql.org; Wed, 03 Sep 2014 21:00:32 +0000 Received: from Robert-Stone.local (unknown [98.207.57.190]) (Authenticated sender: talby) by trap.mtview.ca.us (Postfix) with ESMTPSA id 0ABB11A6017F for ; Wed, 3 Sep 2014 14:00:23 -0700 (PDT) Date: Wed, 3 Sep 2014 14:00:16 -0700 From: Robert Stone To: pgsql-pkg-debian@postgresql.org Subject: small PL/R problem Message-ID: <20140903210016.GE74405@Robert-Stone.local> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.5.22 (2013-10-16) X-Pg-Spam-Score: -3.6 (---) X-Mailing-List: pgsql-pkg-debian List-Help: List-ID: List-Owner: List-Post: List-Subscribe: List-Unsubscribe: Precedence: bulk Sender: pgsql-pkg-debian-owner@postgresql.org In the plr package (version 1:8.3.0.15-3.pgdg10.4+1) it seems like the debian/postinst file is not making it into the .deb files and that has caused a bug fix by version 1:8.3.0.8-2 to resurface. The runtime linker is unable to find libR.so. To recover the postinst script, I had success adding: override_dh_installdeb: for i in `pg_buildext supported-versions` ; \ do cp debian/postinst debian/postgresql-$$i-plr.postinst ; \ done dh_installdeb to the debian/rules file. I also noticed that there is no corresponding postrm to undo the effects of the postinst script. There are certainly other ways to solve this linking issue, adding an rpath to plr.so seems reasonable. This could be done by adding "-Wl,-rpath$(r_libdir2x)" to the SHLIB_LINK value in the Makefile at the cost of trigging a "binary-or-shlib-defines-rpath" lintian warning during Debian package builds. It seems like Debian's general stance against rpaths may not be applicable in this case. http://wiki.postgresql.org/wiki/Apt#Bugs sent me here. I've been working with postgresql-9.0-plr version 1:8.3.0.15-3.pgdg10.4+1, though this seems to also be present with the latest version 1:8.3.0.15-3~12.git3cb079c.pgdg10.4+1. Thanks, Robert Stone -- Sent via pgsql-pkg-debian mailing list (pgsql-pkg-debian@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-pkg-debian