Date: Mon, 30 Apr 2007 17:03:42 +0100 From: John Murphy <freebsd001@freeode.co.uk> To: freebsd-questions@freebsd.org Subject: Re: nVidia port build failure in ldconfig Message-ID: <0l4c33tp7v8lk24k6qpq5e4mrhl4931t13@4ax.com> In-Reply-To: <463539AE.5090005@u.washington.edu> References: <758a33l6uiii6toh3j4u3akn5cud2f477k@4ax.com> <463539AE.5090005@u.washington.edu>
next in thread | previous in thread | raw e-mail | index | archive | help
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.
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?0l4c33tp7v8lk24k6qpq5e4mrhl4931t13>
