# PostGIS fails to install because of a bad package link in gdal35

**URL:** https://forums.percona.com/t/postgis-fails-to-install-because-of-a-bad-package-link-in-gdal35/32249
**Category:** PostgreSQL
**Created:** [August 13, 2024, 8:44am UTC](https://forums.percona.com/t/postgis-fails-to-install-because-of-a-bad-package-link-in-gdal35/32249 "2024-08-13T08:44:25Z")
**Posts on this page:** 4
**Page:** 1

<div class="post-metadata">

### Author: ![klynton](https://sea1.discourse-cdn.com/flex019/user_avatar/forums.percona.com/klynton/32/17646_2.png) [@klynton](https://forums.percona.com/u/klynton)
#### Post date: [August 13, 2024, 8:44am UTC](https://forums.percona.com/t/postgis-fails-to-install-because-of-a-bad-package-link-in-gdal35/32249/1 "2024-08-13T08:44:25Z")

</div>

Hey folks,

I tried to install postgis from the percona repos and it fails with this error on EL9 machines:

```auto
[user@host ~]# yum install gdal35
Error: 
 Problem: package gdal35-3.5.3-1.rhel9.x86_64 from ppg-16-release-x86_64 requires gdal35-libs(x86-64) = 3.5.3-1.rhel9, but none of the providers can be installed
  - package gdal35-3.5.3-1.rhel9.x86_64 from ppg-16-release-x86_64 requires libgdal.so.31()(64bit), but none of the providers can be installed
  - conflicting requests
  - nothing provides libarmadillo.so.10()(64bit) needed by gdal35-libs-3.5.3-1.rhel9.x86_64 from ppg-16-release-x86_64
(try to add '--skip-broken' to skip uninstallable packages or '--nobest' to use not only best candidate packages)

```

I see the armadillo 12 package is available from EPEL but it provides a different version of libarmadillo:

```auto
armadillo-12.6.6-2.el9.x86_64 : Fast C++ matrix library with syntax similar to
                              : MATLAB and Octave
Repo : epel
Matched from:
Filename : /usr/lib64/libarmadillo.so.12

```

Can the packages be updated to require the new version of libarmadillo instead of the old one?

---

<div class="post-metadata">

### Author: ![muhammad.aqeel](https://sea1.discourse-cdn.com/flex019/user_avatar/forums.percona.com/muhammad.aqeel/32/19498_2.png) [@muhammad.aqeel](https://forums.percona.com/u/muhammad.aqeel)
#### Post date: [October 8, 2024, 1:49pm UTC](https://forums.percona.com/t/postgis-fails-to-install-because-of-a-bad-package-link-in-gdal35/32249/2 "2024-10-08T13:49:34Z")

</div>

This should be fixed now. We are considering to update the package versions from next release.

---

<div class="post-metadata">

### Author: ![Evgeniy\_Patlan](https://sea1.discourse-cdn.com/flex019/user_avatar/forums.percona.com/evgeniy_patlan/32/41_2.png) [@Evgeniy\_Patlan](https://forums.percona.com/u/Evgeniy_Patlan)
#### Post date: [October 9, 2024, 11:10am UTC](https://forums.percona.com/t/postgis-fails-to-install-because-of-a-bad-package-link-in-gdal35/32249/3 "2024-10-09T11:10:17Z")

</div>

@klynton thanks for the report. it should work.

---

<div class="post-metadata">

### Author: ![klynton](https://sea1.discourse-cdn.com/flex019/user_avatar/forums.percona.com/klynton/32/17646_2.png) [@klynton](https://forums.percona.com/u/klynton)
#### Post date: [October 9, 2024, 11:43am UTC](https://forums.percona.com/t/postgis-fails-to-install-because-of-a-bad-package-link-in-gdal35/32249/4 "2024-10-09T11:43:31Z")

</div>

Thank you for getting this fixed!
