readelf -a <EXECUTABLE> | grep -i rpath
ldd <EXECUTABLE>
0x000000000000000f (RPATH) Library rpath: [/ddnet-source-steam/ddnet-libs/curl/linux/lib64:/usr/local/lib:/ddnet-source-steam:]