Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 15 Dec 2018 22:24:22 -0800
From:      Doug Hardie <bc979@lafn.org>
To:        FreeBSD Ports <freebsd-ports@freebsd.org>
Subject:   Upgrading to 12.0
Message-ID:  <5702E406-D708-4DA2-ADB9-00C6EFC9FD79@mail.sermon-archive.info>

next in thread | raw e-mail | index | archive | help
I upgraded via pkg a test system from 11.0 to 12.0 a couple days ago.  =
After getting everything there working, I upgraded a 11.1 production =
system to 12.0.  Things are a bit weird with this one.  The htmldoc port =
never got updated on either system.  It asks for libssl.so.8.  That =
doesn't exist anymore on 12.0.  I copied it, along with libcrypto and =
libarchive, over from a production system to the test system and things =
worked.

I ran pkg upgrade on the production system and it has the same problem.  =
It first appeared that for some reason htmldoc was never compiled on =
12.0.  Then I investigated farther and things are quite unusual.

=46rom the test system:

test# ldd /usr/local/bin/htmldoc
/usr/local/bin/htmldoc:
	libssl.so.8 =3D> /usr/lib/libssl.so.8 (0x800683000)
	libcrypto.so.8 =3D> /lib/libcrypto.so.8 (0x800a00000)
	libpng16.so.16 =3D> /usr/local/lib/libpng16.so.16 (0x8008f6000)
	libz.so.6 =3D> /lib/libz.so.6 (0x800933000)
	libjpeg.so.8 =3D> /usr/local/lib/libjpeg.so.8 (0x80094d000)
	libm.so.5 =3D> /lib/libm.so.5 (0x800e6f000)
	libc++.so.1 =3D> /usr/lib/libc++.so.1 (0x800ea1000)
	libcxxrt.so.1 =3D> /lib/libcxxrt.so.1 (0x800f70000)
	libc.so.7 =3D> /lib/libc.so.7 (0x800f91000)
	libgcc_s.so.1 =3D> /lib/libgcc_s.so.1 (0x8009e3000)
test# ll /lib/libssl*
ls: No match.
test# ll /usr/lib/libssl*
-r--r--r--  1 root  wheel  4395354 Dec 12 23:27 /usr/lib/libssl.a
lrwxr-xr-x  1 root  wheel       13 Dec 12 23:27 /usr/lib/libssl.so -> =
libssl.so.111
-r--r--r--  1 root  wheel   604936 Dec 12 23:27 /usr/lib/libssl.so.111
-r--r--r--  1 root  wheel   470352 Dec 14 18:22 /usr/lib/libssl.so.8
-r--r--r--  1 root  wheel  4502998 Dec 12 23:27 /usr/lib/libssl_p.a
test# uname -a
FreeBSD test 12.0-RELEASE FreeBSD 12.0-RELEASE r341666 GENERIC  amd64



=46rom the production system:

master# ldd /usr/local/bin/htmldoc
/usr/local/bin/htmldoc:
	libssl.so.8 =3D> not found (0)
	libcrypto.so.8 =3D> not found (0)
	libpng16.so.16 =3D> /usr/local/lib/libpng16.so.16 (0x800683000)
	libz.so.6 =3D> /lib/libz.so.6 (0x8006c0000)
	libjpeg.so.8 =3D> /usr/local/lib/libjpeg.so.8 (0x8006da000)
	libm.so.5 =3D> /lib/libm.so.5 (0x800770000)
	libc++.so.1 =3D> /usr/lib/libc++.so.1 (0x8007a2000)
	libcxxrt.so.1 =3D> /lib/libcxxrt.so.1 (0x800871000)
	libc.so.7 =3D> /lib/libc.so.7 (0x800892000)
	libgcc_s.so.1 =3D> /lib/libgcc_s.so.1 (0x800c85000)
master# ll /usr/local/lib/libssl*
-rw-r--r--  1 root  wheel  664692 Dec  8 11:46 /usr/local/lib/libssl.a
lrwxr-xr-x  1 root  wheel      16 Dec  8 11:46 /usr/local/lib/libssl.so@ =
-> libssl.so.45.0.1
lrwxr-xr-x  1 root  wheel      16 Dec  8 11:46 =
/usr/local/lib/libssl.so.45@ -> libssl.so.45.0.1
-rw-r--r--  1 root  wheel  350496 Dec  8 11:46 =
/usr/local/lib/libssl.so.45.0.1
master# uname -a
FreeBSD master 12.0-RELEASE FreeBSD 12.0-RELEASE r341666 GENERIC  amd64


The two versions of htmldoc appear to be identical and old.  They never =
got updated.  However, the versions of libssl don't match at all.  One =
is version 111 and the other 45.  The version 45 is older date wise, and =
almost twice as big.  There was only a couple days between the runs of =
pkg on those systems.  I can't imagine why the version numbers are so =
different.  I expected to find the version numbers and the dates =
identical between the two systems.

For the time being I'll copy the old versions of libssl, libcrypto, and =
libarchive back onto the production system, but that doesn't seem like =
the right way to be running the system.  It seems to work though.

-- Doug




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?5702E406-D708-4DA2-ADB9-00C6EFC9FD79>