View previous topic :: View next topic |
Author |
Message |
ceul n00b

Joined: 23 Jan 2006 Posts: 4
|
Posted: Mon Jan 23, 2006 3:49 am Post subject: Americas Army 2.5 on Gentoo |
|
|
Well... im a noob to gentoo, but, after using another distribution for several years, a friend of mine, talked to me about gentoo... so i thought... let's give it a try... e host several game servers from cs to moh cod and a few others! The thing is... i also play Americas Army, and since i was already running all the other servers for my friends ( we have a little wireless in our hood ) i thought about getting a AA server working for us to play... the problem is... every time i try to run the server or the game, i get the same error... wich is posted below
./armyops-bin: error while loading shared libraries: libstdc++.so.5: cannot open
shared object file: No such file or directory
On the libs i have ibstdc++.so.6 but not the 5 one... i supose its from a diferente gcc version...
I'm using a AMD 64 dual processor Opteron with 4 gb of ram! I already tryed the AA oficial forum, and even searched the web, but i couldn't find anything that would be able to solve my problem.... so i tought maybe the best place to ask for help, it would be here! |
|
Back to top |
|
 |
LubosD Apprentice

Joined: 30 Jun 2005 Posts: 211 Location: Czech Republic
|
Posted: Mon Jan 23, 2006 4:35 pm Post subject: |
|
|
Try to Code: | emerge sys-libs/libstdc++-v3 |
|
|
Back to top |
|
 |
drwook Veteran

Joined: 30 Mar 2005 Posts: 1324 Location: London
|
Posted: Tue Jan 24, 2006 9:57 am Post subject: |
|
|
yeah above should cover it. If not let us know, & give us your 'emerge --info' output. |
|
Back to top |
|
 |
ceul n00b

Joined: 23 Jan 2006 Posts: 4
|
Posted: Thu Jan 26, 2006 7:08 pm Post subject: |
|
|
I will give it a shot! Ill let you know if it worked! Tks |
|
Back to top |
|
 |
ceul n00b

Joined: 23 Jan 2006 Posts: 4
|
Posted: Tue Jan 31, 2006 2:12 am Post subject: |
|
|
Well... the emerge went well... but i still get the error i posted above! Probably ill have to get a different version of AA to play on a amd64 dual core... Is there anything else left for me to try?!
I had to edit, forgot to post this
Quote: |
Portage 2.0.51.22-r2 (default-linux/amd64/2005.1, gcc-3.4.3, glibc-2.3.5-r0, 2.6.14-gentoo-r5 x86_64)
=================================================================
System uname: 2.6.14-gentoo-r5 x86_64 AMD Opteron(tm) Processor 244
Gentoo Base System version 1.6.12
dev-lang/python: 2.3.5
sys-apps/sandbox: 1.2.11
sys-devel/autoconf: 2.13, 2.59-r6
sys-devel/automake: 1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.5
sys-devel/binutils: 2.15.92.0.2-r10
sys-devel/libtool: 1.5.18-r1
virtual/os-headers: 2.6.11-r2
ACCEPT_KEYWORDS="amd64"
AUTOCLEAN="yes"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-mtune=opteron -O2 -pipe"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3/share/config /usr/share/config /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-mtune=opteron -O2 -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig distlocks sandbox sfperms strict"
GENTOO_MIRRORS="ftp://ftp.heanet.ie/pub/gentoo/ http://darkstar.ist.utl.pt/gentoo/ ftp://darkstar.ist.utl.pt/pub/gentoo/ ftp://ftp.rnl.ist.utl.pt/pub/gentoo/ http://gentoo.blueyonder.co.uk ftp://mirrors.blueyonder.co.uk/mirrors/gentoo http://www.mirrorservice.org/sites/www.ibiblio.org/gentoo/ ftp://ftp.mirrorservice.org/sites/www.ibiblio.org/gentoo/"
MAKEOPTS="-j3"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage"
USE="amd64 X alsa avi berkdb bitmap-fonts bzip2 crypt cups eds emboss encode expat foomaticdb fortran gif gnome gpm gstreamer gtk gtk2 imlib ipv6 jpeg kde lzw lzw-tiff mp3 mpeg ncurses nls opengl pam pdflib perl png python qt quicktime readline sdl spell ssl tcpd tiff truetype-fonts type1-fonts udev usb userlocales xpm xv zlib userland_GNU kernel_linux elibc_glibc"
Unset: ASFLAGS, CTARGET, LANG, LC_ALL, LDFLAGS, LINGUAS, PORTDIR_OVERLAY
|
|
|
Back to top |
|
 |
JMonkfish n00b

Joined: 22 Jan 2004 Posts: 22 Location: San Diego, CA
|
Posted: Tue Jan 31, 2006 4:06 am Post subject: |
|
|
emerge nvidia-glx nvidia-kernel
i had to update my video driver in order to get it working as well.. just grabbed the drivers straight off of nvidia's site. the install of those drivers isn't too difficult, but that's how i got rid of this error. |
|
Back to top |
|
 |
drwook Veteran

Joined: 30 Mar 2005 Posts: 1324 Location: London
|
Posted: Tue Jan 31, 2006 6:00 pm Post subject: |
|
|
If you need newer drivers just unmask the 'testing' nvidia-glx and nvidia-kernel & use them. Work fine on my amd64 with americasarmy, plus if you use the nvidia installer you lose the ability to have portage update it. |
|
Back to top |
|
 |
ceul n00b

Joined: 23 Jan 2006 Posts: 4
|
Posted: Thu Feb 02, 2006 2:57 am Post subject: |
|
|
Sorry guys, but i'm sure its not a driver problem with the graphics card! I'm running a dedicated linux server, not the game... the thing is, my gcc has the lib something so.6 but nao the 5 one! If im right, thats would be because the 5 one is used on intel pentium based systems, and the 6 for amd 64... the problem is that the game, doesn't recognize that and calls the version 5 one... |
|
Back to top |
|
 |
PaulBredbury Watchman


Joined: 14 Jul 2005 Posts: 7310
|
Posted: Thu Feb 02, 2006 3:39 am Post subject: |
|
|
If you don't have libstdc++.so.5 in /opt/americas-army, then I think you could:
Code: | emerge doom3-demo
cp /opt/doom3-demo/libstdc++.so.5 /opt/americas-army/
emerge --unmerge doom3-demo |
|
|
Back to top |
|
 |
|