unofficial mirror of help-guix@gnu.org 
 help / color / mirror / Atom feed
From: Guillaume Le Vaillant <glv@posteo.net>
To: jgart <jgart@dismail.de>
Cc: help-guix@gnu.org
Subject: Re: pure data lisp alsa errors
Date: Sun, 04 Sep 2022 14:42:28 +0000	[thread overview]
Message-ID: <878rmzb36w.fsf@kitej> (raw)
In-Reply-To: <20220904092257.GB19111@dismail.de>

[-- Attachment #1: Type: text/plain, Size: 1184 bytes --]

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.

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 247 bytes --]

      reply	other threads:[~2022-09-04 14:55 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-09-04 14:22 pure data lisp alsa errors jgart
2022-09-04 14:42 ` Guillaume Le Vaillant [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://guix.gnu.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=878rmzb36w.fsf@kitej \
    --to=glv@posteo.net \
    --cc=help-guix@gnu.org \
    --cc=jgart@dismail.de \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).