libera/#commonlisp - IRC Chatlog
Search
9:47:51
thijso
I don't think there's a quicklisp channel, so I'm asking here. If I should ask elsewhere, I'm all ears. Also, I'm not sure this is actually a quicklisp issue. Anyway, I'm trying to build an android apk, which includes quicklisp. Using quicklisp I'm trying to load clog, but clog depends on sqlite. So the load errors on not finding libsqlite.so. I've managed to cross-compile libsqlite.so, but I'm unclear
9:47:57
thijso
on where I need to put that so that the load of clog (or cl-sqlite) can actually find it. Any pointers would be very welcome
9:48:34
jackdaniel
if you have control over the invocation, then customizing LD_LIBRARY_PATH would help
9:49:04
jackdaniel
perhaps there is a variable that stores /addtitional/ library directories that you may push to
9:49:20
jackdaniel
in the worst case, you could just put a full path when sqlite is required by clog
9:56:21
thijso
thinking on it a bit more, I actually need it to be found when the app is loaded/running as well obviously, so I probably need to bundle the libsqlite.so file in the assets of the app and refer to that somehow. Probably by altering cffi:*foreign-library-directories*. I think...
9:59:51
jackdaniel
I'm split between eliza repeating claims and "you are 100% correct to push back on this" ;) /jk