Updateing Glibc for linux compatibility ( for CS )

Discussion, tips and tricks for the different Unix flavors

Updateing Glibc for linux compatibility ( for CS )

Postby goat » Wed May 03, 2006 12:52 pm

I have had to search for this info so now its here.

the exact info is outdated, but it still gets the point across

FreeBSD + Glibc 2.1.3 (pb resolved)

--------------------------------------------------------------------------------

1) I use FreeBSD 4.4 like many as you.
2) I use metamod

In this case, I can run CS server with adminmod 2.50.11 beta, but, with jedinocheat, we got a pb.

This plugin use an admin_MM2.i386.so compiled in 2.1.3 (not compatible with our BSD Glibc 2.1.2)

So, I will explain now How to do for run this lib on BSD.
(We know that /usr/ports/emulators/linux_base-7 is buggy)

1) We need to download glibc-2.1.3 from redhat.
get this one and put it in /usr/ports/distfiles/rpm

ftp://rpmfind.net/linux/redhat/upda...1.3-22.i386.rpm
Take the md5 of this file, like this

md5 glibc-2.1.3-22.i386.rpm
You'll get something like that -> MD5 (rpm/glibc-2.1.3-22.i386.rpm) = b841df797bf42585476f30b1ba489e30 (don't take mine, use yours)

2) Go to linux_base in /usr/ports/emulators/linux_base
In this dir, edit Makefile and do that

#RPM_GLIBC= glibc-2.1.2-11.i386.rpm
RPM_GLIBC= glibc-2.1.3-22.i386.rpm
save.

Edit distinfo.i386

remove glibc 2.1.2 line and put glibc 2.1.3 line (md5 line)
save

Now, make install .....

have fun with your glibc 2.1.3 on FreeBSD 4.4

Fred.

Exemple of metamod 2.1.3 + JedinoCheat plugin with admin MM2 lib on my bsd.

L 12/06/2001 - 03:34:00: [META] Metamod v1.10.00, 2001/09/19
L 12/06/2001 - 03:34:00: [META] by Will Day <willday@metamod.org>
L 12/06/2001 - 03:34:00: [META] http://www.metamod.org/
L 12/06/2001 - 03:34:00: [META] compiled: Sep 19 2001, 23:55:56 Eastern (debugging)
L 12/06/2001 - 03:34:00: [META] Recognized game 'cstrike'; using dllfile 'cs_i386.so'
L 12/06/2001 - 03:34:01: [META] Game DLL for 'Counter-Strike' loaded successfully
L 12/06/2001 - 03:34:01: [META] ini: Begin reading plugins list: metamod.ini
L 12/06/2001 - 03:34:01: [META] ini: Read plugin config for: admin_mm2_i386.so
L 12/06/2001 - 03:34:01: [META] ini: Finished reading plugins list: metamod.ini; Found 1 plugins to load
L 12/06/2001 - 03:34:01: [META] dll: Loading plugins...
L 12/06/2001 - 03:34:01: [ADMIN] By Alfred Reynolds (http://www.adminmod.org)
L 12/06/2001 - 03:34:01: [ADMIN] Version: 2.50.09 (MM)
L 12/06/2001 - 03:34:01: [META] dll: Loaded plugin 'Adminmod': Adminmod v2.50.09 (MM) 24-10-2001, Alfred Reynolds <alfred@mazuma.


luv
goat
 
Posts: 17
Joined: Wed May 03, 2006 12:12 pm

Return to BSD/Linux/Unix

Who is online

Users browsing this forum: No registered users and 1 guest

cron