pkg : Undefined symbol "openat"
Erdos New
shaojwen at aim.com
Tue Jan 10 17:45:59 UTC 2017
i followed the steps to rebuild 'pkg' and lock it with
# pkg lock pkg
then i issued following to get list of missing shared libraries and install them:
root at oblivion:/usr/home/erdos # pkg check --shlibs -nva | grep -v done
[34/326] Checking firefox-42.0,1: shared libraries...(firefox-42.0,1) /usr/local/lib/firefox/plugin-container - required shared library libplds4.so.1 not found
(firefox-42.0,1) /usr/local/lib/firefox/plugin-container - required shared library libplc4.so.1 not found
(firefox-42.0,1) /usr/local/lib/firefox/plugin-container - required shared library libnspr4.so.1 not found
root at oblivion:/usr/home/erdos #
view upgrades that are wanted and available:
#pkg version -vRL=
dry run 'pkg upgrade' to see 'what if'
# pkg upgrade -n
run pkg grade to fetch upgrades:
# pkg upgrade
confirm system is up to date:
# pkg check --shlibs -a
now system is up and running.
-erdos
-----Original Message-----
From: Franco Fichtner <franco at lastsummer.de>
To: Erdos New <shaojwen at aim.com>
Cc: freebsd-pkg <freebsd-pkg at freebsd.org>
Sent: Fri, Jan 6, 2017 1:17 pm
Subject: Re: pkg : Undefined symbol "openat"
> On 6 Jan 2017, at 7:14 PM, Erdos New <shaojwen at aim.com> wrote:
>
> for now i'd like to stay with 10.1 instead of upgrading to 10.3.
>
> how do i rebuild 'pkg' from ports tree?
Yes, just run this... :)
# portsnap fetch
# portsnap extract
# cd /usr/ports/ports-mgmt/pkg
# make all deinstall install
Cheers,
Franco
More information about the freebsd-pkg
mailing list