I upgraded curl from 7.11.1 to 7.12.0-r2. Now when I run freshclam (from clamav) I get "error while loading shared libraries: libcurl.so.2: cannot open shared object file: No such file or directory" Reproducible: Always Steps to Reproduce: 1. Upgrade curl to the latest version 2. Run # freshclam 3. Actual Results: error while loading shared libraries: libcurl.so.2: cannot open shared object file: No such file or directory Expected Results: Freshclam should have download updates Can be fixed by re-emerging clamav Are there other packages that depend on curl that will be affected??
Sorry, this is unavoidable when upgrading libraries - dynamically linked executables get broken. revdep-rebuild is a tool made to remedy this.
this only matters when a) the library get's a new name (due to a version number change for example) b) the internals of the library change in curls case, the library name changed from libcurl.so.2 to libcurl.so.3. Gentoo should take much greater care in those cases to avoid package breakages without the user knowing what's going to happen. the upgrade from openssl-0.9.6 to 0.9.7 was a good example IIRC on how to do it right.