From mboxrd@z Thu Jan 1 00:00:00 1970 From: Alex Vong Subject: (dynamic-link "libm") doesn't work on guile Date: Thu, 07 Jan 2016 18:36:14 +0800 Message-ID: <87bn8x65i9.fsf@gmail.com> Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:51607) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aH7vc-00087K-5z for help-guix@gnu.org; Thu, 07 Jan 2016 05:36:24 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1aH7vX-0000lE-2f for help-guix@gnu.org; Thu, 07 Jan 2016 05:36:24 -0500 Received: from mail-pa0-x235.google.com ([2607:f8b0:400e:c03::235]:36283) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aH7vW-0000l7-TT for help-guix@gnu.org; Thu, 07 Jan 2016 05:36:19 -0500 Received: by mail-pa0-x235.google.com with SMTP id yy13so163223325pab.3 for ; Thu, 07 Jan 2016 02:36:18 -0800 (PST) List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-guix-bounces+gcggh-help-guix=m.gmane.org@gnu.org Sender: help-guix-bounces+gcggh-help-guix=m.gmane.org@gnu.org To: help-guix@gnu.org Hi people, I got the following error message when trying to dlopen a shared library in ~/guix-profile/bin/guile installed by guix: scheme@(guile-user)> (dynamic-link "libm") ERROR: In procedure dynamic-link: ERROR: In procedure dynamic-link: file: "libm", message: "file not found" Entering a new prompt. Type `,bt' for a backtrace or `,q' to continue. I think it is a guix-specific problem since /usr/bin/guile installed by debian works fine: scheme@(guile-user)> (dynamic-link "libm") $1 = # Any idea? Thanks, Alex