Re: [GENERAL] Error During PostGIS Build From Source on Linux - Mailing list pgsql-general

From Adrian Klaver
Subject Re: [GENERAL] Error During PostGIS Build From Source on Linux
Date
Msg-id d91e5ff9-62d3-77e6-4dfd-666cb7e57021@aklaver.com
Whole thread Raw
In response to Re: [GENERAL] Error During PostGIS Build From Source on Linux  (Osahon Oduware <osahon.gis@gmail.com>)
Responses Re: [GENERAL] Error During PostGIS Build From Source on Linux
Fwd: [GENERAL] Error During PostGIS Build From Source on Linux
List pgsql-general
On 04/14/2017 12:20 PM, Osahon Oduware wrote:
> Hi Adrian,
>

Something I meant to refer to earlier, it is considered bad etiquette to
cross post to multiple lists. It means in this case I have to remember
to drop the postgis list from my replies as I am not a member of that
list and I get a rejection notice if I forget.

> I installed Proj from source and I can confirm that the
> file libproj.so.12 is in its lib folder.

That directory would be?

>
> I have not been able to confirm if it is linked to postgis-2.3.so
> <http://postgis-2.3.so/> as I am away for Easter holiday.
>
> Just in case, how do I do the linking of libproj.so.12 to postgis-2.3.so
> <http://postgis-2.3.so/> as I believe this could be the cause of the
> error. Also, I tried earlier to copy the file to the PostgreSQL lib
> folder and this time when I try to run "CREATE EXTENSION postgis;" I get
> the initial 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

Probably going to involve dealing with ldconfig.

Look in /etc/ld.so.conf and see if the directory that contains
libproj.so.12 is in there?

>
> I will be glad if anyone could help with this.
>

--
Adrian Klaver
adrian.klaver@aklaver.com


pgsql-general by date:

Previous
From: Moreno Andreo
Date:
Subject: Re: [GENERAL] Service outage: each postgres process use the exactamount of the configured work_mem [(AUTO-RE)SOLVED...]
Next
From: John R Pierce
Date:
Subject: Re: [GENERAL] Error During PostGIS Build From Source on Linux