I have set the binary's rpath to the following: /usr/$LIB/test:$ORIGIN/lib/
The libraries are located at /usr/lib64/test
, but when I run my binary it says it can't find those libraries.
I have checked the rpath with readelf -d
.
The question is simple - why?
Upgrade #1
OS: Ubuntu 12.04.3 LTS
ld version: 2.15