By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
434,654 Members | 1,816 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 434,654 IT Pros & Developers. It's quick & easy.

Linux Kernel - Shared libraries auto load when app starts up

P: n/a
Hi all,
I am using Linux OS ... my application XYZ uses shared libraries, and

When application XYZ is started .... the and are loaded automatically (given that the env variable LD_LIBRARY_PATH is properly set) ...

If I want to validate the integrity of these libs before they are loaded, how am I going to do about that?

I understand the if I have dlopen in my C/C++ app, I cant write wrappter to the dlopen to validate the libraries before calling the actual dlopen ...
But in the case of auto loading shared libraries at startup time, Do I need to do anything with kernel for this purpose ?


Nov 8 '10 #1
Share this Question
Share on Google+
1 Reply

Expert 100+
P: 983
Do you have the luxury of wrapping your application inside a shell script?

Then you'd be able to verify your shared libraries before trying to execute the application.
Nov 9 '10 #2

Post your reply

Sign in to post your reply or Sign up for a free account.