﻿id	summary	reporter	owner	description	type	status	priority	milestone	component	version	severity	resolution	keywords	cc
2843	Make ld.so.conf include files from /etc/ld.so.conf.d	Marcel van den Boer	bdubbs@…	"Currently, LFS lists directories containing libraries directly in /etc/ld.so.conf. However, there are advantages in changing the contents of ld.so.conf to ""include /etc/ld.so.conf.d/*.conf"", and then place it's current contents in /etc/ld.so.conf.d/glibc.conf.

Personally, I have been using this method for years (and so have the big distributions) and found it to be the more elegant solution.

Advantages become apparent when you use BLFS and/or often (un)install software in /opt:

Each new package requiring additional search paths can store them in their own file, meaning ld.so.conf does not have to be modified any more; No chance of accidentally removing existing paths or cluttering up the file. When uninstalling a package, in stead of modifying ld.so.conf again, you can simply delete the configuration file belonging to that package.

Concerns:

Both LFS and BLFS should be modified. Only modifying LFS defeats the purpose of the change.

Should BLFS be modified accordingly, people who blindly copy-paste commands and have an older version of LFS installed (and therefore do not have ld.so.conf.d) will experience problems. To limit this as much as possible, BLFS should (at least temporarily) warn ""Make sure you have set up /etc/ld.so.conf.d as explained in LFS-6.9 and if not, make this change now.""."	enhancement	closed	normal		Book	SVN	normal	fixed	glibc dynamic loader ld.so.conf	
