What's wrong with the -r behavior? If the -r root is not applied to the directory names, then we should either change ldconfig or just change the invocation to prepend $(install_root) to the directory names.