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

看板FB_questions作者時間11年前 (2014/07/02 21:32), 編輯推噓0(000)
留言0則, 0人參與, 最新討論串7/10 (看更多)
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"
文章代碼(AID): #1Jj0dJ6w (FB_questions)
討論串 (同標題文章)
文章代碼(AID): #1Jj0dJ6w (FB_questions)