views:

309

answers:

2

Hi,

Accidentally I mixed up between 32Bit and 64Bit library files on my x86 embedded Linux system. I'm now trying to find out which .so-File could be the wrong one.

Do you know any tool to analyze .so files?

In my strace logs I found calls to fstat64(). Which .so-file contains the fstat() routine?

Thanks

+3  A: 

file(1) can quickly tell you whether a shared object is 32-bit of 64-bit. Try:

file /lib/*.so*
earl
Ah.. :) I am slow. Great!
Aviator
+1  A: 

readelf -h /path/to/yourelf

Paul Whelan