It seems that you're using an outdated browser. Some things may not work as they should (or don't work at all).
We suggest you upgrade newer and better browser like: Chrome, Firefox, Internet Explorer or Opera

×
Running Leisure Suit Larry 2
Starting DOSBox
/home/klumpen/Leisure Suit Larry 2/scummvm/scummvm_x86_64: error while loading shared libraries: libreadline.so.6: cannot open shared object file: No such file or directory

---
sudo apt-get install libreadline6:i386
Reading package lists... Done
Building dependency tree
Reading state information... Done
Package libreadline6:i386 is not available, but is referred to by another package.
This may mean that the package is missing, has been obsoleted, or
is only available from another source

E: Package 'libreadline6:i386' has no installation candidate


PS: libreadline7 is installed.
No posts in this topic were marked as the solution yet. If you can help, add your reply
avatar
Klumpen0815: Running Leisure Suit Larry 2
Starting DOSBox
/home/klumpen/Leisure Suit Larry 2/scummvm/scummvm_x86_64: error while loading shared libraries: libreadline.so.6: cannot open shared object file: No such file or directory
Starting DOSBox?!?

What the hell is "current Ubuntu"? I often skip questions when people can't be bothered to supply basic info. Anyway, try install amd64 ScummVM Ubuntu package. If you actually have a 32-bit OS install then I'm not sure why you/it are/is trying to run the x86_64 executable.

BTW, scummvm_x86_64 is the 64-bit executable. It's not looking for 32-bit libreadline6. What installer are you using (with md5sum). I don't see that with a ldd scummvm_x86_64, but it may be loaded later by some other libs.

You can try moving some of the bundled library files out of "Leisure Suit Larry 2/scummvm/libs/x86_64/" so it will try to use the system-wide installed version.

Lastly, as a workaround you can simply add the game to the system-wide ScummVM install and it should run for you.
Post edited October 19, 2018 by Gydion
avatar
Klumpen0815: Running Leisure Suit Larry 2
Starting DOSBox
/home/klumpen/Leisure Suit Larry 2/scummvm/scummvm_x86_64: error while loading shared libraries: libreadline.so.6: cannot open shared object file: No such file or directory
avatar
Gydion: Starting DOSBox?!?

What the hell is "current Ubuntu"? I often skip questions when people can't be bothered to supply basic info. Anyway, try install amd64 ScummVM Ubuntu package. If you actually have a 32-bit OS install then I'm not sure why you/it are/is trying to run the x86_64 executable.

BTW, scummvm_x86_64 is the 64-bit executable. It's not looking for 32-bit libreadline6. What installer are you using (with md5sum). I don't see that with a ldd scummvm_x86_64, but it may be loaded later by some other libs.

You can try moving some of the bundled library files out of "Leisure Suit Larry 2/scummvm/libs/x86_64/" so it will try to use the system-wide installed version.

Lastly, as a workaround you can simply add the game to the system-wide ScummVM install and it should run for you.
Ubuntu 18.04.1 LTS (Bionic Beaver) 64-bit with MATE 1.20.1
32bit Ubuntu has been discontinued, so I thought it's not worth mentioning.
I just used GOG's Linux installer and start.sh script, nothing else.
No idea why it seems to try to start DosBox and ScummVM.
Post edited October 19, 2018 by Klumpen0815
avatar
Klumpen0815: Ubuntu 18.04.1 LTS (Bionic Beaver) 64-bit with MATE 1.20.1
Thanks, and bionic has the libreadline6 amd64 package. If that's the only thing missing you can just install it, but installing the system ScummVM package (scummvm) will likely take care of any other possible missing dependencies you have.
avatar
Klumpen0815: No idea why it seems to try to start DosBox and ScummVM.
What installer though? I didn't have it on this PC and so I downloaded the current installer, 0______o. I'm not getting the DOSBox line when running the start.sh script. (Now technically I extracted the installer files and didn't run the installer. I doubt the installer is adding that though.)
avatar
Klumpen0815: Ubuntu 18.04.1 LTS (Bionic Beaver) 64-bit with MATE 1.20.1
avatar
Gydion: Thanks, and bionic has the libreadline6 amd64 package. If that's the only thing missing you can just install it, but installing the system ScummVM package (scummvm) will likely take care of any other possible missing dependencies you have.
avatar
Klumpen0815: No idea why it seems to try to start DosBox and ScummVM.
avatar
Gydion: What installer though? I didn't have it on this PC and so I downloaded the current installer, 0______o. I'm not getting the DOSBox line when running the start.sh script. (Now technically I extracted the installer files and didn't run the installer. I doubt the installer is adding that though.)
I just used the current Linux package from GOG.
In the end I used my system's ScummVM, that defeats the purpose of those Linux packages though, a zip/tarball would have been more convenient in that case.