/usr/local/lib/compat/pkg/ cleanup ?

Victor Sudakov vas at mpeks.tomsk.su
Fri Jun 27 16:18:05 UTC 2014


I ran 'portmaster -a' and still ended up with some legacy libraries in
/usr/local/lib/compat/pkg, like

# ldconfig -r | grep clamunrar_
        115:-lclamunrar_iface.6 => /usr/local/lib/libclamunrar_iface.so.6
        181:-lclamunrar_iface.7 => /usr/local/lib/compat/pkg/libclamunrar_iface.so.7


# ldconfig -r | grep aprutil
        164:-laprutil-1.0 => /usr/local/lib/libaprutil-1.so.0
        174:-laprutil-1.4 =>

I don't know why it is so after a 'portmaster -a' run, but what is
more important, which is the best way to safely cleanup the
/usr/local/lib/compat/pkg of unused libraries without the risk of
rendering some software unusable? 

Is there software that would analyse the libraries for me and delete
the unused ones?

Victor Sudakov,  VAS4-RIPE, VAS47-RIPN
sip:sudakov at sibptus.tomsk.ru

More information about the freebsd-questions mailing list