Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtp (Exim 4.84_2) (envelope-from ) id 1eRPSx-0006DC-0T for pgsql-pkg-yum@arkaria.postgresql.org; Tue, 19 Dec 2017 21:30:23 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.84_2) (envelope-from ) id 1eRPSv-0006Vr-3X for pgsql-pkg-yum@arkaria.postgresql.org; Tue, 19 Dec 2017 21:30:21 +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.84_2) (envelope-from ) id 1eRPSu-0006VK-LJ for pgsql-pkg-yum@lists.postgresql.org; Tue, 19 Dec 2017 21:30:20 +0000 Received: from mail-it0-x236.google.com ([2607:f8b0:4001:c0b::236]) by makus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.89) (envelope-from ) id 1eRPSq-0005vO-Qz for pgsql-pkg-yum@postgresql.org; Tue, 19 Dec 2017 21:30:19 +0000 Received: by mail-it0-x236.google.com with SMTP id d16so4471861itj.1 for ; Tue, 19 Dec 2017 13:30:16 -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=kxox1EBACik/1mZwJ6IBw/iTFhP47Sqbg4KFLEc+IaY=; b=GVh86VV/z1C0OMT4tyXcZbALpzSc7n7rXLoligjIhIgytxPY0G8AW6A0g8koYC/Hhx +9UN2V7OS+z43ynlZGqMzqBoEG4Ozj/zQwVrsdChZqWidslDThg2kgPiU9W1S8YrLHpz RCK6aNqlcvzOtIWElZUAk2v63aIdYiLopCs9lXisEAd3ATTaCWFOvu0AydkRtoaviVH2 oDKIlHyeaUW204CuWg6Khuh/gnuSDgmnOWVhXL5CqUYJ6HTmX4HdnruGdEOhj3d9gpkV qPq8PgLiCG60a4sG4zMVvviQ4XhfFOeeKCCYV94MY/Xxu5XFtknX9Z0+LhxEer9u2x90 xTLg== 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=kxox1EBACik/1mZwJ6IBw/iTFhP47Sqbg4KFLEc+IaY=; b=dHCrRNwyCmM/nA1/9s6yBLVT+o/RLfwJiFucsiNbgMRM9xkAbf8HbcREtBSldQSGxv BphF5CWvo5jgnneMtNbYHqBrzDaXyOe4G7W0sp96bwYqpAA+ZW1NaR4F2358DLQs56OU gmwIV1mV8GjaMthfGevGi2jjFtB8Ry6KxnjtmAw7tDyAdQ8qE4K+PSv7RxbR4yoFOjBa a98JFD1cPGUjERpd3inlNhaqYHQ3fKnWAyRU5U4PV+Y+aZv+sox/gGL7RDpZZjlRvMHV NxKT5eWXoEqqrdDT9qUfwIpkDn+skFEALt9ma1OuLVxvVJBVv1BJR+0QjFx/87jGtK6N +5PA== X-Gm-Message-State: AKGB3mIgJyowwuR+srFC8ucaQ6cQTnEF6TNPREsYfywf6k6mE+6+H2N3 k9uox07G6cbZsUUfhhX7HeeY2BAwovU= X-Google-Smtp-Source: ACJfBos3TuhSFFyQ1GMsKBbnICsdgS3FA8J3XQFv62kY4knZwL2NWa3HnrCEceANlUxNlzw4e22UJw== X-Received: by 10.36.78.212 with SMTP id r203mr4926274ita.58.1513719015223; Tue, 19 Dec 2017 13:30:15 -0800 (PST) Received: from pryzbyj (charmander.telsasoft.com. [50.244.222.1]) by smtp.gmail.com with ESMTPSA id i27sm1004931iod.29.2017.12.19.13.30.14 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Tue, 19 Dec 2017 13:30:14 -0800 (PST) Received: by pryzbyj (Postfix, from userid 1000) id BD3F1801102; Tue, 19 Dec 2017 15:30:13 -0600 (CST) Date: Tue, 19 Dec 2017 15:30:13 -0600 From: Justin Pryzby To: Devrim =?iso-8859-1?B?R/xuZPx6?= Cc: pgsql-pkg-yum@postgresql.org Subject: Re: libgeotiff (Re: PG10 postgis24 + gdal on RHEL6) Message-ID: <20171219213013.GA22497@telsasoft.com> References: <20171129100319.GA12026@telsasoft.com> <1511950968.5887.14.camel@gunduz.org> <20171207210245.GB14216@telsasoft.com> <20171208193313.GG14216@telsasoft.com> <1513307151.3398.15.camel@gunduz.org> <20171216190101.GP18184@telsasoft.com> <20171218145635.GT18184@telsasoft.com> MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <20171218145635.GT18184@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 Mon, Dec 18, 2017 at 08:56:35AM -0600, Justin Pryzby wrote: > On Sat, Dec 16, 2017 at 01:01:01PM -0600, Justin Pryzby wrote: > > On Fri, Dec 15, 2017 at 06:05:51AM +0300, Devrim Gündüz wrote: > > > > > > proj > > > > > > Please grab this from EPEL: > > > > > > https://dl.fedoraproject.org/pub/epel/7/x86_64/Packages/p/ > > > > For centos6, I think there's an issue with the version of proj in EPEL combined > > with postgis10_24: > > > > [pryzbyj@db ~]$ psql 3rivers -f /usr/pgsql-10/share/contrib/postgis-2.4/postgis.sql 2>&1 |head > ... > > 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 > > I meant to also say: > I think that indicates a missing dependency version in the postgis package. I > know that in debian, this kind of thing is handled by dpkg-shlibdeps. I was doing another deployment (ansible) and again ran into same issue (I think): TASK: [legacy_appserver | create postgis environment] ************************* failed: [new.gta] => {"failed": true, "item": ""} msg: Database query failed: could not load library "/usr/pgsql-10/lib/postgis-2.4.so": /usr/pgsql-10/lib/postgis-2.4.so: undefined symbol: geod_init gdal-libs.x86_64 1.9.2-8.rhel6 @pgdg10 geos.x86_64 3.5.0-1.rhel6 @pgdg10 geos36.x86_64 3.6.2-2.rhel6 @pgdg10 geos36-devel.x86_64 3.6.2-2.rhel6 @pgdg10 libgeotiff.x86_64 1.4.0-1.rhel6 @pgdg96 postgis24_10.x86_64 2.4.2-3.rhel6 @pgdg10 proj.x86_64 4.8.0-2.rhel6 @pgdg10 libspatialite.x86_64 2.4.0-0.6.RC4.el6 @epel I see: https://trac.osgeo.org/postgis/ticket/3142 [pryzbyj@gta-mtx-telsa ~]$ yum list --showdu proj Loaded plugins: etckeeper, fastestmirror, security Loading mirror speeds from cached hostfile * base: centos.mirror.ndchost.com * epel: mirror.sjc02.svwh.net * extras: mirror.lax.hugeserver.com * ius: mirror.team-cymru.org * updates: mirrors.usc.edu Installed Packages proj.x86_64 4.8.0-2.rhel6 @pgdg10 Available Packages proj.i686 4.7.0-1.el6 epel proj.x86_64 4.7.0-1.el6 epel proj.x86_64 4.8.0-2.rhel6 pgdg10 proj.x86_64 4.8.0-2.rhel6 pgdg96 I was able to work around by doing: sudo yum downgrade postgis24_10{,-client,-utils}-2.4.2-1.rhel6 Was the postgis24_10 built against a proj from centos7 or not available in repo? -- Justin Pryzby System Administrator Telsasoft +1-952-707-8581