#6 Fix loading libspatialite

Fermé
FrancoisB veut fusionner 1 commits à partir de FrancoisB/libspatialite vers FFDN/master

I'm not an expert on sqlite, but on my system, I was not able to generate the db. i'm using sqlite 3.9.2 libspatialite 4.3.0.a-1.

The message was: /usr/lib/libspatialite.so: undefined symbol: sqlite3_spatialite_init

This PR fixes the problem on my system. it seems to be due to an evolution of the library...

Thanks

I'm not an expert on sqlite, but on my system, I was not able to generate the db. i'm using sqlite 3.9.2 libspatialite 4.3.0.a-1. The message was: /usr/lib/libspatialite.so: undefined symbol: sqlite3_spatialite_init This PR fixes the problem on my system. it seems to be due to an evolution of the library... Thanks
sebian a commenté il y a 8 ans
Propriétaire

Hi here!

Sorry the the delay on this issue… and thanks for this PR!

On a Debian based os, it seems that libspatialite.so come with the package libspatialite<id> or libspatialite-dev.

% apt-file search spatialite.so   
libspatialite-dev: /usr/lib/x86_64-linux-gnu/libspatialite.so
libspatialite5: /usr/lib/x86_64-linux-gnu/libspatialite.so.5
libspatialite5: /usr/lib/x86_64-linux-gnu/libspatialite.so.5.1.0
libspatialite7: /usr/lib/x86_64-linux-gnu/libspatialite.so.7
libspatialite7: /usr/lib/x86_64-linux-gnu/libspatialite.so.7.1.0
libspatialite7: /usr/lib/x86_64-linux-gnu/libspatialite.so.7.1.1
libsqlite3-mod-spatialite: /usr/lib/x86_64-linux-gnu/mod_spatialite.so
libsqlite3-mod-spatialite: /usr/lib/x86_64-linux-gnu/mod_spatialite.so.7
libsqlite3-mod-spatialite: /usr/lib/x86_64-linux-gnu/mod_spatialite.so.7.1.0
python-pyspatialite: /usr/lib/pyshared/python2.7/pyspatialite/_spatialite.so
python-pyspatialite: /usr/lib/python2.7/dist-packages/pyspatialite/_spatialite.so
qgis-providers: /usr/lib/x86_64-linux-gnu/qt4/plugins/sqldrivers/libqsqlspatialite.so
Hi here! Sorry the the delay on this issue… and thanks for this PR! On a Debian based os, it seems that libspatialite.so come with the package `libspatialite<id>` or `libspatialite-dev`. ``` % apt-file search spatialite.so libspatialite-dev: /usr/lib/x86_64-linux-gnu/libspatialite.so libspatialite5: /usr/lib/x86_64-linux-gnu/libspatialite.so.5 libspatialite5: /usr/lib/x86_64-linux-gnu/libspatialite.so.5.1.0 libspatialite7: /usr/lib/x86_64-linux-gnu/libspatialite.so.7 libspatialite7: /usr/lib/x86_64-linux-gnu/libspatialite.so.7.1.0 libspatialite7: /usr/lib/x86_64-linux-gnu/libspatialite.so.7.1.1 libsqlite3-mod-spatialite: /usr/lib/x86_64-linux-gnu/mod_spatialite.so libsqlite3-mod-spatialite: /usr/lib/x86_64-linux-gnu/mod_spatialite.so.7 libsqlite3-mod-spatialite: /usr/lib/x86_64-linux-gnu/mod_spatialite.so.7.1.0 python-pyspatialite: /usr/lib/pyshared/python2.7/pyspatialite/_spatialite.so python-pyspatialite: /usr/lib/python2.7/dist-packages/pyspatialite/_spatialite.so qgis-providers: /usr/lib/x86_64-linux-gnu/qt4/plugins/sqldrivers/libqsqlspatialite.so ```
xcombelle a commenté il y a 7 ans
Collaborateur

@fboulogne Do you still have the problem? If yes what is your system?

@fboulogne Do you still have the problem? If yes what is your system?
opi a commenté il y a 7 ans
Propriétaire

Still got the sqlite3.OperationalError: /usr/lib/x86_64-linux-gnu/libspatialite.so: undefined symbol: sqlite3_spatialite_init error, but this PR does not fix issue.

Still got the ``sqlite3.OperationalError: /usr/lib/x86_64-linux-gnu/libspatialite.so: undefined symbol: sqlite3_spatialite_init`` error, but this PR does not fix issue.
opi a commenté il y a 7 ans
Propriétaire

ca fonctionne sous Stretch après avoir installé le paquet libsqlite3-mod-spatialite.

ca fonctionne sous Stretch après avoir installé le paquet `libsqlite3-mod-spatialite`.
zorun a commenté il y a 7 ans
Propriétaire

Fixed in ab57756b95

Fixed in ab57756b95bc965147c1c800f1e202d601b4c66e
Veuillez rouvrir cette Pull Request pour effectuer l'opération de fusion.
Connectez-vous pour rejoindre cette conversation.
Pas d'étiquette
bug
Aucun jalon
Pas d'assignataire
5 Participants
Chargement…
Annuler
Enregistrer
Il n'existe pas encore de contenu.