You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
It doesn't use the right on when i start the program, because the new path should be the contrary?
ie : /lib64/ld-linux-x86-64.so.2 => libs_myexe/ld-linux-x86-64.so.2
I do something wrong?
Thanks
The text was updated successfully, but these errors were encountered:
I think that what's happening is that ldd is a script that ultimately runs /lib64/ld-linux-x86-64.so.2 to produce the output about the library dependencies. The line of output that mentions ld-linux will always report the /lib64/ld-linux-x86-64.so.2 as the target because it's the loader that is actually loaded and running when you invoke ldd.
to reliably see what's in the executable file, and use ls -l on what's displayed there if you want to know if and what the name is ultimately linked to.
Hi,
Here is what i do :
patchelf --set-interpreter libs_myexe/ld-linux-x86-64.so.2 ./myexe
After it i check with :
ldd myexe | grep ld-linux
libs_myexe/ld-linux-x86-64.so.2 => /lib64/ld-linux-x86-64.so.2 (0x00007f2b025b4000)
It doesn't use the right on when i start the program, because the new path should be the contrary?
ie : /lib64/ld-linux-x86-64.so.2 => libs_myexe/ld-linux-x86-64.so.2
I do something wrong?
Thanks
The text was updated successfully, but these errors were encountered: