From owner-freebsd-questions@freebsd.org Tue Dec 18 08:05:26 2018 Return-Path: Delivered-To: freebsd-questions@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 7AC0C1344CFF for ; Tue, 18 Dec 2018 08:05:26 +0000 (UTC) (envelope-from FreeBSD@shaneware.biz) Received: from ipmail03.adl6.internode.on.net (ipmail03.adl6.internode.on.net [150.101.137.143]) by mx1.freebsd.org (Postfix) with ESMTP id 83F3C85411 for ; Tue, 18 Dec 2018 08:05:24 +0000 (UTC) (envelope-from FreeBSD@shaneware.biz) Received: from unknown (HELO leader.local) ([118.211.60.245]) by ipmail03.adl6.internode.on.net with ESMTP; 18 Dec 2018 18:30:13 +1030 Subject: Re: After update to FreeBSD 12, shared objects missing To: FreeBSD , Carmel NY References: From: Shane Ambler Message-ID: Date: Tue, 18 Dec 2018 18:30:09 +1030 User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:60.0) Gecko/20100101 Thunderbird/60.0 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8 Content-Language: en-AU Content-Transfer-Encoding: 7bit X-Rspamd-Queue-Id: 83F3C85411 X-Spamd-Bar: ++++ Authentication-Results: mx1.freebsd.org X-Spamd-Result: default: False [4.08 / 15.00]; ARC_NA(0.00)[]; RCVD_COUNT_TWO(0.00)[2]; FROM_HAS_DN(0.00)[]; NEURAL_SPAM_SHORT(0.93)[0.935,0]; MIME_GOOD(-0.10)[text/plain]; DMARC_NA(0.00)[ShaneWare.Biz]; AUTH_NA(1.00)[]; NEURAL_SPAM_MEDIUM(0.95)[0.949,0]; TO_MATCH_ENVRCPT_SOME(0.00)[]; TO_DN_ALL(0.00)[]; MX_GOOD(-0.01)[mx.superb.net]; RCPT_COUNT_TWO(0.00)[2]; NEURAL_SPAM_LONG(1.00)[0.997,0]; R_SPF_NA(0.00)[]; RCVD_NO_TLS_LAST(0.10)[]; RCVD_IN_DNSWL_LOW(-0.10)[143.137.101.150.list.dnswl.org : 127.0.5.1]; R_DKIM_NA(0.00)[]; MIME_TRACE(0.00)[0:+]; ASN(0.00)[asn:4739, ipnet:150.101.0.0/16, country:AU]; MID_RHS_MATCH_FROM(0.00)[]; IP_SCORE(0.31)[ipnet: 150.101.0.0/16(1.11), asn: 4739(0.47), country: AU(-0.03)]; FROM_EQ_ENVFROM(0.00)[] X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 18 Dec 2018 08:05:26 -0000 On 17/12/18 10:59 pm, Carmel NY wrote: > On Mon, 17 Dec 2018 12:52:08 +0100, Matthias Fechner stated: > >> Am 17.12.2018 um 12:43 schrieb Carmel NY: >>> ld-elf.so.1: Shared object "libssl.so.8" not found, required by "pkg" >>> >>> ld-elf.so.1: Shared object "libmilter.so.5" not found, required by >>> "clamav-milter" >>> >>> The following errors are listed when trying to run clamav-milter or when >>> using "pg" in certain instances. The missing files are located on my >>> machine. I am using poudrier, but I am not able to force it to rebuild all >>> the ports on my PC. I am using this command: >>> >>> poudriere bulk -f ~/portlist -j 12amd64 >> >> it seems that you executed the third `freebsd-update install` before you >> reinstalled all port after you did an upgrade from freebsd 11 to 12? >> >> Try `pkg-static upgrade -f pkg` this should fix pkg. > > No, I did rebuild in the correct order. I am now building "pkg" and a few > others sans poudriere. Poudriere refuses to rebuild them. It claims they are > up-to-date, and I cannot figure out how to FORCE a REBUILD and REINSTALL via > poudriere. You can tell poudriere to clean out pkgs with the -c option poudriere bulk -c -f ~/portlist -j 12amd64 The -C option will clean out pkgs in your list, while -c cleans all pkgs I sometimes nuke the entire package repo. rm -r /usr/local/poudriere/data/packages/12amd64-ports On your base system try adding entries to libmap.conf until you get things running again. >> >> This is the jail info: >> >> poudriere jail -l >> JAILNAME VERSION ARCH METHOD TIMESTAMP PATH >> 12amd64 12.0-RELEASE amd64 ftp 2018-12-16 23:44:27 /usr/local/poudriere/jails/12amd64 >> >> Location of the supposedly missing objects >> >> locate "libssl.so.8" >> /usr/lib/libssl.so.8 >> /usr/lib32/libssl.so.8 >> /usr/local/poudriere/jails/112amd64/usr/lib/libssl.so.8 >> /usr/local/poudriere/jails/112amd64/usr/lib32/libssl.so.8 >> If you look closely those libs are in 112amd64 (11.2) while your build is failing in 12amd64 (12.0) which will have libssl.so.111 If you have deleted your old poudriere jail and only have the one, then your locate db is out of date. /usr/libexec/locate.updatedb -- FreeBSD - the place to B...Software Developing Shane Ambler