After update to FreeBSD 12, shared objects missing

Shane Ambler FreeBSD at ShaneWare.Biz
Tue Dec 18 08:05:26 UTC 2018

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:
>>> Shared object "" not found, required by "pkg"
>>> Shared object "" 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
>> 12amd64  12.0-RELEASE amd64 ftp    2018-12-16 23:44:27 /usr/local/poudriere/jails/12amd64
>> Location of the supposedly missing objects
>> locate ""
>> /usr/lib/
>> /usr/lib32/
>> /usr/local/poudriere/jails/112amd64/usr/lib/
>> /usr/local/poudriere/jails/112amd64/usr/lib32/

If you look closely those libs are in 112amd64 (11.2) while your build
is failing in 12amd64 (12.0) which will have

If you have deleted your old poudriere jail and only have the one, then
your locate db is out of date.


FreeBSD - the place to B...Software Developing

Shane Ambler

More information about the freebsd-questions mailing list