You might have to add -L-lsqlite3 to your dmd command line, to link in the library. May also be necessary to install the sqlite library, e.g. "yum install sqlite-devel" on red hat linuxes.