Shared Library Portability

view story

http://stackoverflow.com – So I feel like I should know this but I don't so here goes... For shared libs (.so) on Linux. My understanding is as long as the CPU architecture stays the same those should be portable between distros right? e.g. If I had a x86_64 Fedora and I copied a .so file from it to a x86_64 Ubuntu the .so should work just fine? Now I believe this assumes that: A) The .so doesn't have unfulfilled dependencies to other .sos on the new machine. B) The .so doesn't have a dependency to a different version .so than the new machine But let's say I have my libisprime.so shared object that has a single fun (HowTos)