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 1gNOas-0007Ku-Qe for pgsql-pkg-yum@arkaria.postgresql.org; Thu, 15 Nov 2018 20:50:30 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.89) (envelope-from ) id 1gNOar-0004xB-Bf for pgsql-pkg-yum@arkaria.postgresql.org; Thu, 15 Nov 2018 20:50:29 +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 1gNOar-0004x3-3a for pgsql-pkg-yum@lists.postgresql.org; Thu, 15 Nov 2018 20:50:29 +0000 Received: from mail-it1-x130.google.com ([2607:f8b0:4864:20::130]) by makus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.89) (envelope-from ) id 1gNOak-0003rH-Gc for pgsql-pkg-yum@postgresql.org; Thu, 15 Nov 2018 20:50:27 +0000 Received: by mail-it1-x130.google.com with SMTP id f84-v6so10239681ita.1 for ; Thu, 15 Nov 2018 12:50:22 -0800 (PST) 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:references:mime-version :content-disposition:content-transfer-encoding:in-reply-to :user-agent; bh=RbedDRVrDm4xd48qlFkFSXPxZ+trS/V2+G8MhABxbUw=; b=hdwFACIoaFf/m4WzF0al4Pic90xFJWqdOQHeL68Cf0rZQUTW5TY1es1aBJC/qK1dy+ 8e4m+utPEtxuL0eJ+cFqwFV8Sw8hfkMYfSe2BLIu9vA3hQOxzSFbSJRMbIiPvX8/kJF/ e3jPDhrrMDPsj3NAmQ17BYSAl2BwtLRiOdYK/wuo9V3NS9scjy6MdTSNGbeW5OKppPbI OMJrZlxW6f/BSAbuOVKAHzVS5Zu91PQ6j/6zQcmfxfsdMFRJ1lTeMf6/JkrxDEcHDGSC ZppCujhlR1Pve+QKk5/rQHGCzk4IqZ344I0i+Rj1itaTnRPp4rDWdZBq8eKhdeOplcFp GtmA== 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:references :mime-version:content-disposition:content-transfer-encoding :in-reply-to:user-agent; bh=RbedDRVrDm4xd48qlFkFSXPxZ+trS/V2+G8MhABxbUw=; b=mVw7a1nEO3EXNJWIxsClRBseQtU0ICd4wskYsnnE0NGOIMJgl8fdbcPmnKr9I80dBq lHs/FIDuPY2JCUjnZ5fA5ZbB33KhAwrIy8zvp6unL44rzpYG44qLiOLmdvymTIHj3Ifl YIP5NbHFGm3JiXfO3Rf5LUTKMbSTrhTBEV25eDFXHwtvGi2YpVPfKJvlRKhOszdwsqyG UxUYyOJc/Hc9grCIR4YiDqTGW9zsbib69csxxBkjTwlE0jMOWXlUixQBbpfDqvXRqEeU vA62BTSOuN9MH0j4EFx2PftMqbGmtzCCFFgfnTyS3h4GM26s5n/izPPNFVewDM50ur/2 nB/g== X-Gm-Message-State: AGRZ1gJmZMQz/6EWYJYZ51andFubZaEO4VrqGn8lYBKdFs2xM69ok6aP 1EEcPWMD2DTtFu4S5Ftr8BlZB0ovfqo= X-Google-Smtp-Source: AJdET5fFrE12aH0SA3+Vao73kK4a7zcRSDSknO3mGBx82Lc5QlpyiAPDXndz6RTDEiOOndDgi5NQuA== X-Received: by 2002:a02:8187:: with SMTP id n7-v6mr7705024jag.26.1542315021218; Thu, 15 Nov 2018 12:50:21 -0800 (PST) Received: from pryzbyj (charmander.telsasoft.com. [50.244.222.1]) by smtp.gmail.com with ESMTPSA id v204-v6sm9061824itb.6.2018.11.15.12.50.20 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Thu, 15 Nov 2018 12:50:20 -0800 (PST) Received: by pryzbyj (Postfix, from userid 1000) id 4B40F804FC9; Thu, 15 Nov 2018 14:50:19 -0600 (CST) Date: Thu, 15 Nov 2018 14:50:19 -0600 From: Justin Pryzby To: Devrim =?iso-8859-1?B?R/xuZPx6?= Cc: pgsql-pkg-yum@postgresql.org Subject: Re: pg11 centos7 postgis24 broken due to libgeos Message-ID: <20181115205019.GU16896@telsasoft.com> References: <20181018164019.GA6395@telsasoft.com> <20181029131745.GE27004@telsasoft.com> <8110869c1ada386383dc7917877ae66024ba729e.camel@gunduz.org> <20181114183440.GI16896@telsasoft.com> MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <20181114183440.GI16896@telsasoft.com> User-Agent: Mutt/1.5.23 (2014-03-12) List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Precedence: bulk On Wed, Nov 14, 2018 at 12:34:40PM -0600, Justin Pryzby wrote: > On Mon, Oct 29, 2018 at 03:33:18PM +0000, Devrim Gündüz wrote: > > On Mon, 2018-10-29 at 08:17 -0500, Justin Pryzby wrote: > > > Want to mention that this is still an issue. > > > > Per discussion with upstream, I think I will have to release our GDAL package > > to fix this issue. That will likely happen tomorrow. I realized that a transition I already did to PG11 was running centos7 and works just fine (with postgis and all its libs). The issue appears to be this: [pryzbyj@database ~]$ sudo cat /var/lib/pgsql/loadable_libraries.txt could not load library "$libdir/postgis-2.4": ERROR: could not load library "/usr/pgsql-11/lib/postgis-2.4.so": /usr/pgsql-11/lib/postgis-2.4.so: undefined symbol: geod_polygon_init [pryzbyj@database ~]$ ldd /usr/pgsql-11/lib/postgis-2.4.so|grep proj libproj.so.0 => /lib64/libproj.so.0 (0x00007f5ef6681000) [pryzbyj@database ~]$ rpm -qf /lib64/libproj.so.0 proj-4.8.0-4.el7.x86_64 [pryzbyj@database ~]$ rpm -qa |grep proj proj-nad-4.8.0-4.el7.x86_64 proj49-4.9.3-3.rhel7.x86_64 proj-4.8.0-4.el7.x86_64 On the working server, libproj.so.0 finds proj49 (both servers have both libraries installed). [pryzbyj@database ~]$ ldd /usr/pgsql-11/lib/postgis-2.4.so |grep proj libproj.so.12 => /usr/proj49/lib/libproj.so.12 (0x00007f219c649000) The postgis24_11 pacakge is pulling in proj/epel, and the PGDG proj49 doesn't satisfy the dependency. I worked around the problem on one of the failing servers by copying an older postgis RPM out of /var/cache on the working server: package postgis24_11-2.4.5-1.rhel7.1.x86_64 (which is newer than postgis24_11-2.4.5-1.rhel7.x86_64) is already installed Hope that helps. Justin