OpenVZ x86_64 Custom Config
Sun, 06/21/2009 - 00:43 — sandipvzpkgcache seems to have been broken with latest CentOS-5.3 upgrade. Below is notes to fix:
cd /usr/share/vzpkgtools/vzrpm44/ lib/python2.4/site-packages/rp m
cp /usr/lib64/python2.4/site-pack ages/rpm/_rpmmodule.so .
Edit the file /usr/share/vzpkg/cache-os line 154, append:
mkdir -p $VE_ROOT/var/lib/yum/ || abort "Can't create /var/lib/yum"
Edit the file /usr/share/vzpkg/functions line 20, change to:
VZLIB_SCRIPTDIR=/usr/lib64/vzc tl/scripts
Run to updatee the cached template:
vzpkgcache centos-5-x86_64-minimal
- sandip's blog
- Login or register to post comments
- Read more
Support for 32 bit development libraries on 64 bit CentOS
Fri, 07/18/2008 - 09:45 — sandipTo support C/C++ 32 bit development libraries on CentOS-5.2 x86_64 arch the below devel packages are required:
yum install glibc-devel.i386 libstdc++-devel.i386
Below is example output of multilib support for gcc:
$ gcc -print-multi-lib; gcc -print-multi-os-directory; gcc -print-multi-os-directory -m32
.;
32;@m32
../lib64
../lib