guix-devel
[Top][All Lists]
Advanced

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

Re: [Running Guile]: error while loading shared libraries: libguile-2.0.


From: Ludovic Courtès
Subject: Re: [Running Guile]: error while loading shared libraries: libguile-2.0.so.22
Date: Wed, 01 Feb 2017 23:19:39 +0100
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/25.1 (gnu/linux)

Hi,

rohit yadav <address@hidden> skribis:

> I believe it is a trivial question for many but I am a little stuck. I am
> trying to learn guile. I installed it using guix package manager. I have
> specified all the environment variables suggested by guix after
> installation. However, when I am trying to run a C program calling libguile
> which compiles fine but cannot find the the above shared object while
> running the compiled binary. I am to not sure as how to pass path for
> shared library. It is located inside ~/.guix-profile/lib.

How did you compile that C program that uses libguile?

You need to install the ‘gcc-toolchain’ package (and not just ‘gcc’!)
from Guix to build C programs.

HTH!

Ludo’.



reply via email to

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