[caolan@Nom ~]$ echo "int main() { return 0;}" | gcc -x c -Wl,-rpath,'$ORIGIN' - [caolan@Nom ~]$ readelf -d a.out | grep ORIGIN 0x000000000000000f (RPATH) Library rpath: [$ORIGIN] [caolan@Nom ~]$ ./a.out Inconsistency detected by ld.so: ../sysdeps/unix/sysv/linux/dl-origin.c: 85: _dl_get_origin: Assertion `str[0] == '/'' failed! [caolan@Nom ~]$ echo $? 127 [caolan@Nom ~]$ `pwd`/a.out [caolan@Nom ~]$ echo $? i.e. executing a binary with a RPATH of $ORIGIN fails if an absolute patch to the binary is not used glibc-2.8.90-10.x86_64
Fixed upstream.
Now in rawhide.