as you may know, the install of the avast rpm requires libexpat.so.0 . And the thing is, on Mandriva repositories as well as on rpm find web sites only a newest version, libexpat.so.1 , is available, incompatible with avast 4 for Linux. So my question is: where do I find libexpat.so.0 ??? thanks
i think it’s a bug in the distro, when there’s newer library with no backward compatibility. make a link, named like the old needed library, but point it to the new one. should help you.
Hallo,
yes, because this is the place where ld-linux.so is looking for the properly-named file. In the fact, each library has an inner “soname”, which is compiled in each binary, which was compiled with dependence to this library. This name is then used by the loader for search. Thus, each new version, with different name, should be equipped with a link, named like the original soname, and pointing to it.
Sonames can be listed using: objdump -x path_to_the_binary.
But some libraries use other libraries, so better is: ldd path_to_the_binary
Which in the fact is just an fake-trick, setting LD_TRACE_LOADED_OBJECTS=1, and trying to interpret it.
Similar option, but halting on first unresolved library, is --list, given to the interpreter directly:
/lib/ld-linux.so.2 --list /usr/lib/avast4workstation/bin/avastgui
Fedora has a “compat-expat” package that does nothing other than provide a libexpat.so.0 that’s identical to libexpat.so.1. I didn’t find it, however, until I tried installing avast4workstation using yum. have you tried installing it using whatever mandriva uses on top of RPM instead of RPM itself?
I haven’t tried anything with Mandriva for a few days…still recovering ;D from a complete disaster on my hard disk because of an error in the setup of Cooker… I could get my data back…I’ll give it a few days or weeks now before I reinstall Linux