I recently ran a full update on my Manjaro-System, afterwards I opened QGIS and got the following message.
qgis: error while loading shared libraries: libproj.so.15: cannot open shared object file: No such file or directory
I solved this by reinstalling QGIS to the current LTR (3.16.5). However, when I opened my current project containing a PostGIS-Layer it could not connect to this layer. I went into pgAdmin and checked. The database is still there and working. I can open any table, that has no geometry/geography column, but when I try to display the data of the table, that is not connecting in QGIS (containing one geography column) I get the following error:
ERROR: could not load library "/usr/lib/postgresql/postgis-3.so": libproj.so.15: cannot open shared object file: No such file or directory SQL state: 58P01
I checked online and found PostGIS 2.5 error while compiling from source on Ubuntu Server 18.04, indicating, that I may have to update my proj
package. I checked and apparently it is the outdated version 6.3.2, which is still in the package manager. I manually updated to 8.0.0-1 but this didn't solve the problem and also caused the same QGIS error in the console again.
Currently the version setup is:
- QGIS: Version 3.16.5
- Postgres: Version 12.6-1
- PostGIS: Version 3.0.3-1
- proj: Version 6.3.2-1
- Manjaro: KDE-Plasma 5.21.3
- Kernel: 4.19.183-1-Manjaro
I think it has something to do with proj
but I don't know, what exactly is wrong and don't want to dabble without a clue.