[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: pure data lisp alsa errors
From: |
Guillaume Le Vaillant |
Subject: |
Re: pure data lisp alsa errors |
Date: |
Sun, 04 Sep 2022 14:42:28 +0000 |
jgart <jgart@dismail.de> skribis:
> Hi Guixers,
>
> What may I be doing wrong below with this package?
>
> https://github.com/aartaka/cl-pure-data
>
> [...]
>
> ; compiling file
> "/gnu/store/c51kgnahficfjxhkkix5ykznfn6pw2lm-sbcl-cl-pure-data-0.0.1-0.848f2a3/share/common-lisp/sbcl/cl-pure-data/libpd.lisp"
> (written 01 JAN 1970 12:00:00 AM):
>
> ; wrote
> /gnu/store/c51kgnahficfjxhkkix5ykznfn6pw2lm-sbcl-cl-pure-data-0.0.1-0.848f2a3/lib/common-lisp/sbcl/cl-pure-data/libpd-tmpAAURSO1.fasl
> ; compilation finished in 0:00:00.143
> Unhandled CFFI:LOAD-FOREIGN-LIBRARY-ERROR in thread #<SB-THREAD:THREAD "main
> thread" RUNNING
> {100B830113}>:
> Unable to load foreign library (LIBPD).
> Error opening shared object "libpd.so":
> libpd.so: cannot open shared object file: No such file or directory.
You have to fix the paths to C libraries the CL package wants to load
using CFFI (usually defined in "cffi:define-foreign-library" forms).
For cl-pure-data, there's at least "libasound.so" in "alsa.lisp" and
"libpd.so" in "libpd.lisp".
For example, take a look at the "fix-paths" phase of the package
definition for sbcl-zstd.
signature.asc
Description: PGP signature