[CentOS] (5.6) Kernel Link Error

Always Learning

centos at u61.u22.net
Tue Sep 13 04:06:06 UTC 2011


Installing VirtualBox-4.1* on Centos 5.6 X64, I get at the end:-

	Error! Your kernel headers for kernel 2.6.18-274.el5
	cannot be found at /lib/modules/2.6.18-274.el5/build
	or /lib/modules/2.6.18-274.el5/source.

In /lib/modules/2.6.18-274.el5/ I find two broken links:-

	build -> /usr/src/kernels/2.6.18-274.el5-x86_64

	source -> ditto

The reason why they are broken appears to be the current address is
actually

	/usr/src/kernels/2.6.18-274.3.1.el5-x86_64


Show I reset the links in /lib/modules/2.6.18-274.el5 to point
to /usr/src/kernels/2.6.18-274.3.1.el5-x86_64 or is their a bigger
problem that needs attention ?






-- 
With best regards,

Paul.
England,
EU.





More information about the CentOS mailing list