Re: [postgis-users] possible problem with PostGIS on RHEL8

177 views
Skip to first unread message

Paul Ramsey

unread,
Apr 22, 2021, 4:44:38 PM4/22/21
to PostGIS Users Discussion
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 <wa...@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
postgi...@lists.osgeo.org
https://lists.osgeo.org/mailman/listinfo/postgis-users

Worth Lutz

unread,
Apr 22, 2021, 5:01:59 PM4/22/21
to postgi...@lists.osgeo.org
We are pulling the packages from here https://download.postgresql.org/pub/repos/yum/13/redhat/rhel-8-x86_64/

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?

Thanks,

Worth Lutz


Paul Ramsey

unread,
Apr 22, 2021, 5:06:56 PM4/22/21
to PostGIS Users Discussion

Worth Lutz

unread,
Apr 22, 2021, 6:41:25 PM4/22/21
to pra...@cleverelephant.ca, postgi...@lists.osgeo.org, Christian Fowler, Worth Lutz

Worth Lutz

unread,
Apr 23, 2021, 10:13:24 AM4/23/21
to postgi...@lists.osgeo.org
Thanks, Paul.

That is the information I needed and did not stumble upon.

Worth Lutz


Reply all
Reply to author
Forward
0 new messages