[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: dynamic-link sadness
From: |
Tim Meehan |
Subject: |
Re: dynamic-link sadness |
Date: |
Tue, 23 Feb 2021 06:45:06 -0600 |
Sorry, I should have said that it was Linux Mint Ulyssa, installed from “apt”.
I have another system I can try it on later today.
> On Feb 23, 2021, at 06:21, Tim Van den Langenbergh <tmt_vdl@gmx.com> wrote:
>
> On Tuesday, 23 February 2021 04:49:34 CET you wrote:
>> Ok - I think that I am missing something important that will allow me to
>> dynamically load libraries. :(
>> Is this an environment variable or something?
>>
>> me@expensive:/usr$ find . -type f -name "libm\.*" -print
>> ./lib/x86_64-linux-gnu/libm.so
>> ./lib/x86_64-linux-gnu/libm.a
>> me@expensive:/usr$ guile
>> GNU Guile 3.0.1
>> Copyright (C) 1995-2020 Free Software Foundation, Inc.
>>
>> Guile comes with ABSOLUTELY NO WARRANTY; for details type `,show w'.
>> This program is free software, and you are welcome to redistribute it
>> under certain conditions; type `,show c' for details.
>>
>> Enter `,help' for help.
>> scheme@(guile-user)> (dynamic-link "libm")
>> ice-9/boot-9.scm:1669:16: In procedure raise-exception:
>> In procedure dynamic-link: file: "libm", message: "file not found"
>>
>> Entering a new prompt. Type `,bt' for a backtrace or `,q' to continue.
>> scheme@(guile-user) [1]> ,q
>> scheme@(guile-user)> (dynamic-link "/usr/lib/x86_64-linux-gnu/libm.so")
>> ice-9/boot-9.scm:1669:16: In procedure raise-exception:
>> In procedure dynamic-link: file: "/usr/lib/x86_64-linux-gnu/libm.so",
>> message: "file not found"
>>
>> Entering a new prompt. Type `,bt' for a backtrace or `,q' to continue.
>> scheme@(guile-user) [1]> ,q
>
> Hey Tim (feels weird typing that),
>
> are you using Guile from your Guix install? I have had issues with that as
> well and I needed to use Guile from my regular OS.
>
> If you're not using Guix then I haven't had that problem, so I'm afraid I
> can't help.
>
> Vale,
>
> -Tim Van den Langenbergh
>
>