nVidia port build failure in ldconfig

John Murphy freebsd001 at freeode.co.uk
Mon Apr 30 16:03:43 UTC 2007


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.


More information about the freebsd-questions mailing list