FAQ Search Today's Posts Mark Forums Read
» Video Reviews

» Linux Archive

Linux-archive is a website aiming to archive linux email lists and to make them easily accessible for linux users/developers.


» Sponsor

» Partners

» Sponsor

Go Back   Linux Archive > CentOS > CentOS

 
 
LinkBack Thread Tools
 
Old 09-13-2011, 04:06 AM
Always Learning
 
Default (5.6) Kernel Link Error

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.


_______________________________________________
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos
 
Old 09-13-2011, 07:52 AM
Alexander Dalloz
 
Default (5.6) Kernel Link Error

Am 13.09.2011 06:06, schrieb Always Learning:
>
> 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 ?

You have updated the kernel to the latest CR repo one. But you still run
the older CentOS kernel on which you try to install VirtualBox.
kernel-devel is just installed for the CR kernel version, not for your
current running kernel. Just reboot into the current kernel.

Alexander


_______________________________________________
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos
 

Thread Tools




All times are GMT. The time now is 05:58 AM.

VBulletin, Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO ©2007, Crawlability, Inc.
Copyright 2007 - 2008, www.linux-archive.org