Pages: 1
Author Topic: Problems Running Game Built for Ubuntu 12.10 via GMStudio on Portable Ununtu  (45,725 Views)
Offline (Unknown gender) time-killer-games
Guest


Email
Posted on: July 20, 2014, 11:33:17 PM
Introduction - Why I Chose Portable Ubuntu

I'm using Portable Ubuntu to test my games made with GMStudio. It's basically the same thing as running Ubuntu inside a Virtual Box, but it's much easier to install and to work with when switching between Windows and Ubuntu plus it runs with literally zero lag, whereas in Virtual Box I can't test my Ubuntu games at all due to running at 1 frame per second.


The Problem - Portable Ubuntu is Outdated

The only downside to it, it hasn't been updated since 2011 if I remember right, and that means it will only run Ubuntu 10.4 or older. GMStudio games in theory should work, though it is targeted for only Ubuntu 12.10 or later, there still might be hope. This is the absolute best way to run Ubuntu within and beside an existing Windows OS, I'd hate to ignore it given the possibility it might still run my games with a couple small tweaks.


The Possible Solution - Installing *.SO Libraries


So I run my game by double clicking the Linux App, nothing appears. To investigate I try opening the game in the terminal. This error appears

pubuntu@pubuntu:~$ /home/pubuntu/Desktop/GAMES/RMWP/RMWP
/home/pubuntu/Desktop/GAMES/RMWP/RMWP: error while loading shared libraries: libopenal.so.1: cannot open shared object file: No such file or directory

So to fix this I install ENIGMA's dependencies since that includes "libopenal.so.1"

sudo apt-get install g++ zlib1g-dev libglu1-mesa-dev libalure-dev libvorbisfile3 libvorbis-dev libdumb1-dev

Which is great because that fixed the issue. But here's a new issue that now I'm stuck at:

pubuntu@pubuntu:~$ /home/pubuntu/Desktop/GAMES/RMWP/RMWP
/home/pubuntu/Desktop/GAMES/RMWP/RMWP: error while loading shared libraries: libssl.so.1.0.0: cannot open shared object file: No such file or directory



Conclusion - Need Some Assistance (Please?)

I've Google'd for 6+ hours attempting to install through the terminal or any other way possible "libssl.so.1.0.0" which appears to be available nowhere on the internet. I tried this in the terminal

sudo apt-get update
apt-cache policy libssl-dev
sudo apt-get install libssl-dev

It installed "libssl.so", but I don't need that, I need "libssl.so.1.0.0". I also tried many variations of something like this

sudo apt-get install libssl1.0.0 libssl-dev

But everything I tried brought no expected results. Please help! I'm documenting everthing I do with this so I can make a tutorial for someone who isn't banned to post for me on the GMC on how to make your GMS games run in Portable Ubuntu with minimal setup hassle. It could be a major benefit to all Ubuntu GM users everywhere.

Thanks.
Boobs
Offline (Unknown gender) edsquare

Member
Joined: Apr 2014
Posts: 402
View profile
Reply #1 Posted on: July 21, 2014, 12:09:42 AM
Quote from: time-killer-games on July 20, 2014, 11:33:17 PM
Introduction - Why I Chose Portable Ubuntu

I'm using Portable Ubuntu to test my games made with GMStudio. It's basically the same thing as running Ubuntu inside a Virtual Box, but it's much easier to install and to work with when switching between Windows and Ubuntu plus it runs with literally zero lag, whereas in Virtual Box I can't test my Ubuntu games at all due to running at 1 frame per second.

Why in the name of the FSM (Blessed be his noodled apendage) would you do that?

I understand the easinnes of use and the increased speed over a virtual box, and even the convenience of not having to reboot, but still...

Quote from: time-killer-games on July 20, 2014, 11:33:17 PM
The Problem - Portable Ubuntu is Outdated

The only downside to it, it hasn't been updated since 2011 if I remember right, and that means it will only run Ubuntu 10.4 or older. GMStudio games in theory should work, though it is targeted for only Ubuntu 12.10 or later, there still might be hope. This is the absolute best way to run Ubuntu within and beside an existing Windows OS, I'd hate to ignore it given the possibility it might still run my games with a couple small tweaks.

In theory they should not work, different libraries man...

Quote from: time-killer-games on July 20, 2014, 11:33:17 PM

The Possible Solution - Installing *.SO Libraries


So I run my game by double clicking the Linux App, nothing appears. To investigate I try opening the game in the terminal. This error appears

pubuntu@pubuntu:~$ /home/pubuntu/Desktop/GAMES/RMWP/RMWP
/home/pubuntu/Desktop/GAMES/RMWP/RMWP: error while loading shared libraries: libopenal.so.1: cannot open shared object file: No such file or directory

So to fix this I install ENIGMA's dependencies since that includes "libopenal.so.1"

sudo apt-get install g++ zlib1g-dev libglu1-mesa-dev libalure-dev libvorbisfile3 libvorbis-dev libdumb1-dev

Which is great because that fixed the issue. But here's a new issue that now I'm stuck at:

pubuntu@pubuntu:~$ /home/pubuntu/Desktop/GAMES/RMWP/RMWP
/home/pubuntu/Desktop/GAMES/RMWP/RMWP: error while loading shared libraries: libssl.so.1.0.0: cannot open shared object file: No such file or directory


Very good you are in your way to become a linux jedi my little padawan  :D

Quote from: time-killer-games on July 20, 2014, 11:33:17 PM
Conclusion - Need Some Assistance (Please?)

I've Google'd for 6+ hours attempting to install through the terminal or any other way possible "libssl.so.1.0.0.0" which appears to be available nowhere on the internet. I tried this in the terminal

sudo apt-get update
apt-cache policy libssl-dev
sudo apt-get install libssl-dev

It installed "libssl.so", but I don't need that, I need "libssl.so.1.0.0". I also tried many variations of something like this

sudo apt-get install libssl1.0.0 libssl-dev

But everything I tried brought no expected results. Please help! I'm documenting everthing I do with this so I can make a tutorial for someone who isn't banned to post for me on the GMC on how to make your GMS games run in Portable Ubuntu with minimal setup hassle. It could be a major benefit to all Ubuntu GM users everywhere.

Everything well done but...

In the repositories you'll find only libraries that are in use in the current distribution

You could find the library on the web with a lot of hard work and some luck but...

It most likely would do you no good because...

libssl is a cryptography library it is to encript/decript stuff, if for some reason you need one version you need that version and not other, and besides...

Even if you did find it and managed to install it as a .deb it would most likely blow your portable ubuntu to smiterens  :(

Your only hope would be to find it as source code, and then to compile it by hand for your system, and even then it might interfere with something else...

One of the reasons there's no dll hell on linux it's the management of shared libraries, if you install one instead of another you might make one application work while at the same time fucking up something else, even the whole system is at risk.

And you can't use the repos since they more than likely are no longer on line for the ubuntu version you need  :(

Quote from: time-killer-games on July 20, 2014, 11:33:17 PM
Thanks.
Boobs

You're welcome, don't despair, we'll think of something.
Offline (Unknown gender) edsquare

Member
Joined: Apr 2014
Posts: 402
View profile
Reply #2 Posted on: July 21, 2014, 12:13:01 AM
Fuck! It's worse than I thought, libssl.so.1.0.0 is part of Debian Sid
http://www.debian.org/releases/sid/index.en.html

You sure you want to install it?

EDIT: Sorry it is also part of wheezy, you want to install it? even if it blows your portable installation to the hades?
Offline (Unknown gender) edsquare

Member
Joined: Apr 2014
Posts: 402
View profile
Reply #3 Posted on: July 21, 2014, 12:22:00 AM
Just in case you do want to install it:

https://help.ubuntu.com/community/PinningHowto

http://jaqque.sbih.org/kplug/apt-pinning.html

Those are tutorials for apt-pinning, in short it lets you install what you want from a newer version, a newer library could very well break your system so it's for people that kow what they are doing (I have never done it) I would advise you to investigate what else is afected by the library in order to be able to judge if it's worth the risk. To do so install any version you have in the repos via synaptic and take notice of what -if anything- else is installed, if the library is already installed try to uninstall it via synaptic (Just mark to uninstall completely but do not finish the operation) it will give you a list of stuff that uses it, then you can see what may be fucked by the library change.
Offline (Unknown gender) time-killer-games
Guest


Email
Reply #4 Posted on: July 24, 2014, 10:55:11 PM
This has become too much of a pain and so I'll be installing Ubuntu via an actual disk image hopefully by no later than next weekend. I've been busy. Thanks anyways edsquare, I really appreciate it! :D
Offline (Unknown gender) edsquare

Member
Joined: Apr 2014
Posts: 402
View profile
Reply #5 Posted on: July 24, 2014, 11:22:13 PM
Quote from: time-killer-games on July 24, 2014, 10:55:11 PM
This has become too much of a pain and so I'll be installing Ubuntu via an actual disk image hopefully by no later than next weekend. I've been busy. Thanks anyways edsquare, I really appreciate it! :D

Great! If you don't want to reboot the pc you could also use a virtual machine only to test the games, that is assumming you have the ram for it.  ???
Offline (Unknown gender) time-killer-games
Guest


Email
Reply #6 Posted on: July 24, 2014, 11:24:12 PM
I've tried running my games in Virtual Box and they all run at 0.5 frames per second so yeah I'm planning a dual boot at this point.
Offline (Unknown gender) Rusky

Resident Troll
Joined: Feb 2008
Posts: 954
View profile WWW
Reply #7 Posted on: July 25, 2014, 03:12:56 PM
Did you install the VirtualBox Guest Extensions? That helps depending on how good your hardware is. It installs (among other things) a graphics driver for a virtual graphics card that passes things on to the real graphics card.
Offline (Unknown gender) time-killer-games
Guest


Email
Reply #8 Posted on: July 26, 2014, 01:33:10 AM
How the heck do I do that?
Offline (Unknown gender) Rusky

Resident Troll
Joined: Feb 2008
Posts: 954
View profile WWW
Reply #9 Posted on: July 26, 2014, 01:41:13 AM
Put VirtualBox's guest additions ISO in the VM's CD drive and run the installer.
Offline (Unknown gender) time-killer-games
Guest


Email
Reply #10 Posted on: July 26, 2014, 05:27:47 PM
Google is my friend, thanks Rusky for the advice I'll try to take it from here. :D
Offline (Unknown gender) Goombert

Developer
Joined: Jan 2013
Posts: 2,991
View profile
Reply #11 Posted on: July 26, 2014, 11:30:18 PM
I am going to move this to the help desk, for future reference Game Maker issues are welcome here, as a community we should make it general practice to help someone with any problem they are having.
Pages: 1