This is why package systems exist.
If your binary library libhell is a dynamic library (this is libhell.so common object with position-independent code), and if the libssl-dev dependency libssl-dev not changed its API (for example, if its version number has not been changed), then you do not need to recompile and reinstall libhell .
If you think your libhell depends on the changed function (or data) of libssl-dev , then you should recompile it.
Better recompile your libhell more often than necessary.
See also "Program Library"
Basile starynkevitch
source share