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 1guRXT-0007QG-4k for pgsql-general@arkaria.postgresql.org; Fri, 15 Feb 2019 00:39:35 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.89) (envelope-from ) id 1guRXR-0005hy-Ni for pgsql-general@arkaria.postgresql.org; Fri, 15 Feb 2019 00:39:33 +0000 Received: from magus.postgresql.org ([2a02:c0:301:0:ffff::29]) by malur.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.89) (envelope-from ) id 1guRXR-0005hr-FQ for pgsql-general@lists.postgresql.org; Fri, 15 Feb 2019 00:39:33 +0000 Received: from wout2-smtp.messagingengine.com ([64.147.123.25]) by magus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.89) (envelope-from ) id 1guRXN-0005SQ-67 for pgsql-general@lists.postgresql.org; Fri, 15 Feb 2019 00:39:33 +0000 Received: from compute6.internal (compute6.nyi.internal [10.202.2.46]) by mailout.west.internal (Postfix) with ESMTP id 7F59316E2; Thu, 14 Feb 2019 19:39:26 -0500 (EST) Received: from mailfrontend1 ([10.202.2.162]) by compute6.internal (MEProxy); Thu, 14 Feb 2019 19:39:26 -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=e Twazen+TJ5b0WMXVqTNfhaIFpaviH555KqTla0xtQM=; b=lRMsEMjPRwxFMwQ8E JvnaCH+9meCWaL9p5Yg102XUdZgaj3TvTm6W3ICLt78e0YS1eHMsMqASsVtSW/kJ iIJsuwdSpLA7rnOKKayR3eaNzek//ee+Pn6GOlyl4OwiElUyuqKGuPkjjtcAunrN t0Afo0kkliP4L+w67P2ctPem7S5cu6yrFlRxI0OB3JQayYkQEqh3Vz0PWyI8p5ak I+flDac5g6y2y5klWnxEDZZmm0y0G0MVLZICGW20AuunO07E7jX2VGeB0F+u9Ehf teoXPc09KVyG8AQh5iKOpcYUeby7bSmd1J4SfDaMw2S5tq3BHVfhrneSml9dkSpn qqQOg== 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=eTwazen+TJ5b0WMXVqTNfhaIFpaviH555KqTla0xt QM=; b=6e0DyG4JxPLStgfXUcvg2l0q227f+jYaCYAg+jBecEeUpTj5Y/NQxPm+b AygH2JmSYcbj/2iWHrLLtRgfVWuWwRJv81nMCp/WmRLQwmQN1pRK8jW95rtSoVWS DUk0D/XbJxKvPJz8+nYhl5T4Q5qeYqf5eSEp8mbvAIHOmqQnb/YCXUH88/mqYlf8 mpUwh/e1qYx6pzcvX8DUqyQon5E+njoNytjBU0HZPr7TLijn4wUReAwk/bBHEyJP BldzWcnUjQtYsM0vVa/rvDOQPq6HO+jWAMjepFvZDGbVhkOxnSHIUrt16a6Bo/yx Y8CtDwiWUCd3HEcDBqqWysQW9qfIQ== X-ME-Sender: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedtledruddtiedgvdduucetufdoteggodetrfdotf fvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdfquhhtnecuuegrihhlohhuthemucef tddtnecusecvtfgvtghiphhivghnthhsucdlqddutddtmdenucfjughrpefuvfhfhffkff gfgggjtgfgsehtkeertddtfeehnecuhfhrohhmpeetughrihgrnhcumfhlrghvvghruceo rggurhhirghnrdhklhgrvhgvrhesrghklhgrvhgvrhdrtghomheqnecuffhomhgrihhnpe hpohhsthhgrhgvshhqlhdrohhrghenucfkphepjedurddvuddvrdduhedtrddvtddvnecu rfgrrhgrmhepmhgrihhlfhhrohhmpegrughrihgrnhdrkhhlrghvvghrsegrkhhlrghvvg hrrdgtohhmnecuvehluhhsthgvrhfuihiivgeptd X-ME-Proxy: Received: from [192.168.1.4] (unknown [71.212.150.202]) by mail.messagingengine.com (Postfix) with ESMTPA id 55C24E409E; Thu, 14 Feb 2019 19:39:25 -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: <3b3a0e0b-6def-b89d-0c6e-b0feca0a0200@aklaver.com> Date: Thu, 14 Feb 2019 16:39:24 -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: 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:34 PM, Adrian Klaver wrote: > 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; Forget the above, I looked at: https://yum.postgresql.org/testing/11/redhat/rhel-6-x86_64/repoview/postgresql11-plpython.html and it only includes plpython2u. > >> >> thanks >> alan >> > > -- Adrian Klaver adrian.klaver@aklaver.com