I got tired of doing it by hand, so I wrote a somewhat simple script to do it for me. usage is:./lib_cleanup.sh libnspr4.so.6 libplc4.so.6 libplds4.so.6 libcrypto.so.0.9.7
b2evo sucks for trying to inline a script so see this link for the script.
***WARNING: THIS CODE MIGHT EAT YOUR SYSTEM, KILL YOUR DOG, AND MAKE YOU IMPOTENT. YOU HAVE BEEN WARNED***