Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.89) (envelope-from ) id 1guRSy-000738-RZ for pgsql-general@arkaria.postgresql.org; Fri, 15 Feb 2019 00:34:56 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.89) (envelope-from ) id 1guRSx-00051q-I8 for pgsql-general@arkaria.postgresql.org; Fri, 15 Feb 2019 00:34:55 +0000 Received: from makus.postgresql.org ([2001:4800:3e1:1::229]) by malur.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.89) (envelope-from ) id 1guRSx-00051i-5Z for pgsql-general@lists.postgresql.org; Fri, 15 Feb 2019 00:34:55 +0000 Received: from wout2-smtp.messagingengine.com ([64.147.123.25]) by makus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.89) (envelope-from ) id 1guRSu-0000A5-S2 for pgsql-general@lists.postgresql.org; Fri, 15 Feb 2019 00:34:54 +0000 Received: from compute6.internal (compute6.nyi.internal [10.202.2.46]) by mailout.west.internal (Postfix) with ESMTP id BB1DF3026; Thu, 14 Feb 2019 19:34:51 -0500 (EST) Received: from mailfrontend1 ([10.202.2.162]) by compute6.internal (MEProxy); Thu, 14 Feb 2019 19:34:51 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=aklaver.com; h= subject:to:references:from:message-id:date:mime-version :in-reply-to:content-type:content-transfer-encoding; s=fm2; bh=b YtqSPbMl0aeXpMOuE9sL4ei2pCLuLTlGK98isK/PuM=; b=YdBu6nMZtqPWevF8A kDORUZaaV8GPw3z4KSwojMwUJ8KWrqb/FL1BXdx+WRee+zhlc5AVCTpiKT3WKHw8 Rw824GjS8uvv6BuIQAAQuIMkgRSiwWEyuTQzsnI9i3S+Wm4WUEVNqmDJbPYib9Yc i7KNa73K3g+B6IB6DHYB7kRjlzp+7D0sreHBCjfbY2QKtZID1Ekg/BBek9kQTL1D bPGW9rnQdULzWr5l36cetPojrQqYc6lX6sXMuLgVmKNx9RdqzfHqDfwszdUuyVvx Mc5764RQOSGmk8pVWrs8ELTSUgE90EzJYt6Gi+ftPXnptM02cFqcg4Z86LZvQgnj nGWNQ== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=content-transfer-encoding:content-type :date:from:in-reply-to:message-id:mime-version:references :subject:to:x-me-proxy:x-me-proxy:x-me-sender:x-me-sender :x-sasl-enc; s=fm2; bh=bYtqSPbMl0aeXpMOuE9sL4ei2pCLuLTlGK98isK/P uM=; b=lq4NFs/7i53ogJUotsOc3HUr+8blkf1QAN48K7p+RmgJdFknQHtY6fI7J 4hD6uxcbXEASwPMbzcywQpz98x4bO/UMG1pUNw2wzE/Pl9QQI/cMQpAO9dBcqqK/ P4/Xgh64+9rmq9ziGs4VS+dz7CQ5amEoETQ6o2qZObLTJOZHTGJdpmyfa/XM2PbW DcF6YYwjM5dmuUTisnJEN7QI+Umbmw+48rjWaV7MyIy9e/eqqyd18DYn4P1TbB+5 aETqcejdBkAm2ctfYKtEiV5wAGGd3xsemWkmHkfQ136N20nWbhczkODn2rYm8a4a I4HrawMjYPNvcEbpxMK1/jSICndGA== X-ME-Sender: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedtledruddtiedgvdduucetufdoteggodetrfdotf fvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdfquhhtnecuuegrihhlohhuthemucef tddtnecusecvtfgvtghiphhivghnthhsucdlqddutddtmdenucfjughrpefuvfhfhffkff gfgggjtgfgsehtkeertddtfeehnecuhfhrohhmpeetughrihgrnhcumfhlrghvvghruceo rggurhhirghnrdhklhgrvhgvrhesrghklhgrvhgvrhdrtghomheqnecukfhppeejuddrvd duvddrudehtddrvddtvdenucfrrghrrghmpehmrghilhhfrhhomheprggurhhirghnrdhk lhgrvhgvrhesrghklhgrvhgvrhdrtghomhenucevlhhushhtvghrufhiiigvpedt X-ME-Proxy: Received: from [192.168.1.4] (unknown [71.212.150.202]) by mail.messagingengine.com (Postfix) with ESMTPA id 9BDEFE409E; Thu, 14 Feb 2019 19:34:50 -0500 (EST) Subject: Re: loading plpython error To: Alan Nilsson , pgsql-general@lists.postgresql.org References: <62549B79-FEB1-4046-83AB-1D0FEA68484E@apple.com> From: Adrian Klaver Message-ID: Date: Thu, 14 Feb 2019 16:34:49 -0800 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Thunderbird/60.3.0 MIME-Version: 1.0 In-Reply-To: <62549B79-FEB1-4046-83AB-1D0FEA68484E@apple.com> Content-Type: text/plain; charset=windows-1252; format=flowed Content-Language: en-US Content-Transfer-Encoding: 8bit List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Precedence: bulk On 2/14/19 4:17 PM, Alan Nilsson wrote: > Platform:  Linux x86-64, CentOS 6, Postgres 11.1. > > We have installed from the YUM repo.  The server runs fine but we are > trying to add python support. > > yum install postrgesql11-contrib postgresql11-plpython > > I can see the installed files in the correct locations but when we > invoke create extension, we are greeted with the following error: > > ERROR:  could not load library "/usr/pgsql-11/lib/plpython2.so": > /usr/pgsql-11/lib/plpython2.so: undefined symbol: getmissingattr > > Is there something yet to be installed?  Is this a package error?  Any > hints to fixing? What happens if you try?: CREATE EXTENSION plpython3u; > > thanks > alan > -- Adrian Klaver adrian.klaver@aklaver.com