f9cef2aa@yandex.ru writes:
CFFI fails to find libraries on Nix / Guix. This is (probably) because those two distributions don't follow the traditional filesystem hierarchy /lib, /usr/lib, etc.
For instance, trying to load sqlite-lib yields the following backtrace:
Nix doesn't give you a global sqlite3 version anyway…
What do you mean with global? I don't know much about Nix, but for Guix my "prefered" library would be in
~/.guix-profile/lib
You can change $LD_LIBRARY_PATH
It works, but could we make CFFI smarter?
or change CFFI's library search path to point to the version from Nixpkgs channel or checkout you prefer.
I think that would be ideal. Can you provide an example?
Thanks in advance!
-- Pierre Neidhardt