From owner-freebsd-questions@freebsd.org Tue Nov 14 09:42:08 2017 Return-Path: Delivered-To: freebsd-questions@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 83EE5DB95EC for ; Tue, 14 Nov 2017 09:42:08 +0000 (UTC) (envelope-from matthew@FreeBSD.org) Received: from smtp.infracaninophile.co.uk (smtp.infracaninophile.co.uk [81.2.117.100]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "smtp.infracaninophile.co.uk", Issuer "infracaninophile.co.uk" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id 40DC2774AD for ; Tue, 14 Nov 2017 09:42:07 +0000 (UTC) (envelope-from matthew@FreeBSD.org) Received: from leaf.local (unknown [88.202.132.43]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) (Authenticated sender: m.seaman@infracaninophile.co.uk) by smtp.infracaninophile.co.uk (Postfix) with ESMTPSA id 235AD15BA for ; Tue, 14 Nov 2017 09:42:05 +0000 (UTC) Authentication-Results: smtp.infracaninophile.co.uk; dmarc=none (p=none dis=none) header.from=FreeBSD.org Subject: Re: pkgng error when installing To: freebsd-questions@freebsd.org References: From: Matthew Seaman Message-ID: <7d0785fd-54f4-28db-5e63-94970833ce1f@FreeBSD.org> Date: Tue, 14 Nov 2017 09:42:04 +0000 User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.13; rv:52.0) Gecko/20100101 Thunderbird/52.4.0 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8 Content-Language: en-GB Content-Transfer-Encoding: 7bit X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.25 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 14 Nov 2017 09:42:08 -0000 On 13/11/2017 21:10, Andrew W via freebsd-questions wrote: > When installing a package Im getting /usr/local/lib/libpkg.so.4: > Undefined symbol "utimensat" > > Got this twice on two different machines with two different packages. > > Immediately before both times pkgng updated itself to the latest version > so it would appear that upgrade has gone wrong somwhere. > > Has anyone else experienced this? > Yes, this issue has been done to death on the lists quite recently. You are trying to install packages compiled for a newer version of the OS than you have installed. As you have discovered, this is not guaranteed to work, and you should update your machines to a currently supported release if you want to carry on using the FreeBSD supplied packages. Cheers, Matthew