I guess you could just hard-code it into your srcds_run script and it should work, but that doesn't answer the question as to why it doesn't work correctly on its own. It's acting like /home/steam/steamcmd/games/csgoretake/bin is the current working directory when srcds_run is started, and if you're sure that it's not, then I'm stumped.
Was this is a clean install (new download), or was it copied from one of the existing instances? It shouldn't matter, but perhaps there's something weird about this particular installation. On Tue, Dec 16, 2014 at 9:39 AM, Geoffrey Bachelot <[email protected]> wrote: > > Works well with LD_LIBRARY_PATH set in the launch options. Should i add it > to my init script or is there a possible workaround ? > > 2014-12-16 15:36 GMT+01:00 David Parker <[email protected]>: >> >> LD_LIBRARY_PATH will be different for each installation because it >> contains the full path to the SRCDS install directory and its /bin >> subdirectory. What happens if you run it with LD_LIBRARY_PATH specified on >> the command line: >> >> cd /home/steam/steamcmd/games/csgoretake >> >> LD_LIBRARY_PATH=/home/steam/steamcmd/games/csgoretake:/home/steam/steamcmd/games/csgoretake/bin >> ./srcds_linux -game csgo ... >> >> And replace the "..." with all of your command-line options. Does that >> at least get the server to start? >> >> On Tue, Dec 16, 2014 at 9:14 AM, Geoffrey Bachelot <[email protected]> >> wrote: >>> >>> In my srcds_run, LD_LIBRARY_PATH is set like this : >>> >>> *export >>> LD_LIBRARY_PATH="${SRCDS_DIR}:${SRCDS_DIR}/bin:${LD_LIBRARY_PATH}"* >>> >>> >>> And I am starting srcds from */home/steam/steamcmd/games/csgoretake* >>> that contain srcds_linux. >>> >>> Maybe should i set the path manually ? I assume Ld_LIBRARY_PATH sould be >>> different for each installation ?! >>> >>> 2014-12-16 15:08 GMT+01:00 David Parker <[email protected]>: >>>> >>>> In my srcds_run for CS:GO, the LD_LIBRARY_PATH gets set as follows: >>>> >>>> # setup the libraries, local dir first! >>>> export >>>> LD_LIBRARY_PATH="${SRCDS_DIR}:${SRCDS_DIR}/bin:${LD_LIBRARY_PATH}" >>>> >>>> So, it seems like your LD_LIBRARY_PATH should be: >>>> >>>> >>>> >>>> LD_LIBRARY_PATH=/home/steam/steamcmd/games/csgoretake:/home/steam/steamcmd/games/csgoretake/bin >>>> >>>> The fact that it only has /home/steam/steamcmd/games/csgoretake/bin and >>>> then "(null)" makes me wonder if you're starting CS:GO from the wring >>>> directory. Are you starting it from >>>> /home/steam/steamcmd/games/csgoretake/bin, or the SRCDS root >>>> (/home/steam/steamcmd/games/csgoretake:/home/steam/steamcmd/games/csgoretake)? >>>> >>>> - Dave >>>> >>>> On Tue, Dec 16, 2014 at 8:37 AM, Geoffrey Bachelot <[email protected] >>>> > wrote: >>>> >>>>> Hi all admins / gurus. >>>>> >>>>> >>>>> I am experiencing a "little" issue since today. >>>>> I have a dedicated server which actually runs 2 csgo servers without >>>>> problems. So i just installed a new instance to create a new csgods btu i >>>>> have a problem with this last one. When i launch it, it give me this awful >>>>> error : >>>>> >>>>> *LD_LIBRARY_PATH=/home/steam/steamcmd/games/csgoretake/bin:(null)* >>>>> *Failed to open libtier0.so (libtier0.so: cannot open shared object >>>>> file: No such file or directory)* >>>>> >>>>> >>>>> I triied all things i can found on internet but nothing works. >>>>> >>>>> Here is the result of ldd....../libtier0.so. The first from a working >>>>> instance the second with the last installed instance. >>>>> >>>>> *ldd /var/steamcmd/games/csgo/bin/libtier0.so >>>>> * >>>>> * linux-gate.so.1 => (0xf77b6000)* >>>>> * libm.so.6 => /lib/i386-linux-gnu/i686/cmov/libm.so.6 >>>>> (0xf7734000)* >>>>> * libdl.so.2 => /lib/i386-linux-gnu/i686/cmov/libdl.so.2 >>>>> (0xf7730000)* >>>>> * libpthread.so.0 => >>>>> /lib/i386-linux-gnu/i686/cmov/libpthread.so.0 (0xf7716000)* >>>>> * /lib/ld-linux.so.2 (0xf77b7000)* >>>>> * libc.so.6 => /lib/i386-linux-gnu/i686/cmov/libc.so.6 >>>>> (0xf75b1000)* >>>>> >>>>> *ldd /home/steam/steamcmd/games/csgoretake/bin/libtier0.so >>>>> * >>>>> * linux-gate.so.1 => (0xf77cb000)* >>>>> * libm.so.6 => /lib/i386-linux-gnu/i686/cmov/libm.so.6 >>>>> (0xf7749000)* >>>>> * libdl.so.2 => /lib/i386-linux-gnu/i686/cmov/libdl.so.2 >>>>> (0xf7745000)* >>>>> * libpthread.so.0 => >>>>> /lib/i386-linux-gnu/i686/cmov/libpthread.so.0 (0xf772b000)* >>>>> * /lib/ld-linux.so.2 (0xf77cc000) * >>>>> * libc.so.6 => /lib/i386-linux-gnu/i686/cmov/libc.so.6 >>>>> (0xf75c6000)* >>>>> >>>>> >>>>> Any help is really welcome ! >>>>> >>>>> _______________________________________________ >>>>> Csgo_servers mailing list >>>>> [email protected] >>>>> https://list.valvesoftware.com/cgi-bin/mailman/listinfo/csgo_servers >>>>> >>>> >>>> >>>> -- >>>> Dave Parker >>>> Systems Administrator >>>> Utica College >>>> Integrated Information Technology Services >>>> (315) 792-3229 >>>> Registered Linux User #408177 >>>> >>>> _______________________________________________ >>>> Csgo_servers mailing list >>>> [email protected] >>>> https://list.valvesoftware.com/cgi-bin/mailman/listinfo/csgo_servers >>>> >>> >>> _______________________________________________ >>> Csgo_servers mailing list >>> [email protected] >>> https://list.valvesoftware.com/cgi-bin/mailman/listinfo/csgo_servers >>> >> >> >> -- >> Dave Parker >> Systems Administrator >> Utica College >> Integrated Information Technology Services >> (315) 792-3229 >> Registered Linux User #408177 >> >> _______________________________________________ >> Csgo_servers mailing list >> [email protected] >> https://list.valvesoftware.com/cgi-bin/mailman/listinfo/csgo_servers >> > > _______________________________________________ > Csgo_servers mailing list > [email protected] > https://list.valvesoftware.com/cgi-bin/mailman/listinfo/csgo_servers > -- Dave Parker Systems Administrator Utica College Integrated Information Technology Services (315) 792-3229 Registered Linux User #408177
_______________________________________________ Csgo_servers mailing list [email protected] https://list.valvesoftware.com/cgi-bin/mailman/listinfo/csgo_servers
