[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: guile-2.0.11 installation on system with 2.0.5
From: |
Federico Beffa |
Subject: |
Re: guile-2.0.11 installation on system with 2.0.5 |
Date: |
Mon, 15 Sep 2014 12:22:27 +0200 |
On Mon, Sep 15, 2014 at 11:49 AM, Neil Jerram <address@hidden> wrote:
> On 2014-09-15 02:16, address@hidden wrote:
>>
>> Federico Beffa <address@hidden> writes:
>>
>>> Neil Jerram <address@hidden> writes:
>>>
>>>>
>>>> This is just a guess, but what happens if you do this:
>>>>
>>>> $ LD_LIBRARY_PATH=/usr/local/lib /usr/local/bin/guile
>>>>
>>>> Regards,
>>>> Neil
>>>
>>>
>>> With this it works!
>>>
>>> I notice that there is an /etc/ld.so.cache file. Do I somehow need to
>>> update
>>> it?
>>
>>
>> Yes, you update it by running "ldconfig" as root. This needs to be done
>> when installing libraries outside of your package manager, not only for
>> Guile, but for essentially all packages containing libraries.
>
>
> I agree that this will allow /usr/local/bin/guile to load
> /usr/local/lib/libguile*.
>
> However, won't it also cause /usr/bin/guile (2.0.5) to load
> /usr/local/lib/libguile* (2.0.11) ? If not, what is the mechanism that
> tells /usr/bin/guile (2.0.5) to load /usr/lib/libguile* (2.0.5) instead of
> /usr/local/lib/libguile* (2.0.11) ?
>
> Thanks,
> Neil
>
yes, that's what I've found out by running ldconfig. Both versions now
show version 2.0.11 in the startup message.
Regards,
Fede
Re: guile-2.0.11 installation on system with 2.0.5, Federico Beffa, 2014/09/14
Re: guile-2.0.11 installation on system with 2.0.5, Federico Beffa, 2014/09/15
Re: guile-2.0.11 installation on system with 2.0.5, Federico Beffa, 2014/09/15