From owner-freebsd-questions@FreeBSD.ORG Mon Apr 30 16:03:43 2007 Return-Path: X-Original-To: freebsd-questions@freebsd.org Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id B0BAD16A402 for ; Mon, 30 Apr 2007 16:03:43 +0000 (UTC) (envelope-from freebsd001@freeode.co.uk) Received: from mail.freeode.co.uk (mail.freeode.co.uk [87.127.24.125]) by mx1.freebsd.org (Postfix) with ESMTP id 4224413C46C for ; Mon, 30 Apr 2007 16:03:43 +0000 (UTC) (envelope-from freebsd001@freeode.co.uk) Received: from lexx.freeode.co.uk (lexx.freeode.co.uk [10.10.10.2]) by mail.freeode.co.uk (8.13.6/8.13.6) with ESMTP id l3UG3gX8004256 for ; Mon, 30 Apr 2007 17:03:42 +0100 (BST) (envelope-from freebsd001@freeode.co.uk) From: John Murphy To: freebsd-questions@freebsd.org Date: Mon, 30 Apr 2007 17:03:42 +0100 Message-ID: <0l4c33tp7v8lk24k6qpq5e4mrhl4931t13@4ax.com> References: <758a33l6uiii6toh3j4u3akn5cud2f477k@4ax.com> <463539AE.5090005@u.washington.edu> In-Reply-To: <463539AE.5090005@u.washington.edu> X-Mailer: Forte Agent 1.93/32.576 English (American) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Subject: Re: nVidia port build failure in ldconfig X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: freebsd001@freeode.co.uk List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 30 Apr 2007 16:03:43 -0000 Garrett Cooper wrote: >John Murphy wrote: >> While trying to build /usr/ports/x11/nvidia-driver-9631 from a >> freshly csup'd ports tree, it stopped with the following error: >> >> ===> Installing for linux-expat-1.95.8 >> ===> linux-expat-1.95.8 depends on file: /compat/linux/etc/fedora-release - found >> ===> Generating temporary packing list >> ===> Checking if textproc/linux-expat already installed >> cd /usr/ports/textproc/linux-expat/work && /usr/bin/find * -type d -exec /bin/mkdir -p "/compat/linux/{}" \; >> cd /usr/ports/textproc/linux-expat/work && /usr/bin/find * ! -type d | /usr/bin/cpio -pm -R root:wheel /compat/linux >> 299 blocks >> ===> Running ldconfig >> /compat/linux/sbin/ldconfig -r /compat/linux >> ELF binary type "3" not known. >> /compat/linux/sbin/ldconfig: 1: Syntax error: "(" unexpected >> *** Error code 2 >> >> Stop in /usr/ports/textproc/linux-expat. >> *** Error code 1 >> >> Stop in /usr/ports/x11-fonts/linux-fontconfig. >> *** Error code 1 >> >> Stop in /usr/ports/x11/linux-xorg-libs. >> *** Error code 1 >> >> Stop in /usr/ports/x11/nvidia-driver-9631. >> *** Error code 1 >> >> Stop in /usr/ports/x11/nvidia-driver-9631. >> >> Should I simply csup and keep trying? Report a bug somewhere? >> Or is there anything else I can do? >> >> FreeBSD-6.2 Release. Generic kernel. >> >> Please advise if a different list would be more appropriate. > >A shell script failed due to ldconfig not being able to figure out the >binary type in question (in this case Linux). What you should do is >contact the port maintainer about this. Thanks for the reply Garret. I had not enabled Linux compatibility in /etc/rc.conf. I feel rather silly now! Sorry for the noise. -- John.