Re: Error During PostGIS Build From Source on Linux

From: Adrian Klaver <adrian(dot)klaver(at)aklaver(dot)com>
To: Osahon Oduware <osahon(dot)gis(at)gmail(dot)com>
Cc: pgsql-general(at)postgresql(dot)org
Subject: Re: Error During PostGIS Build From Source on Linux
Date: 2017-04-13 14:00:04
Message-ID: b81c6336-63ab-8ebc-2b97-3adface87707@aklaver.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

On 04/13/2017 02:46 AM, Osahon Oduware wrote:
> Hi Adrian,
>
> I followed the step you provided and the installation was successful.
> However, I created a test database and when I try to create a postgis
> extension in the test database using:
> CREATE EXTENSION postgis;
>
> I get the following error:
> ERROR: could not load library "/path/to/postgresql/lib/postgis-2.3.so
> <http://postgis-2.3.so>": /path/to/postgresql/lib/postgis-2.3.so
> <http://postgis-2.3.so>: undefined symbol: GEOSClipByRect
>
> Please, do you have any idea what I might be doing wrong?
>

Should have added to my previous post:

If you are going to compile the code, the output at the end of the
./configure process for Postgis is helpful. It helps identify what is
going to be included and what is not.

In my case:

PostGIS is now configured for x86_64-pc-linux-gnu

-------------- Compiler Info -------------
C compiler: gcc -g -O2
SQL preprocessor: /usr/bin/cpp -traditional-cpp -w -P

-------------- Dependencies --------------
GEOS config: /usr/bin/geos-config
GEOS version: 3.5.1
GDAL config: /home/aklaver/gdal/bin/gdal-config
GDAL version: 2.1.3
PostgreSQL config: /usr/local/pgsql/bin/pg_config
PostgreSQL version: PostgreSQL 9.5.6
PROJ4 version: 49
Libxml2 config: /usr/bin/xml2-config
Libxml2 version: 2.9.4
JSON-C support: no
PCRE support: yes
PostGIS debug level: 0
Perl: /usr/bin/perl

--------------- Extensions ---------------
PostGIS Raster: enabled
PostGIS Topology: enabled
SFCGAL support: disabled
Address Standardizer support: enabled

-------- Documentation Generation --------
xsltproc: /usr/bin/xsltproc
xsl style sheets:
dblatex:
convert: /usr/bin/convert
mathml2.dtd: http://www.w3.org/Math/DTD/mathml2/mathml2.dtd

--
Adrian Klaver
adrian(dot)klaver(at)aklaver(dot)com

In response to

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Osahon Oduware 2017-04-13 14:54:16 Re: Error During PostGIS Build From Source on Linux
Previous Message Adrian Klaver 2017-04-13 13:14:50 Re: Error During PostGIS Build From Source on Linux