Page 1 of 2 12 LastLast
Results 1 to 10 of 14

Thread: Call of Duty 2 1.3 Linux server issue

  1. #1
    Private
    Join Date
    Sep 2015
    Posts
    33
    Thanks
    0
    Thanked 21 Times in 13 Posts

    Call of Duty 2 1.3 Linux server issue

    Hi,

    I have tried to create a linux server for version 1.3. Set up virtualbox, install ubuntu 15 and the game with linux version.
    When I tried to start (./cod2_lnxded) it said:

    ./cod2_lnxded: error while loading shared libraries: libstdc++.so.5:
    cannot open shared object file: No such file or directory
    After some searching I found the libraries and tried to run the server with the libraries (LD_LIBRARY_PATH=$LD_LIBRARY_PATH:...cod2/lib/ ./cod2_lnxded), but it said:

    Inconsistency detected by ld.so: dl-version.c: 224: _dl_check_map_versions: Assertion `needed != ((void *)0)' failed!
    I haven't found the solution for this. Anyone know how to fix it?

  2. #2
    Assadministrator kung foo man's Avatar
    Join Date
    Jun 2012
    Location
    trailerpark
    Posts
    2,010
    Thanks
    2,102
    Thanked 1,084 Times in 753 Posts
    Code:
    LD_LIBRARY_PATH=$LD_LIBRARY_PATH:...cod2/lib/ ./cod2_lnxded
    That path looks pretty wrong, you named your lib folder "...cod2" with three dots?
    timescale 0.01

  3. #3
    Assadministrator IzNoGoD's Avatar
    Join Date
    Aug 2012
    Posts
    1,718
    Thanks
    17
    Thanked 1,068 Times in 674 Posts
    apt-get install libstdc++5:i386
    "Does not work" is an error report for a bug between keyboard and chair.

    All hail Artie Effem

  4. #4
    Private
    Join Date
    Sep 2015
    Posts
    33
    Thanks
    0
    Thanked 21 Times in 13 Posts
    No, its "/usr/local/games/cod2/lib/" just shorted it

  5. #5
    Private
    Join Date
    Sep 2015
    Posts
    33
    Thanks
    0
    Thanked 21 Times in 13 Posts
    Quote Originally Posted by IzNoGoD View Post
    apt-get install libstdc++5:i386
    I did it, the change only is I don't have to use library path "./cod2_lnxded" enough.

  6. #6
    Assadministrator IzNoGoD's Avatar
    Join Date
    Aug 2012
    Posts
    1,718
    Thanks
    17
    Thanked 1,068 Times in 674 Posts
    This is my default install for a ubuntu-minimal server:
    Code:
    dpkg --add-architecture i386
    apt-get update
    apt-get install gcc-multilib
    apt-get install libmysqlclient-dev:i386
    apt-get install g++-multilib
    apt-get install libstdc++5
    apt-get install libstdc++5:i386
    im not 100% sure the x64 version of libstdc++5 is needed, but it cant hurt afaik
    Then im using this startup script:
    Code:
    LD_PRELOAD="_bin/cod2/libcod2_1_3.so" $cod $args +set g_gametype codjumper +map mp_jump
    $cod is the location of cod2_lnxded, $args is stuff like fs_homepath etc and my libcod is in /home/USERNAME/_bin/cod2/
    "Does not work" is an error report for a bug between keyboard and chair.

    All hail Artie Effem

  7. #7
    Private
    Join Date
    Sep 2015
    Posts
    33
    Thanks
    0
    Thanked 21 Times in 13 Posts
    What's your ubuntu version?

  8. #8
    Assadministrator IzNoGoD's Avatar
    Join Date
    Aug 2012
    Posts
    1,718
    Thanks
    17
    Thanked 1,068 Times in 674 Posts
    Quote Originally Posted by croni1012 View Post
    What's your ubuntu version?
    14.04 lts x64 or x86 (works on both) minimal (server) install. Tried this setup on many different "minimal" vps server installations, some were completely barebone (only sshd installed), others had lots of packages pre-installed and wouldn't qualify as "minimal"
    "Does not work" is an error report for a bug between keyboard and chair.

    All hail Artie Effem

  9. #9
    Private
    Join Date
    Sep 2015
    Posts
    33
    Thanks
    0
    Thanked 21 Times in 13 Posts
    I don't get it... i have tried also 14.04 lts x64 and x86 too and nothing changes.
    BUT! I have a vps which has 14.04 lts x64 and worked on that....

    Any idea whats the problem?

  10. #10
    Assadministrator kung foo man's Avatar
    Join Date
    Jun 2012
    Location
    trailerpark
    Posts
    2,010
    Thanks
    2,102
    Thanked 1,084 Times in 753 Posts
    Can you post the output of: ldd cod2_lnxded
    timescale 0.01

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •