Skip to content
Snippets Groups Projects
Commit 61fcc018 authored by Ahmed Abd El Mawgood's avatar Ahmed Abd El Mawgood
Browse files

Refer to libraries with soname if available and avoid loading libs twice

It is usually not optimal to load a library twice and for specifics,
it is **terrible** idea to load libc twice it was enough trouble
dealing with libc statically linked into ld.so. So What this patch does
it check for soname and if a library is already loaded it won't get
loaded again. Why soname ? because unfortunately some bins gets linked
againt libc.so while of their dependencies gets linked against
libc.so.6 while one is usually symbolic link for the other.
parent 9826cea0
No related branches found
No related tags found
No related merge requests found
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment