I'm attempting to build a Go program using this gdal lib on an Amazon EC2 Ubunutu 18.04 instance. I've installed Go directly via downloading Go 1.17.8 from the Go downloads page, and have installed GDAL via sudo apt-get install libgdal-dev. Note, my program builds and runs fine on Mac. I believe I am using the latest go package, my go.mod has:
github.com/lukeroth/gdal v0.0.0-20211109203239-b571df3ee436
Here's what I get when I do go build:
# github.com/lukeroth/gdal
../../../go/pkg/mod/github.com/lukeroth/gdal@v0.0.0-20211109203239-b571df3ee436/osr.go:18:49: could not determine kind of name for C.OAMS_AUTHORITY_COMPLIANT
../../../go/pkg/mod/github.com/lukeroth/gdal@v0.0.0-20211109203239-b571df3ee436/osr.go:19:49: could not determine kind of name for C.OAMS_CUSTOM
../../../go/pkg/mod/github.com/lukeroth/gdal@v0.0.0-20211109203239-b571df3ee436/osr.go:17:49: could not determine kind of name for C.OAMS_TRADITIONAL_GIS_ORDER
../../../go/pkg/mod/github.com/lukeroth/gdal@v0.0.0-20211109203239-b571df3ee436/osr.go:39:39: could not determine kind of name for C.OSRAxisMappingStrategy
../../../go/pkg/mod/github.com/lukeroth/gdal@v0.0.0-20211109203239-b571df3ee436/osr.go:39:2: could not determine kind of name for C.OSRSetAxisMappingStrategy
Any guidance on what I may be missing or not doing right would be appreciated. And/or let me know what other info to provide to help. Thanks.
I'm attempting to build a Go program using this gdal lib on an Amazon EC2 Ubunutu 18.04 instance. I've installed Go directly via downloading Go 1.17.8 from the Go downloads page, and have installed GDAL via
sudo apt-get install libgdal-dev. Note, my program builds and runs fine on Mac. I believe I am using the latest go package, my go.mod has:Here's what I get when I do
go build:Any guidance on what I may be missing or not doing right would be appreciated. And/or let me know what other info to provide to help. Thanks.