Mixed 32-bit and 64-bit shared objects / libraries

I accidentally mixed up between 32Bit and 64Bit library files on my embedded Linux x86 system. Now I'm trying to figure out which .so-file might be wrong.

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

+5
source share
2 answers

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

file /lib/*.so*
+11
source

readelf -h / path / to / yourelf

+1
source

All Articles