[Slackbuilds-users] QGIS 3 on Slackware

Rich Shepard rshepard at appl-ecosys.com
Wed Mar 7 02:13:18 UTC 2018


On Tue, 6 Mar 2018, Benjamin Trigona-Harany wrote:

> rm -r python/plugins/GdalTools
> make > output.log

Ben,

   Log file (about 3k smaller) is attached, and I think I see the problem. On the v.t. I see:

/usr/lib/gcc/i586-slackware-linux/5.5.0/../../../../i586-slackware-linux/bin/ld: warning: libproj.so.12, needed by /usr/lib/gcc/i586-slackware-linux/5.5.0/../../../libspatialite.so, not found (try using -rpath or -rpath-link)
/usr/lib/gcc/i586-slackware-linux/5.5.0/../../../../i586-slackware-linux/bin/ld: warning: libproj.so.12, needed by /usr/lib/gcc/i586-slackware-linux/5.5.0/../../../libspatialite.so, not found (try using -rpath or -rpath-link)
/usr/lib/gcc/i586-slackware-linux/5.5.0/../../../../i586-slackware-linux/bin/ld: warning: libproj.so.12, needed by /usr/lib/gcc/i586-slackware-linux/5.5.0/../../../libspatialite.so, not found (try using -rpath or -rpath-link)
/usr/lib/gcc/i586-slackware-linux/5.5.0/../../../../i586-slackware-linux/bin/ld: warning: libproj.so.12, needed by /usr/lib/gcc/i586-slackware-linux/5.5.0/../../../libspatialite.so, not found (try using -rpath or -rpath-link)
Traceback (most recent call last):
   File "../../../../../scripts/pyuic-wrapper.py", line 26, in <module>
     import qgis.PyQt.uic.pyuic
   File "/opt/SBo/qgis-2.18.17/build/output/python/qgis/__init__.py", line 27, in <module>
     from qgis.core import QgsFeature, QgsGeometry
   File "/opt/SBo/qgis-2.18.17/build/output/python/qgis/core/__init__.py", line 30, in <module>
     from qgis._core import *
ImportError: libproj.so.12: cannot open shared object file: No such file or directory
make[2]: *** [python/plugins/GdalTools/tools/ui_widgetSieve.py] Error 1
make[1]: *** [python/plugins/GdalTools/tools/CMakeFiles/zzz-GdalTools-2-depend.dir/all] Error 2
make: *** [all] Error 2

and the build is looking for libproj.so.12. Here, libproj-4.4.7-i486-2 is
installed and provides /usr/lib/libproj.so.13.

HTH,

Rich
-------------- next part --------------
-- QGIS version: 2.18.17 Las Palmas (21817)
-- Could not find GRASS 6
-- Could not find GRASS 7
-- Found Proj: /usr/lib/libproj.so
-- Found GEOS: /usr/lib/libgeos_c.so (3.6.2)
-- Found GDAL: /usr/lib/libgdal.so (2.2.3)
-- Found Expat: /usr/lib/libexpat.so
-- Found Spatialindex: /usr/lib/libspatialindex.so
-- Found Qwt: /usr/lib/libqwt.so (6.1.3)
-- Found Sqlite3: /usr/lib/libsqlite3.so
-- Found PostgreSQL: /usr/lib/postgresql/10.2/lib/libpq.so
-- Found SpatiaLite: /usr/lib/libspatialite.so
-- Qt WebKit support enabled
-- Found Qt version: 4.8.7
-- Touch support disabled
-- Found QScintilla2: /usr/lib/libqscintilla2.so (2.4)
-- Found QCA: /usr/lib/libqca.so (2.1.1)
-- Found QCA OpenSSL plugin
-- Pedantic compiler settings enabled
-- Found Python executable: /usr/bin/python2.7
-- Found Python version: 2.7.14
-- Found Python library: /usr/lib/libpython2.7.so
-- Found PyQt4 version: 4.11.4
-- Found SIP version: 4.18
-- Found QScintilla2 PyQt module: 2.9.1
-- Found QwtPolar: /usr/lib/libqwtpolar.so
-- Found GSL: -L/usr/lib -lgsl -lgslcblas -lm
-- txt2tags not found - disabled
-- Configuring done
-- Generating done
-- Build files have been written to: /opt/SBo/qgis-2.18.17/build
[  0%] Built target version
Scanning dependencies of target qgis_core
[  0%] Building CXX object src/core/CMakeFiles/qgis_core.dir/qgis.cpp.o
[  0%] Building CXX object src/core/CMakeFiles/qgis_core.dir/qgserror.cpp.o
[  0%] Linking CXX shared library ../../output/lib/libqgis_core.so
[ 18%] Built target qgis_core
[ 18%] Linking CXX shared library ../../output/lib/libqgis_analysis.so
[ 20%] Built target qgis_analysis
[ 20%] Linking CXX shared library ../../../output/lib/libqgis_networkanalysis.so
[ 21%] Built target qgis_networkanalysis
[ 29%] Built target ui
[ 29%] Linking CXX shared library ../../output/lib/libqgis_gui.so
[ 57%] Built target qgis_gui
[ 57%] Linking CXX shared module ../../../output/lib/qgis/libbasicauthmethod.so
[ 57%] Built target basicauthmethod
[ 57%] Linking CXX shared module ../../../output/lib/qgis/libidentcertauthmethod.so
[ 57%] Built target identcertauthmethod
[ 57%] Linking CXX shared module ../../../output/lib/qgis/libpkipathsauthmethod.so
[ 58%] Built target pkipathsauthmethod
[ 58%] Linking CXX shared module ../../../output/lib/qgis/libpkcs12authmethod.so
[ 58%] Built target pkcs12authmethod
[ 58%] Linking CXX shared module ../../../output/lib/qgis/libarcgisfeatureserverprovider.so
[ 58%] Built target arcgisfeatureserverprovider
[ 59%] Linking CXX shared module ../../../output/lib/qgis/libarcgismapserverprovider.so
[ 59%] Built target arcgismapserverprovider
[ 59%] Linking CXX shared module ../../../output/lib/qgis/libmemoryprovider.so
[ 59%] Built target memoryprovider
[ 59%] Linking CXX shared module ../../../output/lib/qgis/libogrprovider.so
[ 59%] Built target ogrprovider
[ 60%] Built target wmsprovider_a
[ 60%] Linking CXX shared module ../../../output/lib/qgis/libwmsprovider.so
[ 61%] Built target wmsprovider
[ 61%] Linking CXX shared module ../../../output/lib/qgis/libdelimitedtextprovider.so
[ 61%] Built target delimitedtextprovider
[ 61%] Linking CXX shared module ../../../output/lib/qgis/libgdalprovider.so
[ 61%] Built target gdalprovider
[ 61%] Linking CXX shared module ../../../output/lib/qgis/libmssqlprovider.so
[ 61%] Built target mssqlprovider
[ 61%] Linking CXX shared module ../../../output/lib/qgis/libowsprovider.so
[ 61%] Built target owsprovider
[ 61%] Linking CXX shared module ../../../output/lib/qgis/libwcsprovider.so
[ 61%] Built target wcsprovider
[ 61%] Linking CXX shared module ../../../output/lib/qgis/libgpxprovider.so
[ 61%] Built target gpxprovider
[ 61%] Linking CXX shared module ../../../output/lib/qgis/libwfsprovider.so
[ 62%] Built target wfsprovider
[ 62%] Linking CXX shared module ../../../output/lib/qgis/libspatialiteprovider.so
[ 62%] Built target spatialiteprovider
[ 63%] Linking CXX shared module ../../../output/lib/qgis/libvirtuallayerprovider.so
[ 63%] Built target virtuallayerprovider
[ 63%] Linking CXX shared module ../../../output/lib/qgis/libdb2provider.so
[ 64%] Built target db2provider
[ 65%] Linking CXX shared module ../../../output/lib/qgis/libpostgresprovider.so
[ 65%] Built target postgresprovider
[ 65%] Linking CXX executable ../../output/bin/crssync
[ 65%] Built target crssync
[ 66%] Built target libdxfrw
[ 66%] Linking CXX shared library ../../output/lib/libqgis_app.so
[ 82%] Built target qgis_app
Scanning dependencies of target qgis
[ 82%] Building CXX object src/app/CMakeFiles/qgis.dir/main.cpp.o
[ 82%] Linking CXX executable ../../output/bin/qgis
[ 82%] Built target qgis
[ 82%] Linking CXX executable ../../output/lib/qgis/qgis_help
[ 82%] Built target qgis_help
[ 82%] Linking CXX executable ../../output/bin/qbrowser
[ 82%] Built target qbrowser
[ 82%] Linking CXX shared module ../../../output/lib/qgis/libinterpolationplugin.so
[ 83%] Built target interpolationplugin
[ 83%] Linking CXX shared module ../../../output/lib/qgis/liboracleplugin.so
[ 84%] Built target oracleplugin
[ 84%] Linking CXX shared module ../../../output/lib/qgis/librasterterrainplugin.so
[ 84%] Built target rasterterrainplugin
[ 84%] Linking CXX shared module ../../../output/lib/qgis/libcoordinatecaptureplugin.so
[ 84%] Built target coordinatecaptureplugin
[ 84%] Linking CXX shared module ../../../output/lib/qgis/libdxf2shpconverterplugin.so
[ 85%] Built target dxf2shpconverterplugin
[ 85%] Linking CXX shared module ../../../output/lib/qgis/libevis.so
[ 86%] Built target evis
[ 86%] Linking CXX shared module ../../../output/lib/qgis/libspatialqueryplugin.so
[ 87%] Built target spatialqueryplugin
[ 87%] Linking CXX shared module ../../../output/lib/qgis/libroadgraphplugin.so
[ 88%] Built target roadgraphplugin
[ 88%] Linking CXX shared module ../../../output/lib/qgis/libzonalstatisticsplugin.so
[ 88%] Built target zonalstatisticsplugin
[ 88%] Linking CXX shared module ../../../output/lib/qgis/libgeorefplugin.so
[ 90%] Built target georefplugin
[ 91%] Linking CXX shared module ../../../output/lib/qgis/libgpsimporterplugin.so
[ 91%] Built target gpsimporterplugin
[ 91%] Linking CXX shared module ../../../output/lib/qgis/libtopolplugin.so
[ 92%] Built target topolplugin
[ 92%] Linking CXX shared module ../../../output/lib/qgis/libofflineeditingplugin.so
[ 93%] Built target offlineeditingplugin
[ 93%] Linking CXX shared module ../../../output/lib/qgis/libheatmapplugin.so
[ 93%] Built target heatmapplugin
[ 93%] Linking CXX shared module ../../../output/lib/qgis/libgeometrycheckerplugin.so
[ 95%] Built target geometrycheckerplugin
[ 95%] Linking CXX shared module ../../../output/lib/qgis/libgeometrysnapperplugin.so
[ 96%] Built target geometrysnapperplugin
[ 96%] Linking CXX shared library ../../output/lib/libqgispython.so
[ 96%] Built target qgispython
[ 97%] Built target translations
[ 97%] Linking CXX shared module ../output/python/qgis/_analysis.so
[ 97%] Built target python_module_qgis__analysis
[ 97%] Linking CXX shared module ../output/python/qgis/_gui.so
[ 97%] Built target python_module_qgis__gui
[ 97%] Built target pysix
Scanning dependencies of target zzz-GdalTools-3-depend
[ 97%] Built target zzz-GdalTools-3-depend
Scanning dependencies of target zzz-GdalTools-1-depend
[ 97%] Generating resources_rc.py
[ 97%] Built target zzz-GdalTools-1-depend
[ 97%] Built target pyutils
[ 97%] Built target pyqtcompat
[ 97%] Built target pygui
[ 97%] Linking CXX shared module ../output/python/qgis/_core.so
[ 97%] Built target python_module_qgis__core
[ 97%] Built target pycore
Scanning dependencies of target zzz-GdalTools-2-depend
[ 97%] Generating ui_widgetSieve.py
python/plugins/GdalTools/tools/CMakeFiles/zzz-GdalTools-2-depend.dir/build.make:117: recipe for target 'python/plugins/GdalTools/tools/ui_widgetSieve.py' failed
CMakeFiles/Makefile2:4276: recipe for target 'python/plugins/GdalTools/tools/CMakeFiles/zzz-GdalTools-2-depend.dir/all' failed
Makefile:149: recipe for target 'all' failed


More information about the SlackBuilds-users mailing list