On Mon, Sep 15, 2014 at 11:49 AM, Neil Jerram <n...@ossau.homelinux.net> wrote: > On 2014-09-15 02:16, m...@netris.org wrote: >> >> Federico Beffa <be...@ieee.org> writes: >> >>> Neil Jerram <n...@ossau.homelinux.net> 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