pg.ddx.io  pgsql-bugs@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: PG Bug reporting form <noreply@postgresql.org>
To: pgsql-bugs@lists.postgresql.org
Cc: rdb@ybits.net
Subject: BUG #15029: Cannot create postgis extension after install
Date: Wed, 24 Jan 2018 20:51:16 +0000
Message-ID: <20180124205116.25009.89011@wrigleys.postgresql.org> (raw)

The following bug has been logged on the website:

Bug reference:      15029
Logged by:          Ryan Bowman
Email address:      rdb@ybits.net
PostgreSQL version: 10.1
Operating system:   CentOS release 6.9 (Final)
Description:        

After installing (via yum) and initializing our postgres 10.1 server, I'm
unable to create the postgis extension without manually building and
installing the latest release of postgis 2.4 (2.4.2):

> yum install
https://download.postgresql.org/pub/repos/yum/10/redhat/rhel-6-x86_64/pgdg-centos10-10-2.noarch.rpm

> yum install postgresql10-server postgresql10-devel postgresql10-contrib
postgis24_10 postgis24_10-client postgis24_10-utils postgis24_10-devel
postgresql10-plperl

> /etc/init.d/postgresql-10 initdb

> /usr/pgsql-10/bin/psql -c "create extension postgis"
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

I should note that we have an existing version of postgres 9.2 installed; I
don't see how that could be interfering but it's worth noting.

I was able to get around this issue, as I mentioned above, by manually
downloading, building and installing postgis-2.4.2

I think I've included everything here; if I'm missing something obvious, do
let me know :)











Message-ID: <20180124205116.25009.89011@wrigleys.postgresql.org>
Permalink:  ../20180124205116.25009.89011@wrigleys.postgresql.org/
Also on:    postgresql.org/message-id/20180124205116.25009.89011@wrigleys.postgresql.org

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-bugs@postgresql.org
  Cc: noreply@postgresql.org, rdb@ybits.net
  Subject: Re: BUG #15029: Cannot create postgis extension after install
  In-Reply-To: <20180124205116.25009.89011@wrigleys.postgresql.org>
  References: <20180124205116.25009.89011@wrigleys.postgresql.org>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox