Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtp (Exim 4.84_2) (envelope-from ) id 1eKXRA-00020S-40 for pgsql-general@arkaria.postgresql.org; Thu, 30 Nov 2017 22:36:08 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.84_2) (envelope-from ) id 1eKXR8-0000Ms-Mc for pgsql-general@arkaria.postgresql.org; Thu, 30 Nov 2017 22:36:06 +0000 Received: from makus.postgresql.org ([2001:4800:1501:1::229]) by malur.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.84_2) (envelope-from ) id 1eKXR8-0000Mj-Ag for pgsql-general@lists.postgresql.org; Thu, 30 Nov 2017 22:36:06 +0000 Received: from athena.simkin.ca ([2607:f040:1001:2::ff:2]) by makus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.89) (envelope-from ) id 1eKXR4-0004Zk-Od for pgsql-general@lists.postgresql.org; Thu, 30 Nov 2017 22:36:05 +0000 Received: from skynet.simkin.ca (unknown [IPv6:2607:f040:1001:103::1002]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by athena.simkin.ca (Postfix) with ESMTPSA id B3C97DC69732 for ; Thu, 30 Nov 2017 14:35:59 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=lists.simkin.ca; s=athena; t=1512081359; bh=g6p9KwZF6paWtu7Ub2ifTBWnTpgPLEfjCb0yqrncSXQ=; h=Message-ID:Subject:From:To:Date:In-Reply-To:References: Content-Type:X-PGP-Key:Mime-Version:Sender:From:To:Subject:Date: Reply-To; b=RcGhj8aKb7Yt9Pwvwfn1xuOIUvuVm0h8tw9iF+YL6TzE/qcsbL4AU/PqEongpoSE3 fdk/723APKyO+NRm8iSRn/fB0PNvzhaMWZqU0ybmesSurGiZP2yrSF62i6m0Anm/hB fE2ega6fmlpRmwLpYCQ2fZ9Tv4m3h7r5GY+EnFaVc3Ft3zBjfH/dB4x7Jm/k3aY+6f Kjndg9zZVkuE6C+gQOylcZG/P4cg3aaMvyfgzhPKEbx6Tj3dxh8ojFHEk4YPHCRG3B lCnpy5qPdVVn3v6D2xqwawEAvpUI0CG+o95I9vB13g3fdddyBK6vFp4bzqhEmgbxqX yDAEHCG7KDrxA== Received: from skynet.simkin.ca (skynet.simkin.ca [IPv6:::1]) by skynet.simkin.ca (Postfix) with ESMTP id 5A7A221A5CB8D for ; Thu, 30 Nov 2017 14:35:59 -0800 (PST) Message-ID: <1512081359.12983.31.camel@lists.simkin.ca> Subject: Re: ERROR: could not load library libperl.so, PostgreSQL trying to CREATE EXTENSION plperlu From: Alan Hodgson To: pgsql-general Date: Thu, 30 Nov 2017 14:35:59 -0800 In-Reply-To: References: Content-Type: multipart/alternative; boundary="=-KZr5ln5uQNA4R0Z6JswH" X-PGP-Key: fp="EF82 6F8D A3BA A096 FFA3 05F2 A7A0 40A5 34E5 AA0B"; id="0x34E5AA0B"; get=; get= X-Mailer: Evolution 3.22.6 Mime-Version: 1.0 List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Precedence: bulk --=-KZr5ln5uQNA4R0Z6JswH Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 8bit On Thu, 2017-11-30 at 22:20 +0000, Ben Nachtrieb wrote: >   > > ...to ld.so.conf, I get: > > ERROR:  could not load library > "/var/lib/pgsql10/lib/postgresql/plperl.so": > /var/lib/pgsql10/lib/postgresql/plperl.so: undefined symbol: > Perl_xs_handshake > > SQL state: XX000 It looks to me like your plperl is built against a substantially different version of Perl than what you have installed on the server. I'd guess you installed a PostgreSQL binary built on a different OS version, or have otherwise mismatched packages. > > --=-KZr5ln5uQNA4R0Z6JswH Content-Type: text/html; charset="utf-8" Content-Transfer-Encoding: 7bit
On Thu, 2017-11-30 at 22:20 +0000, Ben Nachtrieb wrote:

 

...to ld.so.conf, I get:

ERROR:  could not load library "/var/lib/pgsql10/lib/postgresql/plperl.so": /var/lib/pgsql10/lib/postgresql/plperl.so: undefined symbol: Perl_xs_handshake

SQL state: XX000



It looks to me like your plperl is built against a substantially different version of Perl than what you have installed on the server.

I'd guess you installed a PostgreSQL binary built on a different OS version, or have otherwise mismatched packages.
--=-KZr5ln5uQNA4R0Z6JswH--