Problem using ld-linux-x86-64.so.2 to invoke a binary directly

colt

New Member
Joined
Sep 3, 2020
Messages
12
Reaction score
0
Credits
148
Hello, I am currently trying to use the loader from a recently compiled Glibc to invoke a binary file directly.

And I am trying to accomplish so with
Code:
./ld-linux-x86-64.so.2  libpthread.so.0 /media/34GB/Arquivos-de-Programas-Linux/palemoon/palemoon-bin

When I try to do so, I receive :
libpthread.so.0: error while loading shared libraries: libpthread.so.0: cannot open shared object file: No such file or directory

I then I tried:
./ld-linux-x86-64.so.2 --library-path /media/34GB/Arquivos-de-Programas-Linux/Glibc-2.17/lib/libpthread.so.0 libpthread.so.0 /media/34GB/Arquivos-de-Programas-Linux/palemoon/palemoon-bin

Nonetheless, the error message persisted. Am I doing something wrong? Thanks for your time.
 

Members online


Top