Linux.com

florianpainke

florianpainke

  • Linux.com Member
  • Posts: 4
  • Member Since: 23 Nov 11
  • Last Logged In: 03 Jan 12

Latest Posts

Posted by
Topic
Post Preview
Posted
  • florianpainke
    RE: Any way to find out where a DSO was loaded from?
    Okay, so the basic idea is to read the information from /proc//maps ... Thanks for the hint with lsof.
    Link to this post 03 Jan 12

    Okay, so the basic idea is to read the information from /proc/<PID>/maps ...
    Thanks for the hint with lsof.

  • florianpainke
    RE: Any way to find out where a DSO was loaded from?
    Thanks for your answer & help! I use plain C for this project.
    Link to this post 01 Dec 11

    Thanks for your answer & help!
    I use plain C for this project.

  • florianpainke
    RE: Any way to find out where a DSO was loaded from?
    Thanks very much! I will look into this, didn't think of it.
    Link to this post 28 Nov 11

    Thanks very much! I will look into this, didn't think of it.

  • florianpainke
    Any way to find out where a DSO was loaded from?
    Is there any way for a DSO in Linux to find out where it was loaded from? (In Windows I have the GetModuleHandle and GetModuleFilename functions to determine the full path to the library. Since I need to load other libraries from a different directory within a certain predefined hierarchy it would be convenient to have a way to get the full path to a DSO. So far I'm using an environment variable that points to the base directory.) Thanks for any hints, Google wasn't very helpful, so far ...
    Link to this post 23 Nov 11

    Is there any way for a DSO in Linux to find out where it was loaded from?
    (In Windows I have the GetModuleHandle and GetModuleFilename functions to determine the full path to the library. Since I need to load other libraries from a different directory within a certain predefined hierarchy it would be convenient to have a way to get the full path to a DSO. So far I'm using an environment variable that points to the base directory.)
    Thanks for any hints, Google wasn't very helpful, so far ...

Who we are ?

The Linux Foundation is a non-profit consortium dedicated to the growth of Linux.

More About the foundation...

Frequent Questions

Join / Linux Training / Board