Received: from malur.postgresql.org ([2a02:16a8:dc51::56]) by arkaria.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.89) (envelope-from ) id 1fYCpQ-0007Mb-OP for pgsql-pkg-yum@arkaria.postgresql.org; Wed, 27 Jun 2018 15:57: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 1fYCpP-0005Qg-EM for pgsql-pkg-yum@arkaria.postgresql.org; Wed, 27 Jun 2018 15:57:55 +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.89) (envelope-from ) id 1fYCpP-0005QY-6N for pgsql-pkg-yum@lists.postgresql.org; Wed, 27 Jun 2018 15:57:55 +0000 Received: from mail-io0-x22b.google.com ([2607:f8b0:4001:c06::22b]) by makus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.89) (envelope-from ) id 1fYCpL-0000ww-5B for pgsql-pkg-yum@postgresql.org; Wed, 27 Jun 2018 15:57:53 +0000 Received: by mail-io0-x22b.google.com with SMTP id e15-v6so2379361iog.1 for ; Wed, 27 Jun 2018 08:57:51 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=telsasoft-com.20150623.gappssmtp.com; s=20150623; h=date:from:to:cc:subject:message-id:mime-version:content-disposition :user-agent; bh=Hyy0F1ss7fTwVT+fyOy/qJV5dxMIufYbh3sHM7f0MSo=; b=YbY0qqOPAo5owU0wRNgRaWvj+fO1Ut/L9hdiCD4WwAvzNZNVOWnDgBHI9Kf3/kauGs xQcAhgf9P7/so7/uAe/WBW2vXaaTDDUpIkg9CCiP7v9/HfQrsyVj6TS+6pqzd+4uLfu6 tPu0sed5RUAMjeW2drjtoRkBG+3hEa6rmtgemNMcAVGrOM8YuohyQ80AuKKv28LkV0dB V8eNFEeKK8EbvgjFLmz2u+3HPhUKaGNo1tmBecF94JC35ajdyXPCYhyy647GNdJSbfXK Hy1Sbqt9Y4J24MVHHNfEfKsqgRYz2O7aBUE/xg5FKTjvmiGlMYvXzNwKJYLaHeoHyprg c72A== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:from:to:cc:subject:message-id:mime-version :content-disposition:user-agent; bh=Hyy0F1ss7fTwVT+fyOy/qJV5dxMIufYbh3sHM7f0MSo=; b=OOvfywOM3/FwpxxmTwW7sWH+6MqR2W742g7OAWi795B8B9cqRNPMzGEvJ5JMsKIRMN YrHNx563xj0S4Yj6o/BFQYFSmLuXQgjmVlpmJAhi/seKyTmxD8D0rizK3/UHBBnUvPWZ 8R22EErBg2tj8uiA++2ev4EYkhJYcUY8jsj4gA78R8k0ck5yVN3v3i6WJyfhTeTzEvO2 47ftpKS9CIfKCJYZuh09v7tOch8HMIUVbTls6O5ZLRsO2TstFxPXwwNrhN1M/9IQjbof wIw7OgUC4e8n4qRgv6C/YsiX4m1v2TtyP85jjOKhqLytdTcc54yel1EMdJVkkiE3uCkY 97aw== X-Gm-Message-State: APt69E25NHTOu8rGCXhw4ioN6GNBjCUJDBWM61yqNuSvD1dbp8wdcaiP GL9rTrgjcfptJTnWY9mxJRSRuOKKYjs= X-Google-Smtp-Source: AAOMgpeeZ3F+GKRamUx/8aG8Em6nRmt1ya2UxlR/44J1Fg9SmED29sQC1K7Q/ZKFbX4eSg/g0D3Z6w== X-Received: by 2002:a6b:6013:: with SMTP id r19-v6mr5168109iog.180.1530115070300; Wed, 27 Jun 2018 08:57:50 -0700 (PDT) Received: from pryzbyj (charmander.telsasoft.com. [50.244.222.1]) by smtp.gmail.com with ESMTPSA id 62-v6sm2636217ity.37.2018.06.27.08.57.49 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Wed, 27 Jun 2018 08:57:49 -0700 (PDT) Received: by pryzbyj (Postfix, from userid 1000) id E99F180203D; Wed, 27 Jun 2018 10:57:48 -0500 (CDT) Date: Wed, 27 Jun 2018 10:57:48 -0500 From: Justin Pryzby To: Devrim =?iso-8859-1?B?R/xuZPx6?= Cc: pgsql-pkg-yum@postgresql.org Subject: shared library version issues (yum/pgdg) Message-ID: <20180627155748.GD3554@telsasoft.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.5.23 (2014-03-12) List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Precedence: bulk It looks like there's still an issue with symbol references, at least on centos6/x86_64/pg11b1. Perhaps postgres was compiled in one environment with a later version of libraries - but I don't know how RPMs intend to handle that. import _pg # pygresql ImportError: /usr/pgsql-11/lib/libpq.so.5: symbol X509_get_signature_nid, version libcrypto.so.10 not defined in file libcrypto.so.10 with link time reference [pryzbyj@template0 ~]$ rpm -qf /usr/lib64/libcrypto.so.10 openssl-libs-1.0.1e-60.el7_3.1.x86_64 Fixed by installing openssl-libs-1.0.2k-12.el7.x86_64.rpm I reported several similar problems 6 months ago: On Sat, Dec 16, 2017 at 01:01:01PM -0600, Justin Pryzby wrote: > For centos6, I think there's an issue with the version of proj in EPEL combined > with postgis10_24: ... > psql:/usr/pgsql-10/share/contrib/postgis-2.4/postgis.sql:94: ERROR: could not load library "/usr/pgsql-10/lib/postgis-2.4.so": /usr/pgsql-10/lib/postgis-2.4.so: undefined symbol: pj_get_spheroid_defn On Tue, Jan 23, 2018 at 11:34:50AM -0600, Justin Pryzby wrote: > Following yum update on centos6: > InternalError: ERROR: could not load library "/usr/pgsql-10/lib/postgis-2.4.so": /usr/pgsql-10/lib/postgis-2.4.so: undefined symbol: geod_init On Fri, Feb 02, 2018 at 07:56:26PM -0600, Justin Pryzby wrote: > pg_restore: [archiver (db)] Error from TOC entry 2732; 1255 16405 FUNCTION box2d_in(cstring) postgres > pg_restore: [archiver (db)] could not execute query: ERROR: could not load library "/usr/pgsql-9.6/lib/postgis-2.1.so": /usr/pgsql-9.6/lib/postgis-2.1.so: undefined symbol: pj_get_spheroid_defn Thanks in advance. Justin