Re: clsql delivery with LispWorks Windows.
On Wed, 6 Dec 2006 09:59:18 +0800, "Asbjørn Bjørnstad" <asbjxrn@bjxrnstad.net> wrote:
> Not sure whether this should go here or to the clsql mailing list...
> I'm trying to deliver an app using clsql/sqlite3 as my datastore,
> but I don't think lispworks/clsql manages to pick up its dll.
>
> Again, I'm trying to run this from a thumbdrive, and dump my
> executable, sqlite3.dll and clsql_uffi.dll (and clsql_uffi.lib) in
> the same directory. The application manages to start up, do a text
> query (comparing the schema of the existing database with what it
> expects to find) and build a new database. So the sqlite3.dll
> should be fine, but when I try to do a query requiring the clsql
> uffi, it fails.
>
> Is there any specific requirements as to where the dll should be
> located, or have I missed something else? The application is
> delivered at level 0.
That's a problem with CLSQL that you should take to the CLSQL mailing
list. The location of the helper DLL is hard-coded at delivery time
and thus it is not found at execution time.
I sent a patch[1] to fix this behaviour last year, but it was somehow
(unintentionally, I guess) overwritten or deactivated in a recent
release. I was also annoyed by this, but haven't yet found the time
to send a new patch.
Cheers,
Edi.
[1] See lengthy discussion which starts here:
http://lists.b9.com/pipermail/clsql-devel/2005-April/000288.html