The tag has no usage guidance.

learn more… | top users | synonyms

13
votes
4answers
1k views

What system call is used to load libraries in Linux?

In strace outputs, the paths to the libraries that executables call are in calls to open(). Is this the system call used by executables that are dynamically linked? What about dlopen()? open() isn't a ...
4
votes
2answers
64 views
+50

Is there a way to check whether a .so has been compiled with -Bsymbolic-functions flag?

My application loads custom code using dlopen on the fly. For common symbols, the global symbol table is used by default. However, I want to provide the functionality where - if the user has linked ...
1
vote
0answers
41 views

binary is able to run only when run after creating a symbolic link to it

I am facing a rather strange problem. I have a 32 bit qmake binary placed at a very deep path. So for ease of use I created a link using ln -s /complicated/path/to/qmake ~/qmake I am running a ...
0
votes
1answer
60 views

Linux environment variable using non-fullpath

I'm setting the environment variable LD_PRELOAD to a shared library file I created, in order to let LD_PRELOAD to point to my created shared library file, I need to give the full path like this: ...
1
vote
2answers
887 views

ld.so.preload doesn't differ x86_32 and x86_64

— It's known you can run x86_32 programms with x86_64 kernel if it was compiled with support for that. But dynamic linker doesn't provide any way to define a separate set of preload libraries for ...
2
votes
2answers
95 views

Is it possible to configure dynamic loader for an executable

I am looking for a way to allow an executable to find its shared library, but in order to avoid conflict with any package that could use a different version of the same shared library I prefer to keep ...
1
vote
1answer
40 views

Is there a way to monitor the Shareable Objects (.so) loaded on launch of a specific application?

I've been through dependency issues, but, finally, have my application running. The problem is I need to force install of some old libraries with dpkg to achieve this, which, in turn, breaks my ...
6
votes
1answer
2k views

Which parts of an ELF executable get loaded into memory, and where?

What I already know: An ELF executable has a number of sections, obviously the .text and .data sections get loaded into memory as these are the main parts of the program. But for a program to work, ...
1
vote
1answer
794 views

(debian) installing mod_qos on apache results in error on start

I installed the mod_qos module using the steps found here, every step went perfectly fine without any problems, however, when attempting to restart the apache service it returned the following error: ...
7
votes
1answer
387 views

ELF shared libraries - motivation for the PLT

Could self-modifying code be used to speed up function calling in dynamically linked libraries? As far as I understand it, ELF shared libraries use a kind of indirect jump table (the procedure ...
6
votes
2answers
15k views

How to export LD_LIBRARY_PATH to all users and system services

I want to export LD_LIBRARY_PATH to system services and all users. System services are run before login, so .bashrc is not applicable. How to achieve this?
3
votes
1answer
491 views

Reload xserver-xorg-input-mouse

Can I reload xserver-xorg-input-mouse driver on the fly? For example, after I modify and recompile the source