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: Re: dynamic-link sadness Date: Tue, 23 Feb 2021 06:45:06 -0600 Message-ID: <4E0432AB-3BDC-4094-A1F2-A4336D4D29A9@gmail.com> References: <21268423.cRhhgW2m6a@terra> Mime-Version: 1.0 (1.0) Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="24537"; mail-complaints-to="usenet@ciao.gmane.io" Cc: guile-user@gnu.org To: Tim Van den Langenbergh Original-X-From: guile-user-bounces+guile-user=m.gmane-mx.org@gnu.org Tue Feb 23 13:45:30 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 1lEX4D-0006GV-Vh for guile-user@m.gmane-mx.org; Tue, 23 Feb 2021 13:45:29 +0100 Original-Received: from localhost ([::1]:57608 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1lEX4C-0000mu-RB for guile-user@m.gmane-mx.org; Tue, 23 Feb 2021 07:45:28 -0500 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:42170) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lEX3w-0000mC-Sa for guile-user@gnu.org; Tue, 23 Feb 2021 07:45:12 -0500 Original-Received: from mail-qk1-x72d.google.com ([2607:f8b0:4864:20::72d]:46518) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1lEX3t-0005y7-MQ for guile-user@gnu.org; Tue, 23 Feb 2021 07:45:12 -0500 Original-Received: by mail-qk1-x72d.google.com with SMTP id w19so15859345qki.13 for ; Tue, 23 Feb 2021 04:45:09 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=content-transfer-encoding:from:mime-version:subject:date:message-id :references:cc:in-reply-to:to; bh=7k8FwdQW3Ujq7Jsdoen2SnamBdwU0+Oqg98R8RQXzt0=; b=r8GmOM1UcuoEzhBUGUBz35gY85Yar/sTwtLbbiNEf2Ehx/YMCC8zqfZwj6g6XlEOds oE2PZDw5UEy7Fwvmdi7GSVMNHh70yXX+UB1oJXYX4gBWQxf6PbFt2EdNIAeX05f4Hf7M ME0QRZ9OvAxsZsf6gPyGnrCRfTpHwANZYiwFrLHCWH1v8yPInrLqKJRBoLsiEotpe1uE MyR27VkCCaAv4iKpXVn0ymJIBjUKlUDvTGjAxJxyy9dGq8Ga0o5nwR36vqgWEzsQaIY0 hXlPuv4zt6ZBcbNyyfIQ60Aja44YTm+s4b7LN/leGiUwYk0In/IUNN1TjgseVePITsgy svVQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:content-transfer-encoding:from:mime-version :subject:date:message-id:references:cc:in-reply-to:to; bh=7k8FwdQW3Ujq7Jsdoen2SnamBdwU0+Oqg98R8RQXzt0=; b=VhBegczkcrI8VIeA+UpG2awYQZPr4Q5gSDWj8GNh/pERvZtFYS9ecCs/FtPEUIb7hb 93lln+VwOyZt+UpFoU5hH0/6ybIqH+vAPiI75wPkIL1u9xpzGzMiA3st1MPJ9jwreJ26 Riph6+9uuHwtuXUTH/+cJQ0VRzT9HQzYswQmwrssVNtkOCSYu2MFe0Uk0XZpQ6vwyfsp 6GBD93hYSsdYf+PgOkaApNVZq/noH9OuRb5MfepoZERBYkVhclsoPj5EvGmox7m0nasm FoaUOcOKC8TZ6QRMzIN/dX/aJvfvTSTB/c+0XQ6K4MQJY4+pBL/Zdp80CzsBCZKcemlN q/Sw== X-Gm-Message-State: AOAM530WPZTfsuDsbkkQHscysyTLuDPN4kMAFCnQdv+PcJou4G3NOXQp Q08FHBS5wz1Bm+nHl3HMH2ujIpNY11o= X-Google-Smtp-Source: ABdhPJz8e0ZMKebiUG1xGOVBaP/RRmig9+tVV3dN8AbZ0MDpZeAWbupOzfGgMM3aFFIr+ZESgiEfPw== X-Received: by 2002:a37:5905:: with SMTP id n5mr25288031qkb.191.1614084308411; Tue, 23 Feb 2021 04:45:08 -0800 (PST) Original-Received: from [10.0.1.12] ([24.96.23.175]) by smtp.gmail.com with ESMTPSA id x9sm12885289qtr.74.2021.02.23.04.45.07 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Tue, 23 Feb 2021 04:45:07 -0800 (PST) In-Reply-To: <21268423.cRhhgW2m6a@terra> X-Mailer: iPhone Mail (18D52) Received-SPF: pass client-ip=2607:f8b0:4864:20::72d; envelope-from=btmeehan@gmail.com; helo=mail-qk1-x72d.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, MIME_QP_LONG_LINE=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-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:17309 Archived-At: Sorry, I should have said that it was Linux Mint Ulyssa, installed from =E2=80= =9Capt=E2=80=9D. I have another system I can try it on later today. > On Feb 23, 2021, at 06:21, Tim Van den Langenbergh wrote= : >=20 > =EF=BB=BFOn 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? >>=20 >> 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. >>=20 >> 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. >>=20 >> 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" >>=20 >> 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" >>=20 >> Entering a new prompt. Type `,bt' for a backtrace or `,q' to continue. >> scheme@(guile-user) [1]> ,q >=20 > Hey Tim (feels weird typing that), >=20 > 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. >=20 > If you're not using Guix then I haven't had that problem, so I'm afraid I > can't help. >=20 > Vale, >=20 > -Tim Van den Langenbergh >=20 >=20