Skip to content

Conversation

shaxbee
Copy link
Contributor

@shaxbee shaxbee commented Apr 18, 2016

Expose sqlite3_load_extension with entry point argument to allow loading extensions where library name does not match entry point name, eg. libspatialite.

Solves #261

@coveralls
Copy link

Coverage Status

Coverage decreased (-1.4%) to 66.739% when pulling da9decb on shaxbee:master into 0d70831 on mattn:master.

@mattn mattn merged commit 22d7351 into mattn:master Apr 18, 2016
@mattn
Copy link
Owner

mattn commented Apr 18, 2016

thank you

@shaxbee
Copy link
Contributor Author

shaxbee commented Apr 18, 2016

Please put it on hold - I'm testing it on darwin right now and it seems that system installed libsqlite3 does not support extension loading.
Shall we require darwin users to use homebrew version of it which includes extension loading? If so I have a change ready for that.

@shaxbee
Copy link
Contributor Author

shaxbee commented Apr 18, 2016

It seems that forcing brew library is an only option as otherwise the go-sqlite3 will not build on darwin complaining on extension functions.

@weitzj
Copy link

weitzj commented Apr 18, 2016

@shaxbee See https://github.com/weitzj/libspatialite to get a spatialite library for Android.

@shaxbee
Copy link
Contributor Author

shaxbee commented Apr 19, 2016

@weitzj Thanks for the link, currently I'm not building anything for Android, just wanted to solve #261 :-)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants