Pages: 1
  Print  
Author Topic: Problems Running Game Built for Ubuntu 12.10 via GMStudio on Portable Ununtu  (Read 2263 times)
Offline (Male) time-killer-games
Posted on: July 20, 2014, 06:33:17 PM

Contributor
Location: Virginia Beach
Joined: Jan 2013
Posts: 1157

View Profile Email
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
Code: [Select]
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"
Code: [Select]
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:
Code: [Select]
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
Code: [Select]
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
Code: [Select]
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
« Last Edit: July 20, 2014, 06:58:22 PM by time-killer-games » Logged
Offline (Male) edsquare
Reply #1 Posted on: July 20, 2014, 07:09:42 PM

Member
Location: The throne of ringworld
Joined: Apr 2014
Posts: 402

View Profile
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...

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...


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
Code: [Select]
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"
Code: [Select]
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:
Code: [Select]
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

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
Code: [Select]
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
Code: [Select]
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  :(

Thanks.
Boobs

You're welcome, don't despair, we'll think of something.
« Last Edit: July 24, 2014, 06:20:12 PM by edsquare » Logged
A child of five would understand this. Send someone to fetch a child of five.
Groucho Marx
Offline (Male) edsquare
Reply #2 Posted on: July 20, 2014, 07:13:01 PM

Member
Location: The throne of ringworld
Joined: Apr 2014
Posts: 402

View Profile
Fuck! It's worse than I thought, libssl.so.1.0.0 is part of Debian Sid
Code: [Select]
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?
« Last Edit: July 20, 2014, 07:14:50 PM by edsquare » Logged
A child of five would understand this. Send someone to fetch a child of five.
Groucho Marx
Offline (Male) edsquare
Reply #3 Posted on: July 20, 2014, 07:22:00 PM

Member
Location: The throne of ringworld
Joined: Apr 2014
Posts: 402

View Profile
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.
« Last Edit: July 20, 2014, 08:28:51 PM by edsquare » Logged
A child of five would understand this. Send someone to fetch a child of five.
Groucho Marx
Offline (Male) time-killer-games
Reply #4 Posted on: July 24, 2014, 05:55:11 PM

Contributor
Location: Virginia Beach
Joined: Jan 2013
Posts: 1157

View Profile Email
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
Logged
Offline (Male) edsquare
Reply #5 Posted on: July 24, 2014, 06:22:13 PM

Member
Location: The throne of ringworld
Joined: Apr 2014
Posts: 402

View Profile
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.  ???
Logged
A child of five would understand this. Send someone to fetch a child of five.
Groucho Marx
Offline (Male) time-killer-games
Reply #6 Posted on: July 24, 2014, 06:24:12 PM

Contributor
Location: Virginia Beach
Joined: Jan 2013
Posts: 1157

View Profile Email
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.
Logged
Offline (Male) Rusky
Reply #7 Posted on: July 25, 2014, 10:12:56 AM

Resident Troll
Joined: Feb 2008
Posts: 955
MSN Messenger - rpjohnst@gmail.com
View Profile WWW Email
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.
Logged
Offline (Male) time-killer-games
Reply #8 Posted on: July 25, 2014, 08:33:10 PM

Contributor
Location: Virginia Beach
Joined: Jan 2013
Posts: 1157

View Profile Email
How the heck do I do that?
Logged
Offline (Male) Rusky
Reply #9 Posted on: July 25, 2014, 08:41:13 PM

Resident Troll
Joined: Feb 2008
Posts: 955
MSN Messenger - rpjohnst@gmail.com
View Profile WWW Email
Put VirtualBox's guest additions ISO in the VM's CD drive and run the installer.
Logged
Offline (Male) time-killer-games
Reply #10 Posted on: July 26, 2014, 12:27:47 PM

Contributor
Location: Virginia Beach
Joined: Jan 2013
Posts: 1157

View Profile Email
Google is my friend, thanks Rusky for the advice I'll try to take it from here. :D
Logged
Offline (Male) Goombert
Reply #11 Posted on: July 26, 2014, 06:30:18 PM

Developer
Location: Cappuccino, CA
Joined: Jan 2013
Posts: 3107

View Profile
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.
Logged
I think it was Leonardo da Vinci who once said something along the lines of "If you build the robots, they will make games." or something to that effect.

Pages: 1
  Print