bug-guile-ncurses
[Top][All Lists]
Advanced

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

Re: [Bug-guile-ncurses] libguile-ncurses file not found


From: Mortimer Cladwell
Subject: Re: [Bug-guile-ncurses] libguile-ncurses file not found
Date: Sun, 24 Nov 2013 07:32:17 -0500

To follow up here is what I did to get it working on Arch Linux:

>pacman -S guile  ;;installs Guile 2.0.9
>wget https://aur.archlinux.org/packages/gu/guile-ncurses/guile-ncurses.tar.gz
>mv ./guile-ncurses.tar.gz ~/builds
>cd builds
>tar -xzvf ./guile-ncurses.tar.gz
>cd guile-ncurses
>makepkg
>pacman -U guile-ncurses-1.4-1-any.pkg.tar.xz
>pkg-config guile-2.0 --variable=extensiondir
    /usr/lib/guile/2.0/extensions
>mv /usr/local/lib/* /usr/lib/guile/2.0/extensions  ;;move libraries to expected location
>cat ~/.bash_profile
    #
    # ~/.bash_profile
    #

    [[ -f ~/.bashrc ]] && . ~/.bashrc

    export GUILE_LOAD_PATH=${GUILE_LOAD_PATH}:/usr/share/guile-ncurses:/usr/share/guile/site/2.0/ncurses

>pacman -Qi guile-ncurses

    Name           : guile-ncurses
    Version        : 1.4-1
    Description    : Guile bindings for the GNU NCurses library
    Architecture   : any
    URL            : http://www.gnu.org/software/guile-ncurses/
    Licenses       : GLPL3
    Groups         : None
    Provides       : None
    Depends On     : guile  ncurses  libunistring
    Optional Deps  : None
    Required By    : None
    Optional For   : None
    Conflicts With : None
    Replaces       : None
    Installed Size : 425.00 KiB
    Packager       : Unknown Packager
    Build Date     : Wed Nov 20 17:52:56 2013
    Install Date   : Wed Nov 20 17:56:09 2013
    Install Reason : Explicitly installed
    Install Script : No
    Validated By   : None


I do not have an LD_LIBRARY_PATH environment variable.
Thanks
Mortimer



On Tue, Nov 19, 2013 at 5:04 AM, Mortimer Cladwell <address@hidden> wrote:
On Mon, Nov 18, 2013 at 8:45 AM, Mike Gran <address@hidden> wrote:


It looks like it can't find the library binary.  That was probably
installed in /usr/local/lib.  When that happens, it usually means
that /usr/local/lib is not in your LD_LIBRARY_PATH environment
variable.

You could try adding /usr/local/lib to LD_LIBRARY_PATH.

Alternatively, you could look to see where Guile expects to
find its binary extensions by running

pkg-config guile-2.0 --variable=extensiondir

When run the directory is :/usr/lib/guile/2.0/extensions

After the guile-ncurses install I do not have a LD_LIBRARY_PATH environment variable so in my ~/.bash_profile I:

export LD_LIBRARY_PATH=/usr/lib/guile/2.0/extensions

I get the same errors when trying to run my program - libguile-ncurses not found.

if in ~/bash_profile I:  export LD_LIBRARY_PATH=/usr/local/lib

I get many errors including core dump that I have not fully investigated yet.
Thanks
Mortimer
 




reply via email to

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