pkg - Shared object "libarchive.so.5" not found, required by "pkg"

Tim Kientzle tim at kientzle.com
Fri Nov 23 23:54:47 UTC 2012


On Nov 23, 2012, at 2:13 PM, Christer Solskogen wrote:

> 10-CURRENT was built (and installed) twice. I guess the library was
> installed when I was at 9.1-RC3 but was deleted during make
> delete-old.

"delete-old" should not have deleted any libraries.

I think you must have also done "delete-old-libs".
That often requires you to reinstall all your ports
as well.

> Rebuilding pkg from src/usr.sbin/pkg did not do the trick. For some
> reason it was still linking to the old library.
> Any hints?

/usr/sbin/pkg mostly just runs /usr/local/sbin/pkg

You need to reinstall the pkg port as well.

Tim



More information about the freebsd-current mailing list