Problem with Installing on Ubuntu/Linux

A secret forum for people who preorder Overgrowth!
o.O
Posts: 15
Joined: Sun May 01, 2011 6:06 am

Re: Problem with Installing on Ubuntu/Linux

Post by o.O » Tue Jul 10, 2012 6:06 am

Thanx to the Pic in the initial Post I could try to install it myself ( linux tho my prefered system, is quite hard on the technically inept ^^ ) ... and I didnt get too far


Username :~/Desktop$ sudo sh overgrowth-a185-linux.sh <- Was the command I took
and ended up with this:

sh: 0: Can't open overgrowth-a185-linux.sh

not quite an explanation xP

So if some of you Linuxable ppl could help Ill be thankfull.

Oh and Version is Ubuntu 12.04 LTS

cheers

User avatar
Metallizzer
Posts: 1
Joined: Tue Jun 05, 2012 8:33 am

Re: Problem with Installing on Ubuntu/Linux

Post by Metallizzer » Tue Jul 10, 2012 10:14 am

o.O wrote:Username :~/Desktop$ sudo sh overgrowth-a185-linux.sh <- Was the command I took
and ended up with this:

sh: 0: Can't open overgrowth-a185-linux.sh
Hi, do not use sudo, try this:

bash ./overgrowth-a185-linux.sh

o.O
Posts: 15
Joined: Sun May 01, 2011 6:06 am

Re: Problem with Installing on Ubuntu/Linux

Post by o.O » Tue Jul 10, 2012 1:10 pm

Hi, do not use sudo, try this:

bash ./overgrowth-a185-linux.sh
Yepp that worked but In the middle of the instalation it tells me that my root folder does not have enuff space in it, which prolly means I should pick a different directory xP.

Had the same problem at first and just waited.... and it worked .... I love Linux

thx for ur Metallizer

User avatar
urkle
Posts: 51
Joined: Mon Oct 17, 2011 8:51 am
Location: Fishers, IN
Contact:

Re: Problem with Installing on Ubuntu/Linux

Post by urkle » Tue Jul 10, 2012 4:26 pm

DarkDefender wrote: BTW why does OG require libjpeg6? Wouldn't it be easier to support the current version of it instead?
It actually IS the current libjpeg version.. specifically libjpeg-turbo. The installer is *supposed* to just install the included version always and not require the system libjpeg at all.. I guess it's not working quite right still.

toothy_bird
Posts: 3
Joined: Thu Aug 02, 2012 5:37 pm

Re: Problem with Installing on Ubuntu/Linux

Post by toothy_bird » Mon Aug 06, 2012 6:26 pm

urkle wrote:
DarkDefender wrote: BTW why does OG require libjpeg6? Wouldn't it be easier to support the current version of it instead?
It actually IS the current libjpeg version.. specifically libjpeg-turbo. The installer is *supposed* to just install the included version always and not require the system libjpeg at all.. I guess it's not working quite right still.
I have similar problem in Gentoo Linux - libjpeg becoming obsolete and libjpeg-turbo is newer replacement.

http://archives.gentoo.org/gentoo-dev/m ... 12bde6.xml

But libjpeg-turbo is not compatible with Overgrowth. Today i tried it with alpha 189.

Code: Select all

./OvergrowthWorker.bin.x86: error while loading shared libraries: libjpeg.so.62: cannot open shared object file: No such file or directory
I tried create symlink named libjpeg.so.6 but it is not working (this trick sometimes helps, but not this time).

Code: Select all

...
lrwxrwxrwx 1 root root     16  3. srp 20.29 /usr/lib/libjpeg.so -> libjpeg.so.8.0.2
lrwxrwxrwx 1 root root     16  7. srp 01.17 /usr/lib/libjpeg.so.62 -> libjpeg.so.8.0.2
lrwxrwxrwx 1 root root     16  3. srp 20.29 /usr/lib/libjpeg.so.8 -> libjpeg.so.8.0.2
-rwxr-xr-x 1 root root 259608  3. srp 20.29 /usr/lib/libjpeg.so.8.0.2
...
Overgrowth still failes wit this message.

Code: Select all

./OvergrowthWorker.bin.x86: /usr/lib/libjpeg.so.62: version `LIBJPEG_6.2' not found (required by ./OvergrowthWorker.bin.x86)
I don't wanna install older jpeg library, both versions cannot be installed.

Code: Select all

These are the packages that would be merged, in order:

Calculating dependencies... done!
[ebuild  N     ] media-libs/jpeg-8d  USE="-static-libs" 969 kB
[uninstall     ] media-libs/libjpeg-turbo-1.2.0-r1  USE="-java -static-libs" 
[blocks b      ] media-libs/jpeg:0 ("media-libs/jpeg:0" is blocking media-libs/libjpeg-turbo-1.2.0-r1)

Total: 1 package (1 new, 1 uninstall), Size of downloads: 969 kB
Conflict: 1 block

toothy_bird
Posts: 3
Joined: Thu Aug 02, 2012 5:37 pm

Re: Problem with Installing on Ubuntu/Linux

Post by toothy_bird » Mon Aug 06, 2012 6:44 pm

And as next step i tried download and compile libjpeg library from here http://www.linuxfromscratch.org/blfs/vi ... bjpeg.html

Then i copied libjpeg files from ~/hry/Overgrowth/libjpeg to ~/hry/Overgrowth/Overgrowth/lib, created symlink @libjpeg.so.62 to libjpeg.so.8.4.0 and ... exactly same error (symlink in /usr/lib is deleted now).

./overgrowth.bin.x86: /home/cygnus/hry/Overgrowth/Overgrowth/lib/libjpeg.so.62: version `LIBJPEG_6.2' not found (required by ./overgrowth.bin.x86)


Now i don't have time to search and build old jpeg library, maybe later.

olza
Posts: 70
Joined: Sun Nov 20, 2011 1:01 am

Re: Problem with Installing on Ubuntu/Linux

Post by olza » Wed Aug 08, 2012 2:48 pm

sudo apt-get install libjpeg62
Omfg! I was actually right for once!! :shock:

toothy_bird
Posts: 3
Joined: Thu Aug 02, 2012 5:37 pm

Re: Problem with Installing on Ubuntu/Linux

Post by toothy_bird » Wed Aug 08, 2012 3:35 pm

olza wrote:
sudo apt-get install libjpeg62
Omfg! I was actually right for once!! :shock:
Yes, but only for Debian and similar distros, Gentoo have no libjpeg62 or any similar package in repository.

But i solved it ... maybe, game starts, but segfaults later.

I download this wierd old deprecated jpeg library from http://www.linuxfromscratch.org/blfs/vi ... bjpeg.html to any folder in my home. Then i configured it.

Code: Select all

 ./configure --prefix=/home/myusername/hry/Overgrowth/libjpeg --enable-static --enable-shared
Without last two options are compiled only jpeg utilities, not libjped library.

And voila, now i have files:

Code: Select all

libjpeg.a
libjpeg.la
libjpeg.so
libjpeg.so.62
libjpeg.so.62.0.0
Copy this to .../Overgrowth/lib

Here should be something like this:

Code: Select all

AwesomiumProcess
chrome.pak
libawesomium-1.6.3.so.0
libfreeimage.so.3
[b]libjpeg.a
libjpeg.la
libjpeg.so
libjpeg.so.62
libjpeg.so.62.0.0[/b]
libSDL-1.2.so.0
locales
This seems be enough, but maybe somewhere else is other bug. I can browse in game menu, select map to play and it's all.

Game output in console ...

Code: Select all

RGBA bits, depth: 8 8 8 8, 24
Anti-aliasing samples: 0
V-Sync: 0
20 texture units supported.
GL_MAX_VERTEX_UNIFORM_COMPONENTS: 1024
0 SDL joysticks found
Hardware threads: 4
*****************
Calculating detail textures
Neoprávněný přístup do paměti (SIGSEGV)
And last message in game window is "Adding terrain to ODE world ..."

Post Reply