From mboxrd@z Thu Jan  1 00:00:00 1970
Return-Path: <help-guix-bounces+larch=yhetil.org@gnu.org>
Received: from mp12.migadu.com ([2001:41d0:2:4a6f::])
	(using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits))
	by ms5.migadu.com with LMTPS
	id gFbcLm28FGNxQQAAbAwnHQ
	(envelope-from <help-guix-bounces+larch=yhetil.org@gnu.org>)
	for <larch@yhetil.org>; Sun, 04 Sep 2022 16:55:41 +0200
Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::])
	(using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits))
	by mp12.migadu.com with LMTPS
	id 4Im8Lm28FGN3bgEAauVa8A
	(envelope-from <help-guix-bounces+larch=yhetil.org@gnu.org>)
	for <larch@yhetil.org>; Sun, 04 Sep 2022 16:55:41 +0200
Received: from lists.gnu.org (lists.gnu.org [209.51.188.17])
	(using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits))
	(No client certificate requested)
	by aspmx1.migadu.com (Postfix) with ESMTPS id 7E85A2E669
	for <larch@yhetil.org>; Sun,  4 Sep 2022 16:55:41 +0200 (CEST)
Received: from localhost ([::1]:41052 helo=lists1p.gnu.org)
	by lists.gnu.org with esmtp (Exim 4.90_1)
	(envelope-from <help-guix-bounces+larch=yhetil.org@gnu.org>)
	id 1oUr2C-0006DU-MN
	for larch@yhetil.org; Sun, 04 Sep 2022 10:55:40 -0400
Received: from eggs.gnu.org ([2001:470:142:3::10]:46270)
 by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.90_1) (envelope-from <glv@posteo.net>) id 1oUr18-0006Ac-Ia
 for help-guix@gnu.org; Sun, 04 Sep 2022 10:54:36 -0400
Received: from mout01.posteo.de ([185.67.36.65]:36757)
 by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.90_1) (envelope-from <glv@posteo.net>) id 1oUr14-00006x-9h
 for help-guix@gnu.org; Sun, 04 Sep 2022 10:54:34 -0400
Received: from submission (posteo.de [185.67.36.169]) 
 by mout01.posteo.de (Postfix) with ESMTPS id CA2CD240026
 for <help-guix@gnu.org>; Sun,  4 Sep 2022 16:54:25 +0200 (CEST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=posteo.net; s=2017;
 t=1662303265; bh=UVDso2KNlJA+mTApPJOMQAUCSYYdqDtIn79k6Yr42xg=;
 h=From:To:Cc:Subject:Date:From;
 b=fCpxyT2HuHJnK/E+C2h/7KVoner96Pg+68pd0NLr4eJVxpUgkTyVCQn3Fk73LzBuK
 ywiSHIoBmXLcDvdno4GYLw/iPEyt2wJjyck9G/OKZrRjb2IlIiImKB4QojHQDysUkI
 gyf8WRxCBS8GO9gEqiDMUxqaEdt/WdGCWHNeDaXFRgvf1Az6hZZBmf4eJrjzE3icpk
 wmydxXZ1fAUxeEKSCD7xx2hpKteROxFiGzI+GQ4L7yWdHkPLzn1qW3Xh50aFzTjb61
 gApWlnVDgheXLzmXXpUhAYKQKCCUyCwPS2XiVFV18hsCHdIBOPTNL/X9KQU6heWZG5
 qP+g+G0MsWrXw==
Received: from customer (localhost [127.0.0.1])
 by submission (posteo.de) with ESMTPSA id 4MLF6T0xc8z6tmL;
 Sun,  4 Sep 2022 16:54:23 +0200 (CEST)
References: <20220904092257.GB19111@dismail.de>
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
In-reply-to: <20220904092257.GB19111@dismail.de>
Message-ID: <878rmzb36w.fsf@kitej>
MIME-Version: 1.0
Content-Type: multipart/signed; boundary="=-=-=";
 micalg=pgp-sha512; protocol="application/pgp-signature"
Received-SPF: pass client-ip=185.67.36.65; envelope-from=glv@posteo.net;
 helo=mout01.posteo.de
X-Spam_score_int: -43
X-Spam_score: -4.4
X-Spam_bar: ----
X-Spam_report: (-4.4 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1,
 DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1,
 RCVD_IN_DNSWL_MED=-2.3, SPF_HELO_NONE=0.001, SPF_PASS=-0.001,
 T_SCC_BODY_TEXT_LINE=-0.01 autolearn=ham autolearn_force=no
X-Spam_action: no action
X-BeenThere: help-guix@gnu.org
X-Mailman-Version: 2.1.29
Precedence: list
List-Id: <help-guix.gnu.org>
List-Unsubscribe: <https://lists.gnu.org/mailman/options/help-guix>,
 <mailto:help-guix-request@gnu.org?subject=unsubscribe>
List-Archive: <https://lists.gnu.org/archive/html/help-guix>
List-Post: <mailto:help-guix@gnu.org>
List-Help: <mailto:help-guix-request@gnu.org?subject=help>
List-Subscribe: <https://lists.gnu.org/mailman/listinfo/help-guix>,
 <mailto:help-guix-request@gnu.org?subject=subscribe>
Errors-To: help-guix-bounces+larch=yhetil.org@gnu.org
Sender: "Help-Guix" <help-guix-bounces+larch=yhetil.org@gnu.org>
X-Migadu-Flow: FLOW_IN
X-Migadu-To: larch@yhetil.org
X-Migadu-Country: US
ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org;
	s=key1; t=1662303341;
	h=from:from:sender:sender:reply-to:subject:subject:date:date:
	 message-id:message-id:to:to:cc:cc:mime-version:mime-version:
	 content-type:content-type:in-reply-to:in-reply-to:
	 references:references:list-id:list-help:list-unsubscribe:
	 list-subscribe:list-post:dkim-signature;
	bh=ZXuBVWF+jhF8f49U1FyE+beyNAFKh7uGJBr5DJK4a1k=;
	b=CC0m4ImH8W6JMdQio4RoANaNNDJyohWnwRhpaVfUS8J8GlfP7ArcimLwW+nrrylxAh4qnH
	pw86pcCJwNOXOqvP9EOQLjrWxI8ki5VRGIb1egGWnv4vBftwRmCCIQsXb+PSc1AP3pr0zA
	5tVy1ulSEhpP6v5p5mJdDHYbfk9gj6B/rbrw9kAbGb6s7DbjTEjfYELCY4iAJfpNDaTdQJ
	m5cA2r/E6XYeyCjkjVrB19Fnj1WFvaqsxP0eUdL0e9mjNCek56ZAgCHSsOYXh/9JSi3ZaV
	4E7TZhxBG5efeKC17TBoTtSlwJsxEKUDS6t4MwVx8MUTDOgKYS6IhCGFtkh8SQ==
ARC-Seal: i=1; s=key1; d=yhetil.org; t=1662303341; a=rsa-sha256; cv=none;
	b=tWOF/urn5wXoNRqGEtZl1NvhPZQRAZDgEKVEf9eip628QPp8tpmAFEILMLkjKdv7VrQ2nd
	qnf5xqZzc3mVoAAPraHRKyLdX3gMmrDqGFo7wNTmkWfCgkOSFRtISESXeQ9DdLr4HjJCtR
	MpEVwtpDypueN8hY4DOEXVJu0AKvJzRSqvaFq06hKA9lAlvS0E0hjGOzKECSaG+/z8oJHv
	s3h6X90DOGWtKwjjKuTXKg9W1ismKL76Hwg5PcdK1PA30rvkUdKkF/dRPcQi/2AkK0X/cP
	zJTzyOW2G3B0/nruaYipy+XIv7MzAVwSIE2l9TbSN2ZoVHpiRn54o6y3jw6pRw==
ARC-Authentication-Results: i=1;
	aspmx1.migadu.com;
	dkim=pass header.d=posteo.net header.s=2017 header.b=fCpxyT2H;
	dmarc=pass (policy=none) header.from=posteo.net;
	spf=pass (aspmx1.migadu.com: domain of "help-guix-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="help-guix-bounces+larch=yhetil.org@gnu.org"
X-Migadu-Spam-Score: -5.58
Authentication-Results: aspmx1.migadu.com;
	dkim=pass header.d=posteo.net header.s=2017 header.b=fCpxyT2H;
	dmarc=pass (policy=none) header.from=posteo.net;
	spf=pass (aspmx1.migadu.com: domain of "help-guix-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="help-guix-bounces+larch=yhetil.org@gnu.org"
X-Migadu-Queue-Id: 7E85A2E669
X-Spam-Score: -5.58
X-Migadu-Scanner: scn1.migadu.com
X-TUID: 9tUwex5Y59m1

--=-=-=
Content-Type: text/plain

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.

--=-=-=
Content-Type: application/pgp-signature; name="signature.asc"

-----BEGIN PGP SIGNATURE-----

iIUEAREKAC0WIQTLxZxm7Ce5cXlAaz5r6CCK3yH+PwUCYxS8Fw8cZ2x2QHBvc3Rl
by5uZXQACgkQa+ggit8h/j+zowEAhHLzUAGgHPJ+ddyiMaTu59AU1VJWGlOcG/it
JLa+f2kA/jZ72rUVX3G2iMqwiucaiWWtXURfl6HJ01qnV61dHvT4
=1TZM
-----END PGP SIGNATURE-----
--=-=-=--