Thread: BUG #15450: postgis 2.4 and postgis 2.5 extention not properly built

BUG #15450: postgis 2.4 and postgis 2.5 extention not properly built

From
PG Bug reporting form
Date:
The following bug has been logged on the website:

Bug reference:      15450
Logged by:          Claudio Nasuti
Email address:      claudio.nasuti@acsys.it
PostgreSQL version: 11.0
Operating system:   linux centos 7.5
Description:

The postgis rpm packages 2.4 and 2.5 are buggy and when installed doe not
allow to create the extension in any DB failing the command
create extension postgis;
reporting the error that is unable to find the function geod_polygon_init.
This is due to fact that it has been compiled against proj-devel instead of
proj49-devel or that build system was in someway dirty.
I took the source rpms  postgis24_11-2.4.5-1.rhel7.1.src.rpm
postgis25_11-2.5.0-1.rhel7.1.src.rpm and rebuild on a fresh centos 7 machine
properly configured with dependency packages 
where there are installed for proj only: 
proj49-devel-4.9.3-3.rhel7.1.x86_64
proj-4.8.0-4.el7.x86_64
proj49-4.9.3-3.rhel7.1.x86_64
and I 've been able to rebuild the postgis24 and postgis25 that are loaded
properly in a fresh install of postgresql-11