#6 Fix loading libspatialite

Closed
FrancoisB wants to merge 1 commits from FrancoisB/libspatialite into 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 commented 8 years ago
Owner

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 commented 7 years ago
Collaborator

@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 commented 7 years ago
Owner

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 commented 7 years ago
Owner

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 commented 7 years ago
Owner

Fixed in ab57756b95

Fixed in ab57756b95bc965147c1c800f1e202d601b4c66e
Please reopen this pull request to perform merge operation.
Sign in to join this conversation.
No Label
bug
No Milestone
No assignee
5 Participants
Loading...
Cancel
Save
There is no content yet.