Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 18 Dec 2018 18:30:09 +1030
From:      Shane Ambler <FreeBSD@ShaneWare.Biz>
To:        FreeBSD <freebsd-questions@freebsd.org>, Carmel NY <carmel_ny@outlook.com>
Subject:   Re: After update to FreeBSD 12, shared objects missing
Message-ID:  <aa2c9612-c3fc-b5c6-cfa0-b04f9d069235@ShaneWare.Biz>
In-Reply-To: <DM5PR20MB21029B533BD55C8F9B69C08480BC0@DM5PR20MB2102.namprd20.prod.outlook.com>
References:  <SN1PR20MB21092862F8B557347EB99ADB80BC0@SN1PR20MB2109.namprd20.prod.outlook.com> <ec76e574-aa81-d014-8067-98183d874b27@fechner.net> <DM5PR20MB21029B533BD55C8F9B69C08480BC0@DM5PR20MB2102.namprd20.prod.outlook.com>

next in thread | previous in thread | raw e-mail | index | archive | help
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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?aa2c9612-c3fc-b5c6-cfa0-b04f9d069235>