You are not logged in.

#1 2011-03-02 20:24:04

nighthawk
Member
Registered: 2009-11-29
Posts: 20

How to rebuild glibc?

Hey,

I read on http://www.archlinux.org/news/minimum-r … creased-1/ that for kernels older than that we need to rebuild glibc for them,

the VPS i have has 2.6.18-194.26.1.el5.028stab079.2 but im unsure how to go about rebuilding it is there any guides or anything about that?

Offline

#2 2011-03-02 21:10:02

oliver
Member
Registered: 2007-12-12
Posts: 448

Re: How to rebuild glibc?

a *very* quick guide

you can change the details to suit your environment

# = run as root
$ = run as regular user

# pacman -S abs
# abs
$ mkdir -p ~/abs/core/glibc
$ cp -R /var/abs/core/glibc ~/abs/core/glibc
$ cd ~/abs/core/glibc
$ vi PKGBUILD

modify the --enable-kernel line so it reads 2.6.18

$ makepkg
# pacman -U <your new glibc package>.xv

You might also want to add glibc to the ignorepkg line in pacman.conf.  That way, you'll just be notified when a new version is out and you can repeat all of this.  You don't need to resync the entire abs tree though, the following command will do it for one package

# abs core/glibc

One other tip - make sure you have a copy of the regular glibc package before making any changes just to be safe

Last edited by oliver (2011-03-02 21:17:24)

Offline

#3 2011-03-02 21:52:39

wonder
Developer
From: Bucharest, Romania
Registered: 2006-07-05
Posts: 5,941
Website

Re: How to rebuild glibc?


Give what you have. To someone, it may be better than you dare to think.

Offline

Board footer

Powered by FluxBB