daniviga / QGIS

QGIS is a free, open source, cross platform (lin/win/mac) geographical information system (GIS)
https://qgis.org
GNU General Public License v2.0
0 stars 0 forks source link

Fedora 37 Failed to start QGIS #2

Open ryanm-cpu opened 1 year ago

ryanm-cpu commented 1 year ago

What is the bug or the crash?

Hi, I am having trouble with starting QGIS(qgis-3.28.1-1.fc37.x86_64) after upgrading to Fedora 37. The main problem that I found reading through other posts with similar issues is the that the GDAL version that came with the fedora37. I am using repos from dani/qgis which is found at "https://copr.fedorainfracloud.org/coprs/dani/qgis/". Here is the output for starting the qgis from the terminal:

[ryan@fedora ~]$ qgis qgis: symbol lookup error: /lib64/libqgis_core.so.3.28.1: undefined symbol: GEOSConcaveHull_r

[ryan@fedora ~]$ rpm -aq | grep gdal [sudo] password for ryan: gdal-libs-3.5.2-1.fc37.x86_64 gdal-3.5.2-1.fc37.x86_64 python3-gdal-3.5.2-1.fc37.x86_64 gdal-python-tools-3.5.2-1.fc37.x86_64

Does anyone have ideas on which version of GDAL I should use or is there a stable version of QGIS that I can install via rpm that is complete?

Steps to reproduce the issue

[ryan@fedora ~]$ qgis qgis: symbol lookup error: /lib64/libqgis_core.so.3.28.1: undefined symbol: GEOSConcaveHull_r

Versions

3.28.1

Supported QGIS version

New profile

Additional context

No response

ryanm-cpu commented 1 year ago

I figured it out after I posted:

1.) go to the following website and the one that worked was the long term release version

https://qgis.org/en/site/forusers/alldownloads.html

2.)I just had to check which version uses the dani:gis repo with the long term release. (Don't use the prebuilt fedora versions because they do not work for some reason)

ryan@fedora ~]$ sudo dnf whatprovides qgis [sudo] password for ryan: Last metadata expiration check: #:##:## ago on Sun ## Dec 2022 ##:##:## AM MST. qgis-3.22.13-2.fc37.x86_64 : A user friendly Open Source Geographic Information System Repo : @System Matched from: Provide : qgis = 3.22.13-2.fc37

qgis-3.22.13-2.fc37.x86_64 : A user friendly Open Source Geographic Information System Repo : copr:copr.fedorainfracloud.org:dani:qgis-ltr Matched from: Provide : qgis = 3.22.13-2.fc37****

qgis-3.26.1-2.fc37.i686 : A user friendly Open Source Geographic Information System Repo : fedora Matched from: Provide : qgis = 3.26.1-2.fc37

qgis-3.26.1-2.fc37.x86_64 : A user friendly Open Source Geographic Information System Repo : fedora Matched from: Provide : qgis = 3.26.1-2.fc37

qgis-3.28.1-1.fc37.x86_64 : A user friendly Open Source Geographic Information System Repo : copr:copr.fedorainfracloud.org:dani:qgis Matched from: Provide : qgis = 3.28.1-1.fc37

3.)Then I just installed it by the next command(as per instructions in step 1 except with the approp addition):

ryan@fedora ~]$ sudo dnf install qgis-3.22.13-2.fc37.x86_64

4.)also follow similar steps in 2 and 3 with installing qgis-grass and python3-qgis