Federico Beffa <be...@ieee.org> skribis:

> l...@gnu.org (Ludovic Courtès) writes:
>
>> It may be that, while /usr/local/bin/guile is indeed from the new
>> version, it ends up loading .scm and .go files from the old version.
>>
>> You could check that by running:
>>
>>   strace -o log /usr/local/bin/guile --version
>>
>> and grepping for .scm and .go files in ‘log’.
>>
>> That could happen, for instance, if there’s a GUILE_LOAD_PATH or
>> GUILE_LOAD_COMPILED_PATH environment variable pointing to
>> /usr/share/guile/...
>>
>
> Yes, that's what happens. I can see libraries from /usr/share and
> /usr/lib/guile being used.
>
> I do not have any GUILE_LOAD_* environment variable defined. However, I
> see in the "log" file generated as suggested that the /etc/ld.so.cache
> file gets opened. Should I need somehow to update it?

You probably need to run ‘ldconfig’.

HTH,
Ludo’.

Reply via email to