Bug 222068

Summary: please update ldconfig man page
Product: Documentation Reporter: olaf
Component: Manual PagesAssignee: freebsd-bugs (Nobody) <bugs>
Status: Closed Not A Bug    
Severity: Affects Some People CC: bcr, doc, yuripv
Priority: ---    
Version: Latest   
Hardware: Any   
OS: Any   

Description olaf 2017-09-05 14:02:35 UTC
Please update the ldconfig man page: the config files that are placed into /usr/local/libdata/ldconfig are not mentioned anywhere.
Comment 1 Yuri Pankov 2017-12-03 03:03:34 UTC
The files in /usr/local/libdata/ldconfig/ are created by ports framework and shouldn't be documented in ldconfig(8) as ldconfig doesn't read them by itself, it's rather 'rc' doing, and the related variables are documented in rc.conf(5):

ldconfig_local_dirs
ldconfig32_local_dirs

...and these are set to include /usr/local/libdata/ldconfig/ by default:

/etc/defaults/rc.conf:ldconfig_local_dirs="/usr/local/libdata/ldconfig"
/etc/defaults/rc.conf:ldconfig_local32_dirs="/usr/local/libdata/ldconfig32"