unofficial mirror of guile-user@gnu.org 
 help / color / mirror / Atom feed
From: Ricardo Wurmus <rekado@elephly.net>
To: Sascha Ziemann <ceving@gmail.com>
Cc: guile-user@gnu.org
Subject: Re: Guile cannot find libcurl
Date: Wed, 31 Jan 2024 23:07:14 +0100	[thread overview]
Message-ID: <87y1c588bn.fsf@elephly.net> (raw)
In-Reply-To: <CAGUt3y7xiV=5+PFkuRc=Ay0djpTdDjtBLxdpZeAC4d8o+ezeng@mail.gmail.com>


Sascha Ziemann <ceving@gmail.com> writes:

> [info] Downloading
> https://archive.akkuscm.org/archive/pkg/c/chez-srfi_0.0.0-akku.181.7879b52_repack.tar.xz
> Backtrace:
>           12 (primitive-load "/usr/local/bin/akku")
> In ice-9/eval.scm:
>     619:8 11 (_ #(#(#<directory (guile-user) 7f9e62512c80>) () ()))
> In ice-9/boot-9.scm:
>    260:13 10 (for-each #<procedure fetch-project (project)> (#<proj…>))
> In akku/lib/fetch.scm:
>    186:15  9 (fetch-project #<project name: "chez-srfi" packages: #f…>)
> In ice-9/ports.scm:
>    433:17  8 (call-with-port #<output: /home/szi/.cache/akku/chez-s…> …)
> In akku/private/http.scm:
>    163:22  7 (_ #<output: /home/szi/.cache/akku/chez-srfi-f002bc7fc6…>)
>      94:8  6 (_ #<http-request method: get url: "https://archive.akk…>)
> In ice-9/boot-9.scm:
>   1752:10  5 (with-exception-handler _ _ #:unwind? _ # _)
> In akku/private/http.scm:
>    110:36  4 (_ _)
> In unknown file:
>            3 (dynamic-link "libcurl.so")
> In system/foreign-library.scm:
>    190:25  2 (load-foreign-library _ #:extensions _ # _ #:search-path …)
> In unknown file:
>            1 (dlopen "libcurl.so" 1)
> In ice-9/boot-9.scm:
>   1685:16  0 (raise-exception _ #:continuable? _)

You may need to add the directory containing libcurl.so to LD_LIBRARY_PATH.

In Guix we usually patch dynamic-link instances to refer to the absolute
file name of the .so file.

-- 
Ricardo



      reply	other threads:[~2024-01-31 22:07 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-01-31 18:24 Guile cannot find libcurl Sascha Ziemann
2024-01-31 22:07 ` Ricardo Wurmus [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://www.gnu.org/software/guile/

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

  git send-email \
    --in-reply-to=87y1c588bn.fsf@elephly.net \
    --to=rekado@elephly.net \
    --cc=ceving@gmail.com \
    --cc=guile-user@gnu.org \
    /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).