Open main menu

OpenVZ Virtuozzo Containers Wiki β

Changes

Building LKM against OpenVZ kernel from RPM

409 bytes added, 15:45, 1 June 2007
m
Workaround
== Workaround ==
The clean way to solve the problem is to [http://wiki.openvz.org/Kernel_build build the kernel from sources ]. Then all binaries will be linked with the libraries that are on your node and no problems will arise.
 
 
A dirty way to get past the problem is to replace all the scripts with ones from a distribution that matches your installed system. At a minimum, you will probably need to replace the files in these directories:
 
/usr/src/kernels/2.6.18-8.el5.028stab031.1-x86_64/scripts/genksyms
/usr/src/kernels/2.6.18-8.el5.028stab031.1-x86_64/scripts/basic
/usr/src/kernels/2.6.18-8.el5.028stab031.1-x86_64/scripts/mod
== Externals link ==
7
edits