guile-user
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

dynamic-link sadness


From: Tim Meehan
Subject: dynamic-link sadness
Date: Mon, 22 Feb 2021 21:49:34 -0600

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


reply via email to

[Prev in Thread] Current Thread [Next in Thread]