Thanks to Snape I could find objdump and attempt what is suggested here https://en.wikipedia.org/wiki/Rpath me@my-machine /gnu/store/zv2c9mbs4q7f75p9xlgxs62fb5wmp3ac-granite-0.4.0.1$ objdump -a -x bin/granite-demo | grep NEEDED NEEDED libgranite.so.3 <--- here it is NEEDED libgtk-3.so.0 NEEDED libgdk-3.so.0 NEEDED libpangocairo-1.0.so.0 NEEDED libpango-1.0.so.0 NEEDED libatk-1.0.so.0 NEEDED libcairo-gobject.so.2 NEEDED libcairo.so.2 NEEDED libgdk_pixbuf-2.0.so.0 NEEDED libgio-2.0.so.0 NEEDED libgthread-2.0.so.0 NEEDED libgee-0.8.so.2 NEEDED libgobject-2.0.so.0 NEEDED libglib-2.0.so.0 NEEDED libm.so.6 NEEDED libgcc_s.so.1 NEEDED libc.so.6 and me@my-machine /gnu/store/zv2c9mbs4q7f75p9xlgxs62fb5wmp3ac-granite-0.4.0.1$ objdump -a -x bin/granite-demo | grep RPATH me@my-machine /gnu/store/zv2c9mbs4q7f75p9xlgxs62fb5wmp3ac-granite-0.4.0.1$