[tcpdump-workers] pcap shared libraries: inconsistencies across Linux machines

2007-06-16 Thread Alexander Dupuy
ELF versioning is handled by ONAME tag in the library .so which specifies an exact library name for linking. This is typically something like libx.so.6 which is a symlink to libx.so.6.1.2. So unless libpcap.so was built with an ONAME of libpcap.so.0 the default is an exact version match, i.e. l

Re: [tcpdump-workers] pcap shared libraries: inconsistencies across Linux machines

2007-06-13 Thread Guy Harris
On Jun 13, 2007, at 9:32 AM, Jonathan Gruenhut wrote: To be honest, at this point I’m totally mystified. My (naive) understanding of shared objects in Linux was that as long as the major version number was the same, the loader should look up whatever is present on the system. That's how

[tcpdump-workers] pcap shared libraries: inconsistencies across Linux machines

2007-06-13 Thread Jonathan Gruenhut
I am working on 2 Linux machines, compiling the same source code, and linking with -lpcap. The programs work fine on the machines they were compiled on; one uses libpcap.so.0.8.3, and the other uses libpcap.so.0.9.4. The problem is that I would like to run binaries from each one on the other