Jump to content

Shad

Member
  • Content Count

    3
  • Joined

  • Last visited

  • Medals

Community Reputation

10 Good

About Shad

  • Rank
    Rookie
  1. Similarly, for Centos 6.5 or older, this can be done for the GLIBC 15/16 requirement: wget ftp.lip6.fr/pub/linux/distributions/Ubuntu/pool/main/e/eglibc/libc6_2.17-0ubuntu5.1_i386.deb ar vx libc6_2.17-0ubuntu5.1_i386.deb tar -xvzf data.tar.gz cp -dp i386-linux-gnu /home/arma/arma2oa (or whever you have your oa server folder) in your startup script, you should have: SERVER="$ARMA_DIR/i386-linux-gnu/ld-linux.so.2 --library-path $ARMA_DIR/i386-linux-gnu $ARMA_DIR/server" I tried just using just ld-linux and libc but apparently it needs some other libraries from that i386-linux-gnu folder.
  2. The steam libs work in as far as I'm not getting errors. The server binary requires GLIBC_2.15/16. I have a 64 bit centos 6 that uses 2.12 I used a 32 bit glibc 2.17 out of a debian package and did the export bit in the init script. However, log file just states the server dies and restarts. 32bit compat is installed, but even if I upgrade centos I don't believe it'll get me higher than glibc 2.15. Any ideas? Maybe get it from GNU and compile it? An RPM upgrade of glibc sounds like it might break a lot of stuff...
  3. Just a note - If you are installing for the first time, you'll need to 'chmod 777 install' before you run it. Usually it comes that way but in this it was 644. Not that it matters if you're updating, the only file changed is 'server', so just unpack to a temp folder and copy 'server' to the arma2oa directory. I had some time to kill so I experimented with running this on a centos 6 headless server. Seems to me that most linux servers that would want to run this are headless. Maybe they just developed this for linux desktop users? I'm not sure how the steam thing works. Looking at the server binary with ldd, it requires: ./server: /lib/libc.so.6: version `GLIBC_2.16' not found (required by ./server) ./server: /lib/libc.so.6: version `GLIBC_2.15' not found (required by ./server) linux-gate.so.1 => (0x00c5a000) libsteam_api.so => not found libstdc++.so.6 => /usr/lib/libstdc++.so.6 (0x00938000) libm.so.6 => /lib/libm.so.6 (0x008c3000) libpthread.so.0 => /lib/libpthread.so.0 (0x00110000) libdl.so.2 => /lib/libdl.so.2 (0x008bc000) librt.so.1 => /lib/librt.so.1 (0x00927000) libgcc_s.so.1 => /lib/libgcc_s.so.1 (0x003a3000) libc.so.6 => /lib/libc.so.6 (0x00723000) /lib/ld-linux.so.2 (0x00701000) So for my centos system it needs a glibc library containing GLIBC_2.15/16, and libsteam_api.so I grabbed them from various sources. I realize that having newer libs on a older (stable server) system can be a headache, but I thought maybe they'll distribute the libs and link them locally in the arma2 directory. I've seen other games and such do this. You can find libsteam_api.so (legally) by installing steam for linux in your distro. I have a Centos6 server with X installed (but not used or running) for occasions like this and got steam through rpmfusion.org repository (rpmfusion.org/Configuration). cp libsteam_api.so /usr/lib ldconfig arma2oaserver also needs GLIBC_2.15 and GLIBC_2.16 can be found in libc6_2.17-0ubuntu5.1_i386.deb and extract it with the ar command wget ftp.lip6.fr/pub/linux/distributions/Ubuntu/pool/main/e/eglibc/libc6_2.17-0ubuntu5.1_i386.deb ar vx libc6_2.17-0ubuntu5.1_i386.deb tar -xvzf data.tar.gz verify GLIBC_2.15 and GLIBC_2.16 are there... strings lib/i386-linux-gnu/libc-2.17.so |grep GLIBC_ ... GLIBC_2.15 GLIBC_2.16 GLIBC_2.17 copied it to the arma2oa directory and make a soft link to libc.so.6 cp lib/i386-linux-gnu/libc-2.17.so /home/arma/arma2oa ln -s /libc-2.17.so libc.so.6 Using ldd on the server binary again I see that it finds libsteam_api.so, but not libc. So I put this in the startup script: LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/home/arma/arma2oa export LD_LIBRARY_PATH After all that of course I got a segfault running the server. I hope BIS does give us a way to run arma2oa on a headless server like we already do for arma2. I hope that by requiring Steam this won't just be for desktop users. If not, I wrote all this in hopes that somebody else will have ideas for making this work. Also, I haven't yet seen arma2oa show up on steam's dedicated server list (developer.valvesoftware.com/wiki/Dedicated_Servers_List)
×