@pavil You need to install the sqlite librayr on your system. I assume you're 
running on Linux, judging by your error emssages. It depends on the 
distribution you use, but for Debian you will need to install the 
libsqlite3-dev package:
    
    
    apt install libsqlite3-dev
    
    
    Run

I've never tried to static link to SQLite before, I've always just relied on 
having the required packages on the target system.

You can also add this requirement to your program's .nimble file too by adding 
something like this:
    
    
    when defined(nimdistros):
      import distros
      if detectOs(Debian) or detectOs(Ubuntu):
        foreignDep "libsqlite3-dev"
      else:
        foreignDep "libsqlite3"
    
    
    Run

For some documentation on this feature, [please see 
here](https://github.com/nim-lang/nimble#external-dependencies).

Reply via email to