From: | Osahon Oduware <osahon(dot)gis(at)gmail(dot)com> |
---|---|
To: | Adrian Klaver <adrian(dot)klaver(at)aklaver(dot)com> |
Cc: | John R Pierce <pierce(at)hogranch(dot)com>, pgsql-general(at)postgresql(dot)org |
Subject: | Re: Error During PostGIS Build From Source on Linux |
Date: | 2017-04-18 13:32:40 |
Message-ID: | CAGpiUSgmPZ72FfkpP8pbRjvo38NzndfirzbVSvakHTLB3aeXww@mail.gmail.com |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-general |
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 <adrian(dot)klaver(at)aklaver(dot)com>
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 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 his /home/username/.... (where, btw,
>> selinux might get unhappy with you). instead, if its private stuff
>> like that, use LD_LIBRARY_PATH in the environment of the processes that
>> need the libraries. or link with the paths hard coded, eg
>> -Wl,-rpath=/home/username/..../lib64 when linking the packages that
>> refer to these libraries.
>>
>
> Well when I did my build I also did some of it in my /home directory to
> replicate the OP's process to a certain extent. To get everything to run I
> symlinked the *.so's into the corresponding global directory covered by
> ld.so.config and ran ldconfig. Then all was golden. Before that I got
> similar error messages when CREATEing the postgis extension.
>
>
>>
>>
>>
>>
>
> --
> Adrian Klaver
> adrian(dot)klaver(at)aklaver(dot)com
>
>
>
> --
> Sent via pgsql-general mailing list (pgsql-general(at)postgresql(dot)org)
> To make changes to your subscription:
> http://www.postgresql.org/mailpref/pgsql-general
>
From | Date | Subject | |
---|---|---|---|
Next Message | Osahon Oduware | 2017-04-18 13:41:28 | QGIS Loads Black Screen For PostGIS Out-Db Raster Data |
Previous Message | Osahon Oduware | 2017-04-18 13:30:46 | Fwd: Error During PostGIS Build From Source on Linux |