pkg broke after upgrade to v5.9.0.609

Daniel Fojt df at neosystem.org
Wed Jul 22 22:29:14 PDT 2020


On Wed, 22 Jul 2020 14:17:55 -0400
Ron Georgia <netverbs at gmail.com> wrote:

> I upgraded from 5.9-DEVELOPMENT DragonFly v5.9.0.583 to 5.9-DEVELOPMENT 
> DragonFly v5.9.0.609. When I try to use pkg I get this error:
> Shared object "libprivate_ssl.so.47" not found, required by "pkg"

Oh, sorry, my fault. Fixed in commit 18a5eb36+.

Now, how to fix it on your system.

Most straightforward and safe solution is to copy pkg-static over pkg...

cp /usr/local/sbin/pkg-static /usr/local/sbin/pkg

... and wait for new packages.

Other possible solutions...

Quick and dirty one is to symlink these two libraries...

ln -s /lib/libprivate_ssl.so.48 /lib/libprivate_ssl.so.47
ln -s /lib/libprivate_crypto.so.46 /lib/libprivate_crypto.so.45

(This is just emergency solution, not to be used regularly.)

Or pick missing libraries (libprivate_ssl.so.47 and libprivate_crypto.so.45)
from a snapshot couple of days old from here:

http://mirror-master.dragonflybsd.org/snapshots/x86_64/images/

Or, if you have dports, just re-compile pkg (the most "clean" solution)...

cd /usr/dports/ports-mgmt/pkg/ && make reinstall

Once again, sorry for breakage.

--
						Daniel Fojt



More information about the Users mailing list