# ldd /usr/local/rrdtool-1.2.19/lib/librrd.so.2.9 /usr/local/rrdtool-1.2.19/lib/librrd.so.2.9: /usr/local/rrdtool-1.2.19/lib/librrd.so.2.9: Exec format error /usr/local/rrdtool-1.2.19/lib/librrd.so.2.9: exit status 1 When I set LD_BIND_NOW=1 I still get the same error with my perl script. The rrdtool command line produces correct output.