Purpose of /usr/local/lib/compat/pkg?

Charles Swiger cswiger at mac.com
Tue Jul 16 18:05:28 UTC 2013


Hi--

On Jul 16, 2013, at 9:57 AM, Walter Hurry <walterhurry at gmail.com> wrote:
> What is the purpose of /usr/local/lib/compat/pkg?

It holds old versions of shared libraries which were once used by installed ports.

> As far as I can see, in a properly organised system, all the shared libraries
> in there should be redundant.

True, assuming you've recompiled all of your ports to use the latest versions.
However, if you ever have to roll something back, it will continue to work if
these old shared libs are available.

> If this is correct, is there an easy way to clear them out, or should I just rm?

If you're low on space, sure, you can just rm them.  Don't bother otherwise...

Regards,
-- 
-Chuck



More information about the freebsd-questions mailing list