Page 3 of 4 FirstFirst 1234 LastLast
Results 21 to 30 of 36

Thread: ERROR: ld.so: object 'libcod2_1_3.so' from LD_PRELOAD cannot be preloaded (cannot ope

  1. #21
    Private First Class
    Join Date
    Nov 2015
    Posts
    128
    Thanks
    37
    Thanked 14 Times in 14 Posts
    PHP Code:
    export LD_PRELOAD="$/path/to/lib/libcod2_1_3.so" 
    still doesnt work

    i did this

    PHP Code:
    LD_LIBRARY_PATH=. LD_PRELOAD="/path/to/lib/libcod2_1_3.so":$LD_LIBRARY_PATH 
    i can run this without screen but i cant run with screen :/

  2. #22
    Corporal voron00's Avatar
    Join Date
    Nov 2014
    Posts
    248
    Thanks
    64
    Thanked 216 Times in 116 Posts
    Try using script i posted earlier but just replace your path/fs_game.
    sudo apt-get rekt

  3. #23
    Private First Class
    Join Date
    Nov 2015
    Posts
    128
    Thanks
    37
    Thanked 14 Times in 14 Posts
    cant load libcod in screen :S

  4. #24
    Brigadier General
    Join Date
    Dec 2012
    Posts
    1,012
    Thanks
    440
    Thanked 171 Times in 132 Posts
    Show us the exact script you are using, not some general shit

  5. #25
    Assadministrator IzNoGoD's Avatar
    Join Date
    Aug 2012
    Posts
    1,718
    Thanks
    17
    Thanked 1,068 Times in 674 Posts
    I wanna point you towards my signature.
    "Does not work" is an error report for a bug between keyboard and chair.

    All hail Artie Effem

  6. The Following User Says Thank You to IzNoGoD For This Useful Post:

    feanor (1st June 2016)

  7. #26
    Private First Class
    Join Date
    Nov 2015
    Posts
    128
    Thanks
    37
    Thanked 14 Times in 14 Posts
    i am using like this , but i cant preload libcod with sh script so i cant run with screen.. always giving cant preload libcod error
    PHP Code:
    #!/bin/bash 
    export LD_PRELOAD="$/path/to/lib/libcod2_1_3.so" 
    PARAMS="+set net_ip +set.. +set... +set sv_cracked 1" 
    "./cod2_lnxded" "
    $PARAMS
    but when i try like this i can preload libcod with sh script (its give preload error again but yet preloading ) but cant preload in screen maybe iznogod is right its about me
    PHP Code:
    LD_LIBRARY_PATH=. LD_PRELOAD="/path/to/lib/libcod2_1_3.so":$LD_LIBRARY_PATH 

  8. #27
    Global Mossaderator Mitch's Avatar
    Join Date
    Nov 2012
    Posts
    654
    Thanks
    204
    Thanked 450 Times in 305 Posts
    This is the my cod2_lnxded:
    PHP Code:
    #!/bin/bash
    LD_PRELOAD="/path/to/libs/libcod2_1_3.so" ./cod2_lnxded_1_3_nodelay_va_loc $@ 
    Both cod2_lnxded and your cod2_lnxded_1_3_nodelay_va_loc binary must be chmodded to at least 755 or 777.

    Now you can start your server like before without libcod.

  9. #28
    ... connecting
    Join Date
    Oct 2017
    Posts
    7
    Thanks
    1
    Thanked 0 Times in 0 Posts
    Quote Originally Posted by feanor View Post
    how can i fix that

    ERROR: ld.so: object 'libcod2_1_3.so' from LD_PRELOAD cannot be preloaded (cannot open shared object file): ignored.

    server is running , but i have delay problem too. cracked keys cant join
    I'm getting the same error.
    I re-installed Ubuntu 14.04 . The problem's not solved

  10. #29
    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
    Compiled the .so yourself or using some downloaded one?

    And show your start script
    timescale 0.01

  11. #30
    ... connecting
    Join Date
    Oct 2017
    Posts
    7
    Thanks
    1
    Thanked 0 Times in 0 Posts
    I use the downloaded file
    PHP Code:
    #!/bin/bash

    export LD_PRELOAD="$HOME/cod2_1_3/libcod2_1_3.so"

    PARAMS="+set fs_homepath /home/name/.callofduty2_1_3 +set fs_game main +set dedicated 2 +set net_port 28962 +exec server.cfg +set sv_cracked 1"

    while true ; do
            
    "$HOME/cod2_1_3/cod2_lnxded" "$PARAMS"
            
    echo "Restarting the server..."
            
    sleep 1
    done
    exit 
    Last edited by WoOtLax; 30th October 2017 at 15:44.

Posting Permissions

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