Linux question. Changing linked libs ldd

Linux question. Changing linked libs ldd

ldd <something> will print me for exaple
libdl.so.2 => /lib/libdl.so.2 (0x4af8f000)

and lets say I want to change it to other path. HOW?

I also noticed that in case of the bin I want to change patchs to dll for it to diffrent users it has diffrent patch for same dll .so files. For example root will see something else than user after ldd <program> and other user will see something else. So where and how this data is stored for others users, and how/where to delete it

 

 

 

 

Top