From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Tim Meehan Newsgroups: gmane.lisp.guile.user Subject: dynamic-link sadness Date: Mon, 22 Feb 2021 21:49:34 -0600 Message-ID: Mime-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="28533"; mail-complaints-to="usenet@ciao.gmane.io" To: guile-user Original-X-From: guile-user-bounces+guile-user=m.gmane-mx.org@gnu.org Tue Feb 23 04:50:04 2021 Return-path: Envelope-to: guile-user@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1lEOi4-0007Kr-3x for guile-user@m.gmane-mx.org; Tue, 23 Feb 2021 04:50:04 +0100 Original-Received: from localhost ([::1]:39730 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1lEOi3-0003Pu-5o for guile-user@m.gmane-mx.org; Mon, 22 Feb 2021 22:50:03 -0500 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:36832) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lEOho-0003Pg-95 for guile-user@gnu.org; Mon, 22 Feb 2021 22:49:49 -0500 Original-Received: from mail-qk1-x734.google.com ([2607:f8b0:4864:20::734]:43150) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1lEOhm-0007NE-Aq for guile-user@gnu.org; Mon, 22 Feb 2021 22:49:47 -0500 Original-Received: by mail-qk1-x734.google.com with SMTP id m144so14957490qke.10 for ; Mon, 22 Feb 2021 19:49:45 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:from:date:message-id:subject:to; bh=9mLj/ZomSCtamSx+qMb8giNRB3vq3Ac2mVI86nIx+SY=; b=TznlRviwXIy5Oh/Er8a57KYwhx06jjgqKuDX2ZSpfcWhKQEJD55IFhDCRUxIOA05vW f7CnlbpM6kQmauRiwKgxaDG0gZ22shKIfc1nKHdNsoC7vz+vwApsXdkGeAcY4xgmbdV6 PUI7AiGyI5M64OLjLtwm1b4W+Pjz9RbbpTV2q8ePuxWZ/spNoXmyuV9QlBpihHKlKBlg fy+/V+r9F/GaT1w7MxhV5mNvgsZlfNiRWyDXxYuIwVH23NSDBGULEm+ss7n1UX9dwCrS 2MxMNzkPiEz+2YiRZvCF5jGzcb1wcNhWBHmKrwBP0Pa2a1Z2+37KRfWCrAubnkc9YnxI aNRA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:from:date:message-id:subject:to; bh=9mLj/ZomSCtamSx+qMb8giNRB3vq3Ac2mVI86nIx+SY=; b=rJJY/jObMPgK5oYakZgJVYXl7VsUojwxnXlFAJHHZo2HEylArMLpwtN6SOkur6I4fh +HMHCt8hAz1+vgSR2562Rc8k0i/LPAPKn/rSuUZGrbHs2O+sc/510QfR9jorSGleK6I5 EwADcATQUtUMHWkUc9NyqL620FvyzSl+Yr0VTyJJn5tIAwgB9drGnjIap8AmRyr3p8Eg 5P7niAJWQUPLqdIrZ/UjmzulxsoxwlEopLx2DHqwn4oUSaopBDLTOw7YyzusMEM27a0J wBlIV6JZ2A8cmHal0RsI1a90iLh1JRX41pRzK8NtdNqqGiPaZ35JoijuKzXakVg8KSku tm6w== X-Gm-Message-State: AOAM533fQsfd4Jmfv8P0tiN5wVSxDEbgpt5DJZUzGYHs5B7szOxvkx73 j3Z1RzrfDoWMgGVYmy3cA1FGWaWTi2dBnfMg3HElExg4bK8= X-Google-Smtp-Source: ABdhPJyxVBCa2Z9fdc9AzFwePDBaVjxh7IpgfHz2YfjNBQx4j37PWPsrKKoe98dKMH7+13Ko9n1gcTglzCwRn9ps+hA= X-Received: by 2002:a05:620a:2a02:: with SMTP id o2mr8112806qkp.492.1614052185005; Mon, 22 Feb 2021 19:49:45 -0800 (PST) Received-SPF: pass client-ip=2607:f8b0:4864:20::734; envelope-from=btmeehan@gmail.com; helo=mail-qk1-x734.google.com X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 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, FREEMAIL_FROM=0.001, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-Content-Filtered-By: Mailman/MimeDel 2.1.23 X-BeenThere: guile-user@gnu.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: General Guile related discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guile-user-bounces+guile-user=m.gmane-mx.org@gnu.org Original-Sender: "guile-user" Xref: news.gmane.io gmane.lisp.guile.user:17307 Archived-At: 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