If you have binary that is hardcoded to look for some files/libs in a certain path, you can overwrite that path with sed
directly lol. You just need to make sure to keep the string length the same.
sed -i s|/usr|././|g
will change /usr
for the current working dir for example.
๐