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