[prev in list] [next in list] [prev in thread] [next in thread] 

List:       opensuse
Subject:    /usr/local/lib ?  do I need to manually update the cache?
From:       Per Jessen <per () computer ! org>
Date:       2021-03-31 10:19:55
Message-ID: s41icb$q0r$1 () saturn ! local ! net
[Download RAW message or body]

On 15.1 and 15.2 both, ld.so.conf contains: 

# cat  /etc/ld.so.conf
/usr/local/lib64
/usr/local/lib
include /etc/ld.so.conf.d/*.conf
# /lib64, /lib, /usr/lib64 and /usr/lib gets added
# automatically by ldconfig after parsing this file.
# So, they do not need to be listed.

On 15.1 - long-running system:

# ldconfig -p | grep local
        libbwbemag.so (libc6,x86-64) => /usr/local/lib/libbwbemag.so
        libbulwark.so (libc6,x86-64) => /usr/local/lib/libbulwark.so

On 15.2, newly booted, 'ldconfig -p' shows nothing. I have copied some
new libs to /usr/local/lib, do I now need to rebuild/update the cache
manually? 

I ran 'ldconfig' and now the cache is fine. 
I feel like I must be missing something. 



-- 
Per Jessen, Zürich (17.1 °C)
http://www.hostsuisse.com/ - virtual servers, made in Switzerland.
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic