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 1gwoMh-0003Ds-Cq for pgsql-pkg-yum@arkaria.postgresql.org; Thu, 21 Feb 2019 13:26:15 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.89) (envelope-from ) id 1gwoMf-0003pS-Jt for pgsql-pkg-yum@arkaria.postgresql.org; Thu, 21 Feb 2019 13:26:13 +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 1gwoMf-0003pL-BP for pgsql-pkg-yum@lists.postgresql.org; Thu, 21 Feb 2019 13:26:13 +0000 Received: from feynman.df7cb.de ([195.49.152.168]) by makus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.89) (envelope-from ) id 1gwoMc-0005E5-6K for pgsql-pkg-yum@postgresql.org; Thu, 21 Feb 2019 13:26:12 +0000 Received: from msg.df7cb.de (unknown [IPv6:2003:5b:203b:100:7627:eaff:fe52:8e03]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by feynman.df7cb.de (Postfix) with ESMTPSA id 444wGR0n62z3F1k; Thu, 21 Feb 2019 14:26:07 +0100 (CET) Date: Thu, 21 Feb 2019 14:26:06 +0100 From: Christoph Berg To: Justin Pryzby Cc: pgsql-pkg-yum@postgresql.org Subject: Re: [PostgreSQL YUM Repository - Bug #3710] (Resolved) RHEL7 postgresql11 postgis2.5 fails with /usr/pgsql-11/lib/postgis-2.5.so: undefined symbol: geod_polygon_init Message-ID: <20190221132606.GC5238@msg.df7cb.de> Mail-Followup-To: Christoph Berg , Justin Pryzby , pgsql-pkg-yum@postgresql.org References: <20181210150643.GF4848@telsasoft.com> <20181219202107.GA5406@telsasoft.com> <20190107215410.GA22493@telsasoft.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20190107215410.GA22493@telsasoft.com> User-Agent: Mutt/1.10.1 (2018-07-13) List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Precedence: bulk Re: Justin Pryzby 2019-01-07 <20190107215410.GA22493@telsasoft.com> > This appears to be more or less same as issue #3710. See earlier communiction, > copied below. > > Just reinstalling postgis on a centos7 test server which previously ran > postgres 11 beta. > > Installing : geos37-3.7.0-1.rhel7.1.x86_64 > Installing : postgis24_11-2.4.6-3.rhel7.x86_64 > Installing : postgis24_11-client-2.4.6-3.rhel7.x86_64 > > sentinel=# \i /usr/pgsql-11/share/contrib/postgis-2.4/postgis.sql > BEGIN > SET > DO > CREATE FUNCTION > psql:/usr/pgsql-11/share/contrib/postgis-2.4/postgis.sql:95: ERROR: could not load library "/usr/pgsql-11/lib/postgis-2.4.so": /usr/pgsql-11/lib/postgis-2.4.so: undefined symbol: GEOSFrechetDistanceDensify This has just popped up again on IRC, with postgis24_96-2.4.6-3.rhel7.x86_64 Why does postgis-2.4.so even "see" the geos37 package? > [pryzbyj@template0 ~]$ ldd /usr/pgsql-11/lib/postgis-2.4.so > libgeos_c.so.1 => /usr/geos36/lib64/libgeos_c.so.1 (0x00007f3e50e6e000) > libgeos-3.6.2.so => /usr/geos36/lib64/libgeos-3.6.2.so (0x00007f3e4f12e000) > > Fixed with: rpm -e geos36-3.6.2-3.1.rhel7.x86_64 > Should declare the RPM equivalent of debian's "Breaks" ?? Christoph