[Top][All Lists]

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

Re: Problem installing the intended version

From: Mark H Weaver
Subject: Re: Problem installing the intended version
Date: Fri, 09 Aug 2019 13:50:53 -0400
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/26.2 (gnu/linux)

Hi Thomas,

Thomas Morley <address@hidden> writes:

> recently I tested building LilyPond against guile-2.2.6 without
> success[*] and tried to investigate whether the problem is on the
> guile-side or at LilyPond (there are some patches which may or may not
> cause the problem).
> Though I stumbled across a problem which may be caused by guile or my
> naivity ...
> I had built guile-2.2.6 from the git repository and installed it via
> `sudo make installĀ“
> Then I did (in/for a fresh repo):
>   git clone git:// ~/guile-2.2.4
>   cd guile-2.2.4/
>   git checkout v2.2.4
>   git checkout -b guile-2.2.4
>   sh
>   ./configure
>   make
> All successfull, then some tests:
>   ./meta/guile --version
>   -->  guile (GNU Guile) 2.2.4 [...]
>   ./meta/guile-config --version
>   --> guile-config - Guile version 2.2.4
> Then installed it systemwide
>   sudo make install
> And made some testings:
>   which guile
>   --> /usr/local/bin/guile
>   /usr/local/bin/guile --version
>   --> guile (GNU Guile)
> Obviously 2.2.4 was _not_ installed but 2.2.6 from another repo.
> What am I missing?

What's happening here is that although the executable
/usr/local/bin/guile is from 2.2.4, it is being dynamically linked to
the newer from 2.2.6 that you installed earlier.
The libguile from guile 2.2.4 is

This happens because you never uninstalled the newer, and the library versioning information that we
assigned indicates that is a drop-in replacement
for  In other words, to our knowledge, any
executable linked with should also work properly
when linked with  That's because we added new
interfaces but did not change or remove any existing interfaces.

If you want to prevent from guile 2.2.6 from being
used, you should delete it, and then run 'ldconfig' as root to update
the links and caches.  Hopefully after that, and should be symlinks to

A more thorough approach, to make sure that no components of 2.2.6 are
being used, would be to run "make uninstall" from the Guile 2.2.6 build
directory (if you still have it), then rerun "make install" from the
Guile 2.2.4 build directory, and finally "ldconfig" as root.


reply via email to

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