Re: /usr/local/lib/compat/pkg/ cleanup ?
Maciej Suszko wrote:
>
> > With "rm -rf /usr/local/lib/compat/pkg" you don't need all those
> > sophisticated tools you mentioned above. A missing library will
> > quickly make itself known :) and then you can forcible reinstall the
> > affected packages.
>
> Unless you do it remotely, using openssh from ports which might be
> affected... then you have a problem :)
>
> I usually do it like that:
>
> 1) find /usr/local -type f -print0 | xargs -0 ldd > /tmp/ldds
> 2 ) search the ldds file for "not found" or "compat"
> 3) find what packages affected files belongs to
> 4) recompile affected packages
Thank you, Maciej. This method is kinda harsh, but at least it does
not require additional software written in ruby etc etc.
I just moved /usr/local/lib/compat/pkg/* away, did the ldd check,
found nothing suspicious or missing, and removed all those libraries
altogether.
--
Victor Sudakov, VAS4-RIPE, VAS47-RIPN
sip:sudakov@sibptus.tomsk.ru
_______________________________________________
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.org"
討論串 (同標題文章)
完整討論串 (本文為第 7 之 10 篇):