bugra9 / gdal3.js

Convert raster and vector geospatial data to various formats and coordinate systems entirely in the browser.
https://gdal3.js.org
GNU Lesser General Public License v2.1
315 stars 48 forks source link

configure error please install sqlite3 binary #31

Closed lizemin5235 closed 2 years ago

lizemin5235 commented 2 years ago

I want to compile the GDAL webAssembly archive(*.a file) to use in my own project, but when I process the build follow your makefile in this repos, it shows the error:"configure error: please intall sqlite3 binary". I can see the file "sqlite" in the build/usr/bin folder,but it is not the binary needed. Wasm binary/executable may only be used in nodejs or browser environment...Can you help me with the error? many thanks...

lizemin5235 commented 2 years ago

this error can fixed by apt-get libsqlite3

bugra9 commented 2 years ago

Hi,

Thanks for sharing the solution to this issue. I updated Readme.md file.

Additional information: Proj needs sqlite3 executable for build architecture to create projection database. After creating database it doesn't need sqlite3 executable. https://proj.org/install.html

Build requirements SQLite3 >= 3.11: headers and library for target architecture, and sqlite3 executable for build architecture.