Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 10 Jan 2017 12:45:50 -0500
From:      Erdos New <shaojwen@aim.com>
To:        franco@lastsummer.de
Cc:        freebsd-pkg@freebsd.org
Subject:   Re: pkg :   Undefined symbol "openat"
Message-ID:  <159897c6c32-60de-1a8d@webprd-m71.mail.aol.com>
In-Reply-To: <66DB6C90-01E6-4534-84C7-15A6731BA5E1@lastsummer.de>
References:  <66DB6C90-01E6-4534-84C7-15A6731BA5E1@lastsummer.de>

next in thread | previous in thread | raw e-mail | index | archive | help

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@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@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@lastsummer.de>
To: Erdos New <shaojwen@aim.com>
Cc: freebsd-pkg <freebsd-pkg@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@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





Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?159897c6c32-60de-1a8d>