James Platt writes:
> Would this now be the preferred method to include a copy of the SQLite > library. required by the DB module, to your distribution? The > software I am working on requires a newer version of SQLite than is > included in at least some of the operating systems we want to support > and it's too much to expect end users to install it themselves. I released two packages[1][2] that distribute more recent versions of SQLite3 to Linux and macOS a couple of months ago. I build the shared libraries in CI (using GitHub Actions) then add the .so and .dylib files to each package, using #lang info's `copy-foreign-libs'[3] to tell Racket that it should add the libs to a folder where the ffi library will know to look them up. The source code is here[4]. I'd be happy to add more architectures and OSs if you need them. Here's an example[5] where I use the linux package to get the tests for `deta' passing on the package build server. I hope that helps! [1]: https://pkgd.racket-lang.org/pkgn/package/libsqlite3-x86_64-linux [2]: https://pkgd.racket-lang.org/pkgn/package/libsqlite3-x86_64-macosx [3]: https://docs.racket-lang.org/raco/setup-info.html?q=copy-foreign-libs#%28idx._%28gentag._22._%28lib._scribblings%2Fraco%2Fraco..scrbl%29%29%29 [4]: https://github.com/Bogdanp/racket-libsqlite3 [5]: https://github.com/Bogdanp/deta/blob/master/deta-test/info.rkt#L5 -- You received this message because you are subscribed to the Google Groups "Racket Users" group. To unsubscribe from this group and stop receiving emails from it, send an email to racket-users+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/racket-users/m2mucwi4tq.fsf%40192.168.0.139.