[cod] World At War 1.6 Error libdl.so.2

escapedturkey escapedturkey at escapedturkey.com
Mon Sep 21 08:34:56 EDT 2009


What happens when you try this:

export LD_LIBRARY_PATH=".:bin:$LD_LIBRARY_PATH"

./codwaw_lnxded-bin +set net_port 28960 +set sv_punkbuster 1 +set 
sv_pure 1 +exec server.cfg +set fs_homepath /home/codwaw/ +map_rotate

stp at shooter-szene.de wrote:
> well, i have tried something and removed a line but i have the same file 
> as yours
> 
> just added the original file but still this error
> 
> 
> ----- Original Message ----- From: "escapedturkey" 
> <escapedturkey at escapedturkey.com>
> To: "Call of Duty server admin list." <cod at icculus.org>
> Sent: Monday, September 21, 2009 2:07 PM
> Subject: Re: [cod] World At War 1.6 Error libdl.so.2
> 
> 
> Mine is +1
> 
> ls -al codwaw_lnxded
> -rwxrwxrwx 1 1364465 280556 1214 Sep 14 09:51 codwaw_lnxded
> 
> Yours is 1213.
> 
> md5sum *
> ca45a5705f452659ec14c4e3a2c5e5e0  binkw32.dll
> 355623e88361eae9c11f611308752ee8  cod.bmp
> 14c9aba490b799ae3ecae5dc7ba34d82  codlogo.bmp
> 83a0e149d8009f579333bee6c59e895d  CoDWaW.exe
> fa830571236e103b22eee83a4c74ebba  CoDWaW.ico
> 3db9e717eeddd22b469caa12568523b9  codwaw_lnxded
> a98201af941b8177fbe358b79c968c4f  codwaw_lnxded-bin
> 2764dafc92f76f7302becf3f63817abb  CoDWaWmp.exe
> db52cdc95265e317ef92d2c045b8f7c7  libgcc_s.so.1
> 7f3c17f51caa9ff534d5c97b3c10f5a8  libstdc++.so.6
> 960e2f96ebb6da7d2e53fc2950e3f174  localization.txt
> 288f7cbfaeeb167f5c2e44291cb7af4a  pbsetup.run
> 940c75d2645513907140f86bbba34c8f  README-linux.txt
> 
> 
> 
> stp at shooter-szene.de wrote:
>> -rwxr-xr-x  1 codwaw users    1213 2009-09-21 11:49 codwaw_lnxded
>> -rwxr-xr-x  1 codwaw users 6051298 2009-09-14 16:51 codwaw_lnxded-bin
>> drwxr-xr-x  5 codwaw users    4096 2009-02-12 09:05 Docs
>> -rwxr-xr-x  1 codwaw users   41384 2008-11-21 05:26 libgcc_s.so.1
>> -rwxr-xr-x  1 codwaw users  939472 2008-11-21 05:26 libstdc++.so.6
>> -rwxr-xr-x  1 codwaw users    2314 2008-09-27 20:19 localization.txt
>> drwxr-xr-x  3 codwaw users    4096 2009-09-14 16:56 main
>> drwxr-xr-x  6 codwaw users    4096 2009-09-19 12:43 pb
>> -rwxr-xr-x  1 codwaw users      51 2009-09-21 12:06 restart.sh
>> -rwxr-xr-x  1 codwaw users     219 2009-09-21 12:06 start.sh
>> -rwxr-xr-x  1 codwaw users      52 2009-09-21 12:06 stop.sh
>> -rwxr-xr-x  1 codwaw users     151 2009-01-30 18:42 version.inf
>> drwxr-xr-x  3 codwaw users    4096 2009-04-10 23:59 zone
>>
>>
>>
>> ----- Original Message ----- From: "escapedturkey" 
>> <escapedturkey at escapedturkey.com>
>> To: "Call of Duty server admin list." <cod at icculus.org>
>> Sent: Monday, September 21, 2009 1:52 PM
>> Subject: Re: [cod] World At War 1.6 Error libdl.so.2
>>
>>
>> Please do the following:
>>
>> cd /home/codwaw
>>
>> ls -al
>>
>> stp at shooter-szene.de wrote:
>>> ok i have create another user (user: codwaw, group: users) and set a 
>>> homepath for this user: /home/codwaw
>>>
>>> the permission are ok, but still the same error
>>>
>>> note, i had never before such error, its since the new version, so i 
>>> wonder whats happend since
>>>
>>> ./codwaw_lnxded +set net_port 28960 +set sv_punkbuster 1 +set sv_pure 
>>> 1 +exec server.cfg +set fs_homepath /home/codwaw/ +map_rotate
>>> ./codwaw_lnxded: line 45: /home/codwaw/codwaw_lnxded-bin: cannot 
>>> execute binary file
>>> ./codwaw_lnxded: line 45: /home/codwaw/codwaw_lnxded-bin: Success
>>>
>>>
>>> line 54 is:  exec "./codwaw_lnxded-bin" "$@"
>>>
>>> so the script cant find codwaw_lnxded-bin, but its in the same folder 
>>> (permission 755), same user and same group
>>>
>>> i can also try with the bin file and get this error:
>>>
>>> ./codwaw_lnxded-bin +set net_port 28960 +set sv_punkbuster 1 +set 
>>> sv_pure 1 +exec server.cfg +set fs_homepath /home/codwaw/ +map_rotate
>>> sh: ./codwaw_lnxded-bin: cannot execute binary file
>>>
>>>
>>> weird?
>>>
>>>
>>> ----- Original Message ----- From: "escapedturkey" 
>>> <escapedturkey at escapedturkey.com>
>>> To: "Call of Duty server admin list." <cod at icculus.org>
>>> Sent: Monday, September 21, 2009 1:05 PM
>>> Subject: Re: [cod] World At War 1.6 Error libdl.so.2
>>>
>>>
>>> /home/cod5 should be a user.
>>>
>>> You may want to try to create a user account and let it own the
>>> permissions to the entire /home/username folder that belongs to it. Then
>>> copy the game into that (fixing the permissions appropriately). It'll
>>> make things a lot easier for you. :)
>>>
>>>
>>> stp at shooter-szene.de wrote:
>>>> no, cod5 is not the user, i tried also as root and the rights of 
>>>> lnxded´s are ok
>>>>
>>>> thats wierd, it never happend before
>>>>
>>>> i think its nothing with the permissions
>>>>
>>>> hrm
>>>>
>>>>
>>>>
>>>> ----- Original Message ----- From: "escapedturkey" 
>>>> <escapedturkey at escapedturkey.com>
>>>> To: "Call of Duty server admin list." <cod at icculus.org>
>>>> Sent: Monday, September 21, 2009 12:52 PM
>>>> Subject: Re: [cod] World At War 1.6 Error libdl.so.2
>>>>
>>>>
>>>>> The username's is cod5?
>>>>>
>>>>> So when you su - cod5 it logins as a user?
>>>>>
>>>>> Please type 'whoami' after you su - cod5
>>>>>
>>>>> Then you may want to chmod 755 codwaw_lnxded-bin
>>>>>
>>>>> :)
>>>>>
>>>>> Please try this script as root:
>>>>>
>>>>> permissions-fix.sh
>>>>>
>>>>> #!/bin/bash
>>>>> chmod 711 /home
>>>>> rm -f /home/users
>>>>> cd /home
>>>>> ls -1p|grep /|grep -v install|cut -d "/" -f1 > users
>>>>> for user in `cat users`
>>>>> do
>>>>> /bin/chmod 700 /home/$user
>>>>> chown -R $user.$user /home/$user
>>>>> done
>>>>> rm -f /home/users
>>>>> exit $?
>>>>>
>>>>> stp at shooter-szene.de wrote:
>>>>>> just another problem i never had before
>>>>>>
>>>>>> USER:/home/cod5# ./codwaw_lnxded +set net_port 28960 +set 
>>>>>> sv_punkbuster 1 +set sv_pure 1 +exec server.cfg +set fs_homepath 
>>>>>> /home/cod5/ +map_rotate
>>>>>> ./codwaw_lnxded: line 46: /home/cod5/codwaw_lnxded-bin: cannot 
>>>>>> execute binary file
>>>>>> ./codwaw_lnxded: line 46: /home/cod5/codwaw_lnxded-bin: Success
>>>>>>
>>>>>> i tried with another user, all rights seems to be ok, libs are ok 
>>>>>> and located in the right folders, i dont have any clue what going on
>>>>>>
>>>>>>
>>>>>> ----- Original Message ----- From: "Ryan C. Gordon" 
>>>>>> <icculus at icculus.org>
>>>>>> To: "Call of Duty server admin list." <cod at icculus.org>
>>>>>> Sent: Monday, September 21, 2009 9:32 AM
>>>>>> Subject: Re: [cod] World At War 1.6 Error libdl.so.2
>>>>>>
>>>>>>
>>>>>>> Brandon Clinger wrote:
>>>>>>>> I receiving this error. Any ideas where to start with this one?
>>>>>>>>
>>>>>>>> *./codwaw_lnxded-bin: error while loading shared libraries: 
>>>>>>>> libdl.so.2: cannot create shared object descriptor: Cannot 
>>>>>>>> allocate memory*
>>>>>>>
>>>>>>> I have no idea why that would happen, but did this work in 1.5? I 
>>>>>>> added an explicit RPATH to the binary so it knows to load 
>>>>>>> libgcc/libstd from the same directory as the game without the 
>>>>>>> LD_LIBRARY_PATH hack that used to be in the shell script. It's 
>>>>>>> possible this is causing some funky bad reaction from your 
>>>>>>> dynamic loader?
>>>>>>>
>>>>>>> If this wasn't tested with 1.5: you have a broken system.  :)
>>>>>>>
>>>>>>> --ryan.
>>>>>>>
>>>>>>>
>>>>>>> _______________________________________________
>>>>>>> cod mailing list
>>>>>>> cod at icculus.org
>>>>>>> http://icculus.org/mailman/listinfo/cod
>>>>>>>
>>>>>>
>>>>>> _______________________________________________
>>>>>> cod mailing list
>>>>>> cod at icculus.org
>>>>>> http://icculus.org/mailman/listinfo/cod
>>>>>>
>>>>> _______________________________________________
>>>>> cod mailing list
>>>>> cod at icculus.org
>>>>> http://icculus.org/mailman/listinfo/cod
>>>>>
>>>>
>>>> _______________________________________________
>>>> cod mailing list
>>>> cod at icculus.org
>>>> http://icculus.org/mailman/listinfo/cod
>>>>
>>> _______________________________________________
>>> cod mailing list
>>> cod at icculus.org
>>> http://icculus.org/mailman/listinfo/cod
>>>
>>> _______________________________________________
>>> cod mailing list
>>> cod at icculus.org
>>> http://icculus.org/mailman/listinfo/cod
>>>
>> _______________________________________________
>> cod mailing list
>> cod at icculus.org
>> http://icculus.org/mailman/listinfo/cod
>>
>> _______________________________________________
>> cod mailing list
>> cod at icculus.org
>> http://icculus.org/mailman/listinfo/cod
>>
> _______________________________________________
> cod mailing list
> cod at icculus.org
> http://icculus.org/mailman/listinfo/cod
> 
> _______________________________________________
> cod mailing list
> cod at icculus.org
> http://icculus.org/mailman/listinfo/cod
> 


More information about the cod mailing list