[postgis-users] possible problem with PostGIS on RHEL8

Worth Lutz wal3 at mindspring.com
Thu Apr 22 14:01:50 PDT 2021

We are pulling the packages from here 

That is where the inconsistencies described below are and cause proj 7 
and proj 8 to be installed.

postgis31_13-3.1.1-1.rhel8.x86_64.rpm seems to be the last to require 
Proj7.  But it requires gdal 3.2 and the gdal32-libs-3.2.2 require Proj8.

This pulls on both versions of proj and when we build MapServer it picks 
up both libraries. MapServer crashes due to the multiple proj libraries.

There seem to be no gdal32-libs requiring proj 7.

Can someone confirm this inconsistency and suggest a solution?


*Worth Lutz*

On 4/22/2021 4:44 PM, Paul Ramsey wrote:
> Please stick to the users list.
> You might need to build mapserver from source. Or other components. Unless a packager has build EVERYTHING you want, the kinds of cross deps you're seeing to happen. I generally use packages from the PGDG yum repo, which mostly work, most of the time. But that doesn't include MapServer.
> ATB<
> P
>> On Apr 22, 2021, at 1:34 PM, Worth Lutz <wal3 at mindspring.com> wrote:
>> Hi Paul,
>> We are trying to get MapServer and PostGIS installed on RHEL8.2.  We have had problems with multiple versions of proj and gdal getting installed which is causing the MapServer to link to both and crash.
>> We are having a hard time finding a version of PostGIS to install which does not have Proj8 as MapServer is not ready for that yet.
>> I think I have found a inconsistency in the gdal32-libs builds.
>> Here is what I'm looking at:
>>      postgis31_13-3.1.1-1.rhel8.x86_64.rpm     This uses proj  >= 7.2.1 & gdal-libs >= 3.2.1  and should work for MapServer
>>      gdal32-3.2.2-12.rhel8.x86_64.rpm         to meet the above requirement - requires gdal32-libs = 3.2.2-12.rhel8
>>      gdal32-libs-3.2.2-12.rhel8.x86_64.rpm  here is the problem  - requires proj80 >= 8.0
>> When I look at gdal32-libs-3.2.2-13.rhel8.x86_64.rpm it also requires proj8.
>> I see no earlier version of gdal like v3.2.1 so I expected one of the gdal-libs above to use proj 7 and the other to use proj8.  Am I wrong to expect that? Or am I missing something?
>> Can you point me to the correct postGIS to use with MapServer on RHEL8?  Or to someone who might have a solution?
>> Thanks,
>> -- 
>> Worth Lutz
> _______________________________________________
> postgis-users mailing list
> postgis-users at lists.osgeo.org
> https://lists.osgeo.org/mailman/listinfo/postgis-users

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/postgis-users/attachments/20210422/187d515c/attachment.html>

More information about the postgis-users mailing list