On Windows you cannot delete loaded dynamic/shared libraries, how to make same thing happen on Linux [on...
up vote
0
down vote
favorite
On Windows, I run my executable and I do
rm *.dll
Then the dynamic libraries loaded by my executable cannot be deleted, only the ones not loaded can be deleted.
However as you might know, on Linux, after running my executable, running
rm *.so*
deletes all shared libraries regardless of the fact that some of them might be loaded by my executable.
Considering such a scenario, how can I make Linux behave like Windows!?
rm dynamic-linking shared-folders
put on hold as unclear what you're asking by Rui F Ribeiro, JigglyNaga, Kiwy, jimmij, Mr Shunz yesterday
Please clarify your specific problem or add additional details to highlight exactly what you need. As it's currently written, it’s hard to tell exactly what you're asking. See the How to Ask page for help clarifying this question. If this question can be reworded to fit the rules in the help center, please edit the question.
add a comment |
up vote
0
down vote
favorite
On Windows, I run my executable and I do
rm *.dll
Then the dynamic libraries loaded by my executable cannot be deleted, only the ones not loaded can be deleted.
However as you might know, on Linux, after running my executable, running
rm *.so*
deletes all shared libraries regardless of the fact that some of them might be loaded by my executable.
Considering such a scenario, how can I make Linux behave like Windows!?
rm dynamic-linking shared-folders
put on hold as unclear what you're asking by Rui F Ribeiro, JigglyNaga, Kiwy, jimmij, Mr Shunz yesterday
Please clarify your specific problem or add additional details to highlight exactly what you need. As it's currently written, it’s hard to tell exactly what you're asking. See the How to Ask page for help clarifying this question. If this question can be reworded to fit the rules in the help center, please edit the question.
6
Why is this a problem? What issue are you trying to solve? The fact that Windows prevents deletions of open files IMO makes system administration HARDER because you can't upgrade without doing unnecessary reboots.or restarts of processes. "Delete libxyz.so, put a new copy in place" works just fine on Linux to upgrade libxyz.so.
– Andrew Henle
yesterday
add a comment |
up vote
0
down vote
favorite
up vote
0
down vote
favorite
On Windows, I run my executable and I do
rm *.dll
Then the dynamic libraries loaded by my executable cannot be deleted, only the ones not loaded can be deleted.
However as you might know, on Linux, after running my executable, running
rm *.so*
deletes all shared libraries regardless of the fact that some of them might be loaded by my executable.
Considering such a scenario, how can I make Linux behave like Windows!?
rm dynamic-linking shared-folders
On Windows, I run my executable and I do
rm *.dll
Then the dynamic libraries loaded by my executable cannot be deleted, only the ones not loaded can be deleted.
However as you might know, on Linux, after running my executable, running
rm *.so*
deletes all shared libraries regardless of the fact that some of them might be loaded by my executable.
Considering such a scenario, how can I make Linux behave like Windows!?
rm dynamic-linking shared-folders
rm dynamic-linking shared-folders
asked yesterday
user3405291
730418
730418
put on hold as unclear what you're asking by Rui F Ribeiro, JigglyNaga, Kiwy, jimmij, Mr Shunz yesterday
Please clarify your specific problem or add additional details to highlight exactly what you need. As it's currently written, it’s hard to tell exactly what you're asking. See the How to Ask page for help clarifying this question. If this question can be reworded to fit the rules in the help center, please edit the question.
put on hold as unclear what you're asking by Rui F Ribeiro, JigglyNaga, Kiwy, jimmij, Mr Shunz yesterday
Please clarify your specific problem or add additional details to highlight exactly what you need. As it's currently written, it’s hard to tell exactly what you're asking. See the How to Ask page for help clarifying this question. If this question can be reworded to fit the rules in the help center, please edit the question.
6
Why is this a problem? What issue are you trying to solve? The fact that Windows prevents deletions of open files IMO makes system administration HARDER because you can't upgrade without doing unnecessary reboots.or restarts of processes. "Delete libxyz.so, put a new copy in place" works just fine on Linux to upgrade libxyz.so.
– Andrew Henle
yesterday
add a comment |
6
Why is this a problem? What issue are you trying to solve? The fact that Windows prevents deletions of open files IMO makes system administration HARDER because you can't upgrade without doing unnecessary reboots.or restarts of processes. "Delete libxyz.so, put a new copy in place" works just fine on Linux to upgrade libxyz.so.
– Andrew Henle
yesterday
6
6
Why is this a problem? What issue are you trying to solve? The fact that Windows prevents deletions of open files IMO makes system administration HARDER because you can't upgrade without doing unnecessary reboots.or restarts of processes. "Delete libxyz.so, put a new copy in place" works just fine on Linux to upgrade libxyz.so.
– Andrew Henle
yesterday
Why is this a problem? What issue are you trying to solve? The fact that Windows prevents deletions of open files IMO makes system administration HARDER because you can't upgrade without doing unnecessary reboots.or restarts of processes. "Delete libxyz.so, put a new copy in place" works just fine on Linux to upgrade libxyz.so.
– Andrew Henle
yesterday
add a comment |
active
oldest
votes
active
oldest
votes
active
oldest
votes
active
oldest
votes
active
oldest
votes
6
Why is this a problem? What issue are you trying to solve? The fact that Windows prevents deletions of open files IMO makes system administration HARDER because you can't upgrade without doing unnecessary reboots.or restarts of processes. "Delete libxyz.so, put a new copy in place" works just fine on Linux to upgrade libxyz.so.
– Andrew Henle
yesterday