CFFI on Windows does not load sqlite3.dll
Luís Oliveira
luismbo at gmail.com
Mon Apr 24 10:24:12 UTC 2017
Hello Mirko,
On Mon, Apr 24, 2017 at 4:05 AM, Mirko Vukovic <mirko.vukovic at gmail.com> wrote:
> Unable to load library 'C:/Program Files/sqlite/sqlite3.dll': Native
> library (win32-x86/C:/Program Files/sqlite/sqlite3.dll) not found in
> resource path ([file:/C:/mv-program-files/abcl-bin-1.4.0/,
> file:/C:/mv-program-files/abcl-bin-1.4.0/abcl.jar])
Kind of looks like "C:/Program Files/sqlite/sqlite3.dll" is being
interpreted as the library name rather than a path. I have a couple of
random, independent ideas:
1. Replace forward slashes with backward slashes: "C:\\Program
Files\\sqlite\\sqlite3.dll".
2. Place the DLL (and its dependencies) somewhere in the PATH and try
(cffi:load-foreign-library "sqlite3.dll")
3. <http://stackoverflow.com/questions/25063614/jna-set-resource-path>
Hope that helps,
--
Luís Oliveira
http://kerno.org/~luis/
More information about the armedbear-devel
mailing list