I made a specified config file which indicated my specified dynamic library path under /etc/ld.so.conf.d/
and ran the ldconfig
command.
After that, one symbolic link to my specified dynamic library was automatically generated. I guess it was the normal behaviour for ldconfig
.
The problem is that if I delete my config file which was put in /etc/ld.so.conf.d/
and my specified dynamic library, and then run the ldconfig
command, the symbolic link wasn't deleted by ldconfig
.
I'd like to know if this was the normal behaviour for ldconfig
and how can I work around this problem.
ldconfig
should remove symlinks when updating if appropriate but no clear examples...