Use ldd instead of nm