Probleme libstdc++.so.5 squeeze

Bonjour

J’expose mon soucis. J’ai une debian squeeze 32bits et je voudrais installer un serveur de jeux call of duty 2
Des que je veux le lancer j’ai cette erreur

Donc en cherchant sur google on dit d’installer cette librairie
ce que je fais

donc je rééssaie de lancer le serveur et la une autre erreur

et la meme en cherchant sur google aucune solution je sais que c’est cette librairie qui me donne l’erreur car quand je la desinstalle je ne l’ai plus

le site de ubuntu-fr.org explique ceci pour libstdc++.so.5

Si votre système est en 64 bits, installer la version 32 bits (i386) des bibliothèques demandées.
Si vous avez une version de ubuntu supérieure à 9.04 mais inférieure à 11.04, vous avez surement rencontré un souci pour lancer le jeu:

gridwars ./gridwars: error while loading shared libraries: libstdc++.so.5: cannot open shared object file: No such file or directory

le paquet libstdc++.so.5 n’existe plus, ne faites pas de lien symbolique de la version libstdc++.so.6 ver libstdc++.so.5 ça ne fonctionnera pas.
Par contre vous devez faire ceci, lancez le terminal et tapez:

cd /tmp wget http://security.ubuntu.com/ubuntu/pool/universe/i/ia32-libs/ia32-libs_2.7ubuntu6.1_amd64.deb dpkg-deb -x ia32-libs_2.7ubuntu6.1_amd64.deb ia32-libs sudo mkdir /usr/lib32/ sudo cp ia32-libs/usr/lib32/libstdc++.so.5.0.7 /usr/lib32/ cd /usr/lib32 sudo ln -s libstdc++.so.5.0.7 libstdc++.so.5

Bon je n’ai pas testé car je ne sais pas si pour debian se serais ok et que je ne sais plus comment on fais pour desinstaller un paquet en utilisant une .deb

Je vous remercie de vos reponse

Salut,

Pour désinstaller un paquet installé par apt-get :

apt-get remove <le_paquet>

Pour en savoir plus man apt-get :slightly_smiling:

[quote=“ggoodluck47”]Salut,

Pour désinstaller un paquet installé par apt-get :

apt-get remove <le_paquet>

Pour en savoir plus man apt-get :slightly_smiling:[/quote]
Oui cela je le sais.

Ma question est pourquoi j’ai ces erreurs quand je lance le serveur

Merci de ta reponse

Re,

Il va falloir que tu choisisses entre Ubuntu et ses modes d’emploi ou Debian et ce forum.
Tu ne penses tout de même pas que nous irions lire ces modes d’emploi pour te dire où gît l’erreur ?
Et comme tu as lu le mode d’emploi du forum, tu vas essayer de poser une question précise par post et une seule

Bon je suis desolé

Je n’ai pas suivi le mod d’emploi de ubuntu.

Pour les erreur que je rencontre sont sur le premier post.

Bon ensuite meme en installant le paquet en faisant

Cela ne va pas car j’ai cette erreur

et que c’est pas la bonne version il me met la librairie libstdc++.so.5.0.7 alors que sur le tuto que je suis pour debian il donne les librairie avec cette version libstdc++.so.5.0.3 que l’on doit mettre dans le dossier du server

et meme en faisant cela j’ai les erreur citer. J’espere que je me fais comprendre.

Alors le paquet libstdc++5 existe sous wheezy sid etc. Voir http://packages.debian.org/search?keywords=libstdc%2B%2B5&searchon=names&suite=all&section=all

Ensuite ton pbm est peut être un problème de version comme tu l’as souligné, il te suffit de trouver une version plus ancienne du paquet. Le souci est que le paquet libstdc++5 est apparu sous sarge et que c’est la version 5.0.7. Donc ça ne doit pas être ça. Vérifies les md5sum de tes binaires? L’as tu récupérer comme fichier binaire ou fichier texte?

Bonjour

Alors ce sont des fichier recupéré dans une archive a cette adresse icculus.org/updates/cod/gcc3-libs.tar.bz2

et j’ai bien suivi la documentation du readme.linux

[quote]Call Of Duty 2™
Linux Multiplayer Server Code
Version 1.3
Readme
Last update: 2006-06-14

!! IMPORTANT !!
Call of Duty 2™ Linux Server is NOT SUPPORTED by Activision® Customer
Support. Please do not call with any questions related to this free beta
product. There are other channels to aid you listed at the bottom of this
document.

===============================================

TABLE OF CONTENTS

  1. Introduction
  2. Upgrading to 1.3.
  3. Installation From Scratch
  4. Support Channels
  5. FreeBSD Note

===============================================

  1. Introduction

This document explains how to install the Call of Duty 2™ Linux server
version 1.3. Installation from scratch and upgrading an existing installation
are both covered.

Usage is very similar to Call of Duty™ and United Offensive™… many
of the console commands, command lines, and cvars are identical, so if you
are comfortable maintaining dedicated servers for those games, you will find
this process familiar.

MOD USERS: PLEASE READ…
It is recommended that any user modifications that have been
installed to the Call of Duty 2™ directory be removed before
installing this package. These modifications are not supported
by Activision® and may not be compatible with some of the new
features that are included. When installing or upgrading a server,
if problems or unexpected behavior arise, your first step in
troubleshooting should be to do a clean install with the original
data files.

IF YOU HAVE A PROBLEM WITH “LIBSTDC++.SO.5” …
(This is a frequent-enough problem to merit discussion in the introduction.)

If you are reading this, it’s probably because you tried to start your Linux
server and saw this message:

./cod2_lnxded: error while loading shared libraries: libstdc++.so.5:
 cannot open shared object file: No such file or directory

COD2 is a C++ program built with gcc 3.3.4, which means it needs a
system library specific to gcc 3.3. Older Linux systems won’t have
this installed, and we’re starting to see newer Linux distributions that
don’t have this either, since they are supplying an incompatible
gcc 3.4 version. The good news is that you can drop the needed library
into your system without breaking anything else.

Here is the library you need, if your Linux distribution doesn’t supply it:
icculus.org/updates/cod/gcc3-libs.tar.bz2

You want to unpack that somewhere that the dynamic linker will see it
(if you are sure it won’t overwrite any files, you can even use /lib).

The brave can put it in the same directory as the game and run the server
like this:
LD_LIBRARY_PATH=$LD_LIBRARY_PATH:. ./cod2_lnxded

Now the server will start.

  1. Upgrading to 1.3

Just stop the game server, replace cod2_lnxded, etc on your server with the
files included in this package, and restart the game server.

  1. Installation From Scratch
  • Get the retail Call of Duty 2™ disc(s) (there may be multiple discs
    depending on what edition of the game you have obtained, or perhaps a
    single DVD-ROM disc).

  • Copy the contents of disc ones “Setup/Data” directory to wherever you
    want to install the Call of Duty 2™ Linux server. There should be a
    "localization.txt" file in the root of this directory, and a "Main"
    Subdirectory. Each additional disc should be opened and the contents of
    each “Data” folder should be copied over to the existing Main folder. When
    you have copied everything, the final installation size is around 3.5
    gigabytes.

  • Alternately, you may install on Windows® and copy the installed game to
    your Linux system, but many will opt to skip this step since the data
    files are uncompressed and easily accessible on the discs. Final
    installation size is around 3.5 gigabytes.

  • Unpack this archive in the root of the newly-copied tree, so
    "cod2_lnxded" is in the same directory as “localization.txt”. Unlike the
    original Call of Duty™, there are not seperate .so files like
    "game.mp.i386.so", so don’t be concerned when you don’t see them.

  • Now, run the server:
    cd /where/i/copied/callofduty2
    ./cod2_lnxded

  • When you see “— Common Initialization Complete —”, the game
    server has started, but you need to start a map before the server will
    accept connections. At this point, type:

    map mp_leningrad

    (“mp_leningrad” being a given map’s name).

  • Now you should see your server in the in-game browser. You will now want to
    customize your server, but that is beyond the scope of this document.

  1. Support Channels

There are a LOT of knobs you can tweak to customize and automate your server,
but it is beyond the scope of this documentation. Please refer to the
admin manuals for any Quake 3™ based Multiplayer game (including Quake 3
Arena™, Return to Castle Wolfenstein™, the original Call of Duty™
and United Offensive™, etc) for specifics.

There is a mailing list for discussion and support of Linux servers for all
of the Call of Duty™ games and expansion packs. Hundreds of experienced
server admins and even some of the game’s developers monitor this list, and
are eager to help with politely asked questions. Send a blank email to
cod-subscribe@icculus.org to get on the list, and list archives can be seen
at:

icculus.org/cgi-bin/ezmlm/ezmlm-cgi?38

Bug reports should NOT be sent to the list. We have a web-based
bugtracking system for this. If you don’t report bugs there, we don’t
promise to even be aware of them, let alone fix them! You can find the bug
tracker here:

bugzilla.icculus.org/

Also, infinityward.com/ may direct you to
important information, documentation and current news about Call of Duty™
titles.

  1. FreeBSD users

This server is known to work on FreeBSD with the Linux binary compatibility
layer. If it doesn’t, we consider it a bug and appreciate the report since we
won’t necessarily be testing on FreeBSD ourselves. Please note that the
game server requires that you use at least the linux_base-8 package for
binary compatibility (it has a C++ runtime library we now need that previous
linux_base packages don’t supply…alternately, see notes about libstdc++ in
this document’s introduction if you can’t or won’t update linux_base).

// end of README.linux …[/quote]

Pour les paquets que tu cites c’est ceux la que j’ai installé mais rien y fais. Ce que je comprend pas c’est que certaine personnes on installé le meme serveur de jeux en suivant le meme tuto et qui n’ont pas eu ces erreur

Bon je pensais que c’etait la librairie libstdc++.so.5 qui allez pas et ben non
En faites j’ai testé plein de fichier cod2_lnxded qui était corrompu je suis allez sur ce site gf.wiretarget.com/call_of_duty_2.htm pour testé les differentes et seulement deux fonctionnent correctement ceux faites par Done by M

Donc il faut bien télécharger l’archive la icculus.org/updates/cod/gcc3-libs.tar.bz2 et mettre les deux fichier
libstdc++.so.5 et libstdc++.so.5.0.3 dans le dossier usr/lib

Je vous remercie a tous d’avoir essayé de m’aidé