Specs for saving old shared libs

Scot Hetzel swhetzel at gmail.com
Fri May 18 15:37:38 UTC 2007


On 5/18/07, Robert Huff <roberthuff at rcn.com> wrote:
>        <do not try this at home>
>        When in need of emergency disk space, my first trick is to
> flush /usr/ports/distfiles and /usr/obj.
>        If that's not enough, I empty /usr/local/lib/compat/pkg.  About
> one time in twenty I discover something important was depending on a
> deleted lib.  _So far_ , every time I have been able to fix this by
> sym-linking lib<foo>,N to lib<foo>.N+1.
>        </do not try this at home>
>
You don't need to use the sym-link hack, instead create an
/etc/libmap.conf file that contains:

lib<foo>.N lib<foo>.N+1

For the applications that are missing lib<foo>.N.

Scot
-- 
DISCLAIMER:
No electrons were mamed while sending this message. Only slightly bruised.


More information about the freebsd-ports mailing list