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 1gwrFB-0005Kq-Bq for pgsql-pkg-yum@arkaria.postgresql.org; Thu, 21 Feb 2019 16:30:41 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.89) (envelope-from ) id 1gwrF9-000680-9B for pgsql-pkg-yum@arkaria.postgresql.org; Thu, 21 Feb 2019 16:30:39 +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 1gwrF8-000669-VX for pgsql-pkg-yum@lists.postgresql.org; Thu, 21 Feb 2019 16:30:39 +0000 Received: from mail-io1-xd36.google.com ([2607:f8b0:4864:20::d36]) by magus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.89) (envelope-from ) id 1gwrF5-0003Fr-PG for pgsql-pkg-yum@postgresql.org; Thu, 21 Feb 2019 16:30:38 +0000 Received: by mail-io1-xd36.google.com with SMTP id x9so1987851iog.12 for ; Thu, 21 Feb 2019 08:30:35 -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:in-reply-to:user-agent; bh=JkPVxEPyVZtTxPHTa/gB+D30WW3eCmPUQfVDhxb1fTY=; b=Uhdujxnpxl4Wqk1Uh+2O/ROWf8wWJxkRK6WxyGx5wp8L83KaKSse2dPCyGevicWOSO taWxqjqVuIBdnVzUFkUoLRdFCTw2rZGkntscb/Fy8G29LLRMQhEXk9QPHSIbzNSrHsQg pVBjVaFD5/O2FnfUMfrrrgSrzHQ5gexaMIVnuq1Mq376YZKCGOHexwMfUF+RVAYPYA+k 0JFT0DRLYO/GHMfqEl1fxbIKcqRbSxAbD9u0NTK5bmFl32YTg+Wgw26DgzdP1fN2WaNO I09T7TY3CsID2+boIV+L1huaIcU+Njcl/1+c5VNU94kPnp3aX5eKBe8xXBbw6Mte0Lk0 5jiQ== 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:in-reply-to:user-agent; bh=JkPVxEPyVZtTxPHTa/gB+D30WW3eCmPUQfVDhxb1fTY=; b=JXcuqR1H8CjloujIaIyMlNDkAXt89kOYSUXz7FwlR73szHjUxxG5Xga1EAs6nl4dFk LixvwacRrMOcXdl5sadDenXRNUnzFpEBBpSCA0L476EYurdQVVFX/I0Gi7MQhOREO3q+ L6CSwSs/mbEtCzoUgkYErdFWUuWZyaaoJ3ESGrjHgDtbZ8jTS2a6YVSoZ/jSp7ydA2Fi kpD9Vef0EmTPBYeeR31pyfEy8Ums+9yVgtWjjqXPj42e4htnGVt1+7ayVeWh2ucEj7ik Qre/h7dAy7zZWHJypORz+J0GyH3yLGcco6WMW2atAn/WkjQUMietXg65yF+x2sN89Qz9 e4fg== X-Gm-Message-State: AHQUAubzKLCEp9Xn7DOHFvvBYFPUqmL5qz+D0L/6xIUZVeXTOg58BDjC EkQggRf6tc2cFxFi6Ip07hyN9g== X-Google-Smtp-Source: AHgI3IbH4srZQXtBRiKLQvTxqgEqHktu29OpWlXIHseVp+p+dEgCZeWgzlEyBuWFbg8OVnlPhgO9XA== X-Received: by 2002:a24:5c47:: with SMTP id q68mr9521124itb.81.1550766632531; Thu, 21 Feb 2019 08:30:32 -0800 (PST) Received: from pryzbyj (charmander.telsasoft.com. [50.244.222.1]) by smtp.gmail.com with ESMTPSA id a16sm4607866itc.27.2019.02.21.08.30.31 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Thu, 21 Feb 2019 08:30:31 -0800 (PST) Received: by pryzbyj (Postfix, from userid 1000) id 891C6800B9A; Thu, 21 Feb 2019 10:30:30 -0600 (CST) Date: Thu, 21 Feb 2019 10:30:30 -0600 From: Justin Pryzby To: Christoph Berg 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: <20190221163030.GY28750@telsasoft.com> References: <20181210150643.GF4848@telsasoft.com> <20181219202107.GA5406@telsasoft.com> <20190107215410.GA22493@telsasoft.com> <20190221132606.GC5238@msg.df7cb.de> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20190221132606.GC5238@msg.df7cb.de> User-Agent: Mutt/1.5.23 (2014-03-12) List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Precedence: bulk On Thu, Feb 21, 2019 at 02:26:06PM +0100, Christoph Berg wrote: > 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" ?? Note that the problem was postgis24 was "seeing" geos 36 INSTEAD OF 37, not that it was seeing 37. I don't know about debian (from which I've been absent for a decade), but I think for centos it's because of this: [pryzbyj@template0 ~]$ rpm -ql geos37-3.7.0-1.rhel7.1.x86_64 /etc/ld.so.conf.d/geos37-pgdg-libs.conf ... [pryzbyj@template0 ~]$ cat /etc/ld.so.conf.d/geos37-pgdg-libs.conf /usr/geos37/lib64/ [pryzbyj@database ~]$ rpm -ql geos36 /etc/ld.so.conf.d/geos36-pgdg-libs.conf ... [pryzbyj@database ~]$ cat /etc/ld.so.conf.d/geos36-pgdg-libs.conf /usr/geos36/lib64/ Presumably, if both are installed it finds geos36-pgdg-libs.conf first, thus linker uses to geos36. I think to fully resolve this it's necessary to *prohibit* co-installation of new postgis with old geos. But note that's not adequately resolved by releasing a new geos36, since someone might run rpm/dpkg -i on a single package, without installing all the other updates from the repo. Justin