Re: [GENERAL] Error During PostGIS Build From Source on Linux

2017-04-18 Thread Osahon Oduware
Hi Adrian, This suggestion helped to resolve the problem. Thanks a lot for your help. On Sat, Apr 15, 2017 at 8:02 PM, Adrian Klaver wrote: > On 04/15/2017 11:25 AM, John R Pierce wrote: > >> On 4/15/2017 10:49 AM, Adrian Klaver wrote: >> >>> >>> Probably going to

Fwd: [GENERAL] Error During PostGIS Build From Source on Linux

2017-04-18 Thread Osahon Oduware
Noted 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.

Re: [GENERAL] Error During PostGIS Build From Source on Linux

2017-04-17 Thread Devrim Gündüz
Hi, On Wed, 2017-04-12 at 16:10 -0700, John R Pierce wrote: > if you install those packages from the yum repository, doesn't postgis  > include raster support? It does. Regards, -- Devrim Gündüz EnterpriseDB: http://www.enterprisedb.com PostgreSQL Danışmanı/Consultant, Red Hat Certified

Re: [GENERAL] Error During PostGIS Build From Source on Linux

2017-04-15 Thread Adrian Klaver
On 04/15/2017 11:25 AM, John R Pierce wrote: On 4/15/2017 10:49 AM, Adrian Klaver wrote: 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? the catch-22 is, /etc/ld.so.conf is a global thing, and this

Re: [GENERAL] Error During PostGIS Build From Source on Linux

2017-04-15 Thread John R Pierce
On 4/15/2017 10:49 AM, Adrian Klaver wrote: 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? the catch-22 is, /etc/ld.so.conf is a global thing, and this guy is building all his stuff to run under

Re: [GENERAL] Error During PostGIS Build From Source on Linux

2017-04-15 Thread Adrian Klaver
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

Re: [GENERAL] Error During PostGIS Build From Source on Linux

2017-04-14 Thread Osahon Oduware
Hi Adrian, I installed Proj from source and I can confirm that the file libproj.so.12 is in its lib folder. I have not been able to confirm if it is linked to 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 as I believe

Re: [GENERAL] Error During PostGIS Build From Source on Linux

2017-04-13 Thread Adrian Klaver
On 04/13/2017 07:54 AM, Osahon Oduware wrote: Hi Adrian, Thanks for your help so far. This is the output of the PostGIS configuration: -- Compiler Info - C compiler: gcc -g -O2 SQL preprocessor: /usr/bin/cpp -traditional-cpp -w -P --

Re: [GENERAL] Error During PostGIS Build From Source on Linux

2017-04-13 Thread Osahon Oduware
Hi Adrian, Thanks for your help so far. This is the output of the PostGIS configuration: -- Compiler Info - C compiler: gcc -g -O2 SQL preprocessor: /usr/bin/cpp -traditional-cpp -w -P -- Dependencies -- GEOS config:

Re: [GENERAL] Error During PostGIS Build From Source on Linux

2017-04-13 Thread Adrian Klaver
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:

Re: [GENERAL] Error During PostGIS Build From Source on Linux

2017-04-13 Thread Adrian Klaver
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:

Re: [GENERAL] Error During PostGIS Build From Source on Linux

2017-04-13 Thread Osahon Oduware
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

Re: [GENERAL] Error During PostGIS Build From Source on Linux

2017-04-12 Thread John R Pierce
On 4/12/2017 10:14 AM, Osahon Oduware wrote: Hi All, I am working on a Linux OS (Centos 6.5). I built GDAL successfully from source as below: ... I sure need the raster support to be enabled in PostGIS. Could anyone help me out with this. if you install those packages from the yum

Re: [GENERAL] Error During PostGIS Build From Source on Linux

2017-04-12 Thread Adrian Klaver
On 04/12/2017 02:37 PM, Osahon Oduware wrote: Hi Adrian, Thanks for your response. From the solution you provided, does it mean I have to build PostgreSQL first from source, before building GDAL from source? Alright did a test run of the build. I installed the dev packages for GEOS and Proj

Re: [GENERAL] Error During PostGIS Build From Source on Linux

2017-04-12 Thread Adrian Klaver
On 04/12/2017 02:37 PM, Osahon Oduware wrote: Hi Adrian, Thanks for your response. From the solution you provided, does it mean I have to build PostgreSQL first from source, before building GDAL from source? Well you need something to provide pg_config for the version of Postgres you want to

Re: [GENERAL] Error During PostGIS Build From Source on Linux

2017-04-12 Thread Osahon Oduware
Hi Adrian, Thanks for your response. From the solution you provided, does it mean I have to build PostgreSQL first from source, before building GDAL from source? On Apr 12, 2017 19:24, "Adrian Klaver" wrote: On 04/12/2017 11:11 AM, Rob Sargent wrote: > > > On

Re: [GENERAL] Error During PostGIS Build From Source on Linux

2017-04-12 Thread Adrian Klaver
On 04/12/2017 11:11 AM, Rob Sargent wrote: On 04/12/2017 12:01 PM, Adrian Klaver wrote: On 04/12/2017 10:14 AM, Osahon Oduware wrote: Hi All, I am working on a Linux OS (Centos 6.5). I built GDAL successfully from source as below: ./configure --prefix=/path/to/gdal make make install Next I

Re: [GENERAL] Error During PostGIS Build From Source on Linux

2017-04-12 Thread Rob Sargent
On 04/12/2017 12:01 PM, Adrian Klaver wrote: On 04/12/2017 10:14 AM, Osahon Oduware wrote: Hi All, I am working on a Linux OS (Centos 6.5). I built GDAL successfully from source as below: ./configure --prefix=/path/to/gdal make make install Next I built PostgreSQL successfully from source

Re: [GENERAL] Error During PostGIS Build From Source on Linux

2017-04-12 Thread Adrian Klaver
On 04/12/2017 10:14 AM, Osahon Oduware wrote: Hi All, I am working on a Linux OS (Centos 6.5). I built GDAL successfully from source as below: ./configure --prefix=/path/to/gdal make make install Next I built PostgreSQL successfully from source as below: ./configure --prefix=/path/to/pgsql

[GENERAL] Error During PostGIS Build From Source on Linux

2017-04-12 Thread Osahon Oduware
Hi All, I am working on a Linux OS (Centos 6.5). I built GDAL successfully from source as below: ./configure --prefix=/path/to/gdal make make install Next I built PostgreSQL successfully from source as below: ./configure --prefix=/path/to/pgsql make make install I attempted to configure PostGIS