Ben Sturmfels via Guix-patches via writes: > Hi folks, > Hi, > > OSError: cannot load library 'libsndfile.so.1': libsndfile.so.1: > cannot open shared object file: No such file or directory > You can patch the sounfile.py file, setting the correct library path. Many other python packages do this, like python-file, python-libarchive-c, python-pyzbar It should look something like (untested): #+begin_src scheme (arguments `(#:phases (modify-phases %standard-phases (add-before 'build 'set-library-file-name (lambda* (#:key inputs #:allow-other-keys) (let ((libsndfile (assoc-ref inputs "libsndfile"))) (substitute* "soundfile.py" (("find_library\\('sndfile'\\)") (string-append "'" libsndfile "/lib/libsndfile.so.0'"))) #t)))))) #+end_src Nicolò