Re: Error During PostGIS Build From Source on Linux

From: John R Pierce <pierce(at)hogranch(dot)com>
To: pgsql-general(at)postgresql(dot)org
Subject: Re: Error During PostGIS Build From Source on Linux
Date: 2017-04-15 18:25:45
Message-ID: aeca0d5f-eb68-874c-8d9b-cb71114e4af2@hogranch.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

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.

--
john r pierce, recycling bits in santa cruz

In response to

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Adrian Klaver 2017-04-15 19:02:29 Re: Error During PostGIS Build From Source on Linux
Previous Message Adrian Klaver 2017-04-15 17:49:30 Re: Error During PostGIS Build From Source on Linux