I get the following error when I try to run a script I have only execution access for:
uname: symbol lookup error: /home/dumindara/random/sotest/a.out: undefined symbol: dlsym
This is after I have set LD_PRELOAD
environment variable to /home/dumindara/random/sotest/a.out
.
a.out
has a test malloc
function, and calls dlsym
internally.
I don't get this problem when running ls
. Most processes do give this error. Why does this happen and what can I do to make it work?