The ldsoconf_update flag was not a reliable indicator of whether
or not ldconfig needs to be called, since ld.so.conf can have lines
like "include ld.so.conf.d/*.conf" that pull in outside content which
may have changed without being detected.
raise
oldld = None
- ldsoconf_update = False
-
newld = specials["LDPATH"]
if (oldld != newld):
#ld.so.conf needs updating and ldconfig needs to be run
for x in specials["LDPATH"]:
myfd.write(x + "\n")
myfd.close()
- ldsoconf_update = True
# Update prelink.conf if we are prelink-enabled
if prelink_capable:
if makelinks and \
not mtime_changed and \
- not ldsoconf_update and \
contents is not None:
libdir_contents_changed = False
for mypath, mydata in contents.items():