OneShot
(Linux) glibc > 2.25 required
First of all, I want to thank the devs for the Linux port!

So, I have Ubuntu 16.04 LTS. The latest version of libc6 available is 2.23, but OneShot crashes on startup because it needs at least 2.25 (It says "version `GLIBC_2.x` not found" for x=25,26,27,28).

I could compile libc6, but that would probably brick my computer, since glibc is such a critical library. Is there any way to play OneShot in Linux 16.04 without taking that risk?
< >
Εμφάνιση 1-15 από 15 σχόλια
Does the error say which library requires glibc > 2.25? If it's a library packaged alongside OneShot I believe you can try deleting it and, if it throws an error about that library missing, installing it globally through Aptitude.
Yes, it does, sorry for not specifying that. Here is the error message with my home directory replaced by '~'. Also, something I didn't notice is that different libraries are asking for different versions, so I guess 2.28 is the required version.

./oneshot: /lib/x86_64-linux-gnu/libm.so.6: version `GLIBC_2.27' not found (required by ~/.steam/steam/steamapps/common/OneShot/libopenal.so.1)
./oneshot: /lib/x86_64-linux-gnu/libc.so.6: version `GLIBC_2.28' not found (required by ~/.steam/steam/steamapps/common/OneShot/libgio-2.0.so.0)
./oneshot: /lib/x86_64-linux-gnu/libc.so.6: version `GLIBC_2.28' not found (required by ~/.steam/steam/steamapps/common/OneShot/libglib-2.0.so.0)
./oneshot: /lib/x86_64-linux-gnu/libc.so.6: version `GLIBC_2.25' not found (required by ~/.steam/steam/steamapps/common/OneShot/libruby.so.2.6)
./oneshot: /lib/x86_64-linux-gnu/libc.so.6: version `GLIBC_2.25' not found (required by ~/.steam/steam/steamapps/common/OneShot/libmount.so.1)
./oneshot: /lib/x86_64-linux-gnu/libc.so.6: version `GLIBC_2.25' not found (required by ~/.steam/steam/steamapps/common/OneShot/libcrypt.so.1)
./oneshot: /lib/x86_64-linux-gnu/libc.so.6: version `GLIBC_2.25' not found (required by ~/.steam/steam/steamapps/common/OneShot/libexpat.so.1)
./oneshot: /lib/x86_64-linux-gnu/libc.so.6: version `GLIBC_2.25' not found (required by ~/.steam/steam/steamapps/common/OneShot/libuuid.so.1)
./oneshot: /lib/x86_64-linux-gnu/libc.so.6: version `GLIBC_2.25' not found (required by ~/.steam/steam/steamapps/common/OneShot/libblkid.so.1)
./oneshot: /lib/x86_64-linux-gnu/libc.so.6: version `GLIBC_2.25' not found (required by ~/.steam/steam/steamapps/common/OneShot/libsystemd.so.0)
./oneshot: /lib/x86_64-linux-gnu/libc.so.6: version `GLIBC_2.28' not found (required by ~/.steam/steam/steamapps/common/OneShot/libsystemd.so.0)
./oneshot: /lib/x86_64-linux-gnu/libc.so.6: version `GLIBC_2.26' not found (required by ~/.steam/steam/steamapps/common/OneShot/libsystemd.so.0)
./oneshot: /lib/x86_64-linux-gnu/libc.so.6: version `GLIBC_2.27' not found (required by ~/.steam/steam/steamapps/common/OneShot/libsystemd.so.0)
./oneshot: /lib/x86_64-linux-gnu/libc.so.6: version `GLIBC_2.25' not found (required by ~/.steam/steam/steamapps/common/OneShot/libXdmcp.so.6)

These are all in the OneShot directory, so I will try deleting them all and installing them from the repos, as you said. Wish me luck!

Τελευταία επεξεργασία από Criado; 24 Απρ 2019, 11:51
Most of them might be already installed on your system, OneShot simply packages most libraries it requires with it (which is bad, I know, I'm looking into fixing this soon but it will require quite a bit of testing to ensure it works properly) and if, after deleting, you want to figure out which libraries are missing you can run
ldd ~/.local/share/Steam/steamapps/common/OneShot/oneshot | grep "not found"
Indeed, they are all installed excepting libruby. Since the latest version in ubuntu 16.04 is libruby 2.3, (and 2.6 is required), I will try to build it from sources.
Success! I think it works now. Thank you so much! This everything what I did, in case someone else has this problem (In Ubuntu 16.04 LTS)

- I ran oneshot from the command line (in ~/.steam/steam/steamapps/common/OneShot in my machine)
- Some libraries require glibc > 2.25. I removed these, but libruby.so.2.6 is not in the ubuntu repositories
- I installed ruby from sources. In order to build the shared libraries, I had to add a flag, and run './configure --enable-shared' before 'make' and 'sudo make install'. This is probably not the best way to install ruby, but it worked.
- OneShot still couldn't find libruby, so I created a soft link from the OneShot directory to the install location.
- Some other packaged libraries threw 'missing symbol' errors, I just removed those .so files
- finally, sdl threw an error "Could not initialize SDL! Could not initialize UDEV". For some reason, it works when I run OneShot from steam, but it doesn't from command line.

Similar issue on Ubuntu 18.04. It throws the following errors.

./oneshot: /lib/x86_64-linux-gnu/libc.so.6: version `GLIBC_2.28' not found (required by /home/user/.steam/steam/steamapps/common/OneShot/libgio-2.0.so.0)
./oneshot: /lib/x86_64-linux-gnu/libc.so.6: version `GLIBC_2.28' not found (required by /home/user/.steam/steam/steamapps/common/OneShot/libglib-2.0.so.0)
./oneshot: /lib/x86_64-linux-gnu/libc.so.6: version `GLIBC_2.28' not found (required by /home/user/.steam/steam/steamapps/common/OneShot/libsystemd.so.0)

Removing the offending libraries makes it possible to start the game. Not sure if it can cause issues down the line in the game.

Did some digging around, and the issue should not happen on Ubuntu 18.10 and up. Now I'm considering just upgrading from LTS to the regular release. :p
I'm in the same boat - 16.04, game doesn't start. I'm not interested in building libraries from source, so I'll refund for now and buy again if this is fixed.
Αναρτήθηκε αρχικά από Adnub:
Similar issue on Ubuntu 18.04. It throws the following errors.

./oneshot: /lib/x86_64-linux-gnu/libc.so.6: version `GLIBC_2.28' not found (required by /home/user/.steam/steam/steamapps/common/OneShot/libgio-2.0.so.0)
./oneshot: /lib/x86_64-linux-gnu/libc.so.6: version `GLIBC_2.28' not found (required by /home/user/.steam/steam/steamapps/common/OneShot/libglib-2.0.so.0)
./oneshot: /lib/x86_64-linux-gnu/libc.so.6: version `GLIBC_2.28' not found (required by /home/user/.steam/steam/steamapps/common/OneShot/libsystemd.so.0)

Removing the offending libraries makes it possible to start the game. Not sure if it can cause issues down the line in the game.

Did some digging around, and the issue should not happen on Ubuntu 18.10 and up. Now I'm considering just upgrading from LTS to the regular release. :p

Yes, probably 16.04 is quite old... I am halfway through the game and I've run into a new problem, with libqt5 and PyQt5 this time. I have tried removing the packaged PyQt5 but OneShot will not detect my installed PyQt5. If I remove the packaged PyQt5, it needs the latest Qt5. I will probably just upgrade my machine.

Probably it could be fixed by packaging older versions of some of these libraries?

I must say, I am so happy that this game got ported into Linux. Now that I have played it, I realized how hard it must have been to port it!
Αναρτήθηκε αρχικά από Criado:

Yes, probably 16.04 is quite old... I am halfway through the game and I've run into a new problem, with libqt5 and PyQt5 this time. I have tried removing the packaged PyQt5 but OneShot will not detect my installed PyQt5. If I remove the packaged PyQt5, it needs the latest Qt5. I will probably just upgrade my machine.

Probably it could be fixed by packaging older versions of some of these libraries?

I must say, I am so happy that this game got ported into Linux. Now that I have played it, I realized how hard it must have been to port it!

Yes, I already played the game before on Windows. I really loved it.
I just wanted to play it again in Linux. They went through a lot of trouble to make it work here.

I can report that the game runs on Ubuntu 19.04 (Upgraded yesterday).
It still has issues though. One issue requires you to remove ~/.local/share/Steam/steamapps/common/OneShot/libgio-2.0.so.0
I can't tell exactly what issue this fixes without spoiling stuff though. I've put it in spoiler tags.
The game cannot change the desktop wallpaper on Ubuntu 19.04. Fixed by removing that file.
Αναρτήθηκε αρχικά από Adnub:
Similar issue on Ubuntu 18.04. It throws the following errors.

./oneshot: /lib/x86_64-linux-gnu/libc.so.6: version `GLIBC_2.28' not found (required by /home/user/.steam/steam/steamapps/common/OneShot/libgio-2.0.so.0)
./oneshot: /lib/x86_64-linux-gnu/libc.so.6: version `GLIBC_2.28' not found (required by /home/user/.steam/steam/steamapps/common/OneShot/libglib-2.0.so.0)
./oneshot: /lib/x86_64-linux-gnu/libc.so.6: version `GLIBC_2.28' not found (required by /home/user/.steam/steam/steamapps/common/OneShot/libsystemd.so.0)

Removing the offending libraries makes it possible to start the game. Not sure if it can cause issues down the line in the game.

Did some digging around, and the issue should not happen on Ubuntu 18.10 and up. Now I'm considering just upgrading from LTS to the regular release. :p

I'm no expert, but wouldn't a better solution be to include whatever version of glibc is required with the game?
That's how it was in the staging release, and that's what caused stack smashing errors on certain distributions. A better fix would probably be to compile OneShot with an older version of glibc, it's just that it has to be tested what is the minimum version OneShot can be compiled with.
Also, OneShot currently packages all libraries it requires with an exception of a few (including libc and libpthread) that are most likely already installed on the system. That's not an ideal solution and the game should probably only package the libraries that aren't already installed with the Steam runtime.
Αναρτήθηκε αρχικά από Criado:
Success! I think it works now. Thank you so much! This everything what I did, in case someone else has this problem (In Ubuntu 16.04 LTS)

- I ran oneshot from the command line (in ~/.steam/steam/steamapps/common/OneShot in my machine)
- Some libraries require glibc > 2.25. I removed these, but libruby.so.2.6 is not in the ubuntu repositories
- I installed ruby from sources. In order to build the shared libraries, I had to add a flag, and run './configure --enable-shared' before 'make' and 'sudo make install'. This is probably not the best way to install ruby, but it worked.
- OneShot still couldn't find libruby, so I created a soft link from the OneShot directory to the install location.
- Some other packaged libraries threw 'missing symbol' errors, I just removed those .so files
- finally, sdl threw an error "Could not initialize SDL! Could not initialize UDEV". For some reason, it works when I run OneShot from steam, but it doesn't from command line.
Thanks for this info, I was able to finally open up the game.

To get libruby, I used the download link and command line steps from this page:
http://www.linuxfromscratch.org/blfs/view/cvs/general/ruby.html

I did already have an earlier version of libruby package installed already,
so hopefully that won't cause problems later...


Αναρτήθηκε αρχικά από Criado:
I am halfway through the game and I've run into a new problem, with libqt5 and PyQt5 this time. I have tried removing the packaged PyQt5 but OneShot will not detect my installed PyQt5. If I remove the packaged PyQt5, it needs the latest Qt5.
I already have a version of these libraries installed too, so I might not run into this problem,
but who knows.

How far in the game did you get before this became a problem?
Estimate how long it took to get there, or what % through you got, please.
Τελευταία επεξεργασία από CtenosaurOaxacana; 28 Μαϊ 2019, 20:52
Αναρτήθηκε αρχικά από Vulpes Velox:
Αναρτήθηκε αρχικά από Criado:
Success! I think it works now. Thank you so much! This everything what I did, in case someone else has this problem (In Ubuntu 16.04 LTS)

- I ran oneshot from the command line (in ~/.steam/steam/steamapps/common/OneShot in my machine)
- Some libraries require glibc > 2.25. I removed these, but libruby.so.2.6 is not in the ubuntu repositories
- I installed ruby from sources. In order to build the shared libraries, I had to add a flag, and run './configure --enable-shared' before 'make' and 'sudo make install'. This is probably not the best way to install ruby, but it worked.
- OneShot still couldn't find libruby, so I created a soft link from the OneShot directory to the install location.
- Some other packaged libraries threw 'missing symbol' errors, I just removed those .so files
- finally, sdl threw an error "Could not initialize SDL! Could not initialize UDEV". For some reason, it works when I run OneShot from steam, but it doesn't from command line.
Thanks for this info, I was able to finally open up the game.

To get libruby, I used the download link and command line steps from this page:
http://www.linuxfromscratch.org/blfs/view/cvs/general/ruby.html

I did already have an earlier version of libruby package installed already,
so hopefully that won't cause problems later...


Αναρτήθηκε αρχικά από Criado:
I am halfway through the game and I've run into a new problem, with libqt5 and PyQt5 this time. I have tried removing the packaged PyQt5 but OneShot will not detect my installed PyQt5. If I remove the packaged PyQt5, it needs the latest Qt5.
I already have a version of these libraries installed too, so I might not run into this problem,
but who knows.

How far in the game did you get before this became a problem?
Estimate how long it took to get there, or what % through you got, please.

To be honest, I don't remember how long it took until that point. I think it was more than 50% through the game. I am sorry I cannot provide more info.

Good luck!
On Arch I got it working by moving all the library files to a separate directory except for:

libboost_program_options.so.1.69.0
libruby.so.2.6
libsteam_api.so
libxfconf-0.so.2

After I removed all the libraries except for these four I then found that I needed to launch steamshim instead of oneshot from the terminal. At this point the game launches normally through steam for me.
Τελευταία επεξεργασία από BitBlaster; 3 Νοε 2019, 21:49
Αναρτήθηκε αρχικά από theotherguy1104:
On Arch I got it working by moving all the library files to a separate directory except for:

libboost_program_options.so.1.69.0
libruby.so.2.6
libsteam_api.so
libxfconf-0.so.2

After I removed all the libraries except for these four I then found that I needed to launch steamshim instead of oneshot from the terminal. At this point the game launches normally through steam for me.

Playing on Ubuntu 20.04 rn, and I got it working like this. Opened a terminal, cd to the game folder and moved all the libs into a tmp folder I made, then moved some of them back and ran ./steamshim

Those four wheren't enough though, the game crashed if it couldn't find these:

libboost_program_options.so.1.69.0
libphysfs.so.1
libruby.so.2.6
libSDL2-2.0.so.0
libSDL2_image-2.0.so.0
libSDL2_ttf-2.0.so.0
libSDL_sound-1.0.so.1
libsteam_api.so
libwebp.so.7
libxfconf-0.so.2

Some HW info:

GL Renderer : Radeon RX 570 Series (POLARIS10, DRM 3.38.0, 5.8.0-16.1-liquorix-amd64, LLVM 11.0.0)
GL Version : 4.6 (Compatibility Profile) Mesa 20.2.1 - kisak-mesa PPA
Τελευταία επεξεργασία από eggman; 25 Οκτ 2020, 3:01
< >
Εμφάνιση 1-15 από 15 σχόλια
Ανά σελίδα: 1530 50

Ημ/νία ανάρτησης: 24 Απρ 2019, 11:14
Αναρτήσεις: 15