1834190 Members
2893 Online
110064 Solutions
New Discussion

Re: chatr explanation

 
SOLVED
Go to solution
Alfonso_15
Advisor

chatr explanation

Hi.
I have a trouble with a shared library in development machine. I compare this file with the one in production machine using comand chatr and the only one difference found is that in development machine show this additional attribute :
"explicit unloading enabled"

Could you guys give me a explanation what that means and how I can set it enabled or disabled? Thanks in advance.
alfonsoarias
2 REPLIES 2
Deoncia Grayson_1
Honored Contributor

Re: chatr explanation

I'm not sure if the shared library was written in C++ or Java which files you are getting this information from but the meaning...


From within the single "application manager" application, we start and stop other applications and allow explicit unloading of classes. All applications that are executing within this environment share all loaded classes entirely, i.e. all code and data is loaded only once and then reused (shared).


Again, might be helpful if you gave the files that you compared to derive this information.
If no one ever took risks, Michelangelo would have painted the Sistine floor. -Neil Simon
Ermin Borovac
Honored Contributor
Solution

Re: chatr explanation

From ld(1)

---
-B bind

...

nodelete

Mark the shared library so that an explicit unload using dlclose() or shl_load() returns success silently without detaching the shared library from the process.
---

You can change it with chatr -B [nodelete|delete]

$ chatr -B nodelete