You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm trying to cross-compile a binary containing this library from my host OS of ubuntu linux for armdarwin and windows but I am getting the following error:
[compile] linux x64
[compile] linux arm
# github.com/shaxbee/go-spatialite
../../shaxbee/go-spatialite/spatialite.go:23: undefined: sqlite3.SQLiteDriver
Do you have any idea how I could go about doing this? would I need to compile spatialite for each OS and then include the relevant .so files?
My binary also contains github.com/mattn/go-sqlite3 and that cross-compiles fine.
I'm not that familiar with CGO and how it works.
Thanks
The text was updated successfully, but these errors were encountered:
heya,
I'm trying to cross-compile a binary containing this library from my host OS of
ubuntu linux
forarm
darwin
andwindows
but I am getting the following error:[compile] linux x64 [compile] linux arm # github.com/shaxbee/go-spatialite ../../shaxbee/go-spatialite/spatialite.go:23: undefined: sqlite3.SQLiteDriver
Do you have any idea how I could go about doing this? would I need to compile
spatialite
for each OS and then include the relevant.so
files?My binary also contains
github.com/mattn/go-sqlite3
and that cross-compiles fine.I'm not that familiar with CGO and how it works.
Thanks
The text was updated successfully, but these errors were encountered: