1.6 Linux64 executable won't launch

Where bugs go to lie down and rest

Moderator: Moderator

Post Reply
Message
Author
Mankeli
Spiderkin
Posts: 535
Joined: Sun Dec 22, 2013 2:22 pm

1.6 Linux64 executable won't launch

#1 Post by Mankeli »

1.6 Linux64 t-engine executable won't launch on Ubuntu 18.04.3 LTS/Nautilus. T-engine executable displays as type application/x-sharedlib instead of type application/x-executable so you can't start the game. All previous versions have run just fine and still run just fine I downloaded 1.5.10 again just to test.

Mankeli
Spiderkin
Posts: 535
Joined: Sun Dec 22, 2013 2:22 pm

Re: 1.6 Linux64 executable won't launch

#2 Post by Mankeli »

...and seems I'm not alone on this http://forums.te4.org/viewtopic.php?f=42&t=50030

Teber2
Halfling
Posts: 105
Joined: Fri Sep 17, 2010 11:49 pm
Location: somewhere in the Netherlands

Re: 1.6 Linux64 executable won't launch

#3 Post by Teber2 »

yes. the problem would not be the specific branch of linux we use. which begs the question: are talking the 64 bits compile here? i had a similar issue years ago with a 32 bits compile, which would not launch under 64 bits.
if everything's coming your way, you're in the wrong lane

Teber2
Halfling
Posts: 105
Joined: Fri Sep 17, 2010 11:49 pm
Location: somewhere in the Netherlands

Re: 1.6 Linux64 executable won't launch

#4 Post by Teber2 »

installed 32 bits libs. no joy. would the real experts please look into this? thanx in advance.
if everything's coming your way, you're in the wrong lane

darkgod
Master of Eyal
Posts: 10750
Joined: Wed Jul 24, 2002 9:26 pm
Location: Angolwen
Contact:

Re: 1.6 Linux64 executable won't launch

#5 Post by darkgod »

That's just super weird .. I mean I develop AND play on linux, I'd have noticed if it doesnt run :/

Can both of you run the command:

Code: Select all

ldd t-engine
or for the steam version:

Code: Select all

ldd t-engine64
And show me the results please?

Also show me the results of directly running the game from the command line
[tome] joylove: You can't just release an expansion like one would release a Kraken XD
--
[tome] phantomfrettchen: your ability not to tease anyone is simply stunning ;)

Teber2
Halfling
Posts: 105
Joined: Fri Sep 17, 2010 11:49 pm
Location: somewhere in the Netherlands

Re: 1.6 Linux64 executable won't launch

#6 Post by Teber2 »

happy to serve lord!

Code: Select all

jan@sharden-MS-7B29:~/t-engine4-linux64-1.6.0$ t-engine
t-engine: command not found

Code: Select all

jan@sharden-MS-7B29:~/t-engine4-linux64-1.6.0$ ldd t-engine
	linux-vdso.so.1 (0x00007fff77b7a000)
	libm.so.6 => /lib/x86_64-linux-gnu/libm.so.6 (0x00007f2469050000)
	libstdc++.so.6 => /usr/lib/x86_64-linux-gnu/libstdc++.so.6 (0x00007f2468cc7000)
	libdl.so.2 => /lib/x86_64-linux-gnu/libdl.so.2 (0x00007f2468ac3000)
	libSDL2-2.0.so.0 => /home/jan/t-engine4-linux64-1.6.0/./lib64/libSDL2-2.0.so.0 (0x00007f24687ad000)
	libSDL2_ttf-2.0.so.0 => /home/jan/t-engine4-linux64-1.6.0/./lib64/libSDL2_ttf-2.0.so.0 (0x00007f2469881000)
	libSDL2_image-2.0.so.0 => /home/jan/t-engine4-linux64-1.6.0/./lib64/libSDL2_image-2.0.so.0 (0x00007f2469872000)
	libpng16.so.16 => /home/jan/t-engine4-linux64-1.6.0/./lib64/libpng16.so.16 (0x00007f2469837000)
	libopenal.so.1 => /home/jan/t-engine4-linux64-1.6.0/./lib64/libopenal.so.1 (0x00007f2468556000)
	libvorbisfile.so.3 => /home/jan/t-engine4-linux64-1.6.0/./lib64/libvorbisfile.so.3 (0x00007f246834f000)
	libGL.so.1 => /usr/lib/x86_64-linux-gnu/libGL.so.1 (0x00007f24680c3000)
	libGLU.so.1 => /usr/lib/x86_64-linux-gnu/libGLU.so.1 (0x00007f2467e54000)
	libpthread.so.0 => /lib/x86_64-linux-gnu/libpthread.so.0 (0x00007f2467c35000)
	libgcc_s.so.1 => /lib/x86_64-linux-gnu/libgcc_s.so.1 (0x00007f2467a1d000)
	libc.so.6 => /lib/x86_64-linux-gnu/libc.so.6 (0x00007f246762c000)
	/lib64/ld-linux-x86-64.so.2 (0x00007f246967e000)
	librt.so.1 => /lib/x86_64-linux-gnu/librt.so.1 (0x00007f2467424000)
	libfreetype.so.6 => /usr/lib/x86_64-linux-gnu/libfreetype.so.6 (0x00007f2467170000)
	libz.so.1 => /lib/x86_64-linux-gnu/libz.so.1 (0x00007f2466f53000)
	libvorbis.so.0 => /usr/lib/x86_64-linux-gnu/libvorbis.so.0 (0x00007f2466d28000)
	libogg.so.0 => /usr/lib/x86_64-linux-gnu/libogg.so.0 (0x00007f2466b1f000)
	libGLX.so.0 => /usr/lib/x86_64-linux-gnu/libGLX.so.0 (0x00007f24668ee000)
	libGLdispatch.so.0 => /usr/lib/x86_64-linux-gnu/libGLdispatch.so.0 (0x00007f2466638000)
	libX11.so.6 => /usr/lib/x86_64-linux-gnu/libX11.so.6 (0x00007f2466300000)
	libxcb.so.1 => /usr/lib/x86_64-linux-gnu/libxcb.so.1 (0x00007f24660d8000)
	libXau.so.6 => /usr/lib/x86_64-linux-gnu/libXau.so.6 (0x00007f2465ed4000)
	libXdmcp.so.6 => /usr/lib/x86_64-linux-gnu/libXdmcp.so.6 (0x00007f2465cce000)
	libbsd.so.0 => /lib/x86_64-linux-gnu/libbsd.so.0 (0x00007f2465ab9000)
jan@sharden-MS-7B29:~/t-engine4-linux64-1.6.0$ 

Code: Select all

jan@sharden-MS-7B29:~/t-engine4-linux64-1.6.0$ ldd t-engine64
ldd: ./t-engine64: No such file or directory
hope this helps
if everything's coming your way, you're in the wrong lane

dartom
Wayist
Posts: 27
Joined: Thu Dec 22, 2016 5:27 pm

Re: 1.6 Linux64 executable won't launch

#7 Post by dartom »

Sounds like you may be hitting this? https://bugzilla.gnome.org/show_bug.cgi?id=737849 - guess you can't really use nautilus/etc to launch modern binaries anymore.

I'd try running directly from console, note that you need to enter
./t-engine
not simply
t-engine

Teber2
Halfling
Posts: 105
Joined: Fri Sep 17, 2010 11:49 pm
Location: somewhere in the Netherlands

Re: 1.6 Linux64 executable won't launch

#8 Post by Teber2 »

@dartom thank you very much. launching the game from terminal like you suggested works like a charm. this would explain why mankeli and me appear to be the only ones having this issue.

i'll look into alternative file managers. people in my network should be able and willing to fix this.
if everything's coming your way, you're in the wrong lane

Mankeli
Spiderkin
Posts: 535
Joined: Sun Dec 22, 2013 2:22 pm

Re: 1.6 Linux64 executable won't launch

#9 Post by Mankeli »

thanks dartom! running it this way solved my issue too. I found something related to this while googling too, but not a linus expert was confused why I didn't get this the latest tome version to run where all others work nicely. I tried to make .desktop file to force it run as an executable but it didn't work, but your solution did. thanks again!

entropy
Low Yeek
Posts: 6
Joined: Wed Feb 22, 2012 4:17 am

Re: 1.6 Linux64 executable won't launch

#10 Post by entropy »

I am having the same problem. Version 1.5.10 works fine, but 1.6.0 and later do not run at all, either 32 or 64 bit versions. I am on Linux Mint.
~/Downloads/t-engine4-linux64-1.6.5 $ ldd t-engine
./t-engine: /lib/x86_64-linux-gnu/libz.so.1: version `ZLIB_1.2.9' not found (required by /home/logos/Downloads/t-engine4-linux64-1.6.5/./lib64/libpng16.so.16)
linux-vdso.so.1 => (0x00007ffdfa715000)
libm.so.6 => /lib/x86_64-linux-gnu/libm.so.6 (0x00007fdad65c9000)
libstdc++.so.6 => /usr/lib/x86_64-linux-gnu/libstdc++.so.6 (0x00007fdad6247000)
libdl.so.2 => /lib/x86_64-linux-gnu/libdl.so.2 (0x00007fdad6043000)
libSDL2-2.0.so.0 => /home/logos/Downloads/t-engine4-linux64-1.6.5/./lib64/libSDL2-2.0.so.0 (0x00007fdad5d2c000)
libSDL2_ttf-2.0.so.0 => /home/logos/Downloads/t-engine4-linux64-1.6.5/./lib64/libSDL2_ttf-2.0.so.0 (0x00007fdad5d23000)
libSDL2_image-2.0.so.0 => /home/logos/Downloads/t-engine4-linux64-1.6.5/./lib64/libSDL2_image-2.0.so.0 (0x00007fdad5d14000)
libpng16.so.16 => /home/logos/Downloads/t-engine4-linux64-1.6.5/./lib64/libpng16.so.16 (0x00007fdad5cda000)
libopenal.so.1 => /home/logos/Downloads/t-engine4-linux64-1.6.5/./lib64/libopenal.so.1 (0x00007fdad5a83000)
libvorbisfile.so.3 => /home/logos/Downloads/t-engine4-linux64-1.6.5/./lib64/libvorbisfile.so.3 (0x00007fdad587c000)
libGL.so.1 => /usr/lib/nvidia-384/libGL.so.1 (0x00007fdad5539000)
libGLU.so.1 => /usr/lib/x86_64-linux-gnu/libGLU.so.1 (0x00007fdad52ca000)
libpthread.so.0 => /lib/x86_64-linux-gnu/libpthread.so.0 (0x00007fdad50ad000)
libgcc_s.so.1 => /lib/x86_64-linux-gnu/libgcc_s.so.1 (0x00007fdad4e96000)
libc.so.6 => /lib/x86_64-linux-gnu/libc.so.6 (0x00007fdad4acc000)
/lib64/ld-linux-x86-64.so.2 (0x000055c8840ba000)
librt.so.1 => /lib/x86_64-linux-gnu/librt.so.1 (0x00007fdad48c4000)
libfreetype.so.6 => /usr/lib/x86_64-linux-gnu/libfreetype.so.6 (0x00007fdad4619000)
libz.so.1 => /lib/x86_64-linux-gnu/libz.so.1 (0x00007fdad43ff000)
libvorbis.so.0 => /usr/lib/x86_64-linux-gnu/libvorbis.so.0 (0x00007fdad41d2000)
libogg.so.0 => /usr/lib/x86_64-linux-gnu/libogg.so.0 (0x00007fdad3fc9000)
libnvidia-tls.so.384.130 => /usr/lib/nvidia-384/tls/libnvidia-tls.so.384.130 (0x00007fdad3dc5000)
libnvidia-glcore.so.384.130 => /usr/lib/nvidia-384/libnvidia-glcore.so.384.130 (0x00007fdad1f08000)
libX11.so.6 => /usr/lib/x86_64-linux-gnu/libX11.so.6 (0x00007fdad1bce000)
libXext.so.6 => /usr/lib/x86_64-linux-gnu/libXext.so.6 (0x00007fdad19bc000)
libpng12.so.0 => /lib/x86_64-linux-gnu/libpng12.so.0 (0x00007fdad1796000)
libxcb.so.1 => /usr/lib/x86_64-linux-gnu/libxcb.so.1 (0x00007fdad1574000)
libXau.so.6 => /usr/lib/x86_64-linux-gnu/libXau.so.6 (0x00007fdad136f000)
libXdmcp.so.6 => /usr/lib/x86_64-linux-gnu/libXdmcp.so.6 (0x00007fdad1169000)

When I try to launch it from the command line, ~/Downloads/t-engine4-linux64-1.6.5 $ ./t-engine

I get:
./t-engine: /lib/x86_64-linux-gnu/libz.so.1: version `ZLIB_1.2.9' not found (required by /home/logos/Downloads/t-engine4-linux64-1.6.5/lib64/libpng16.so.16)
I went into the software manager and found and installed the 'Zlib1g-dev compression library - development' and 'Zlibc An on-fly auto-uncompressing library', there a bunch of others but not sure what else to install.

Jurriaan
Wyrmic
Posts: 227
Joined: Mon Mar 25, 2013 9:39 am

Re: 1.6 Linux64 executable won't launch

#11 Post by Jurriaan »

On my Ubuntu 19.10:

Code: Select all

 ldd ./t-engine   |  grep -i z
        libz.so.1 => /lib/x86_64-linux-gnu/libz.so.1 (0x00007fae45b51000)
$
libz.so.1 is provided by the zlib1g package:

Code: Select all

$ dpkg -S /lib/x86_64-linux-gnu/libz.so.1
zlib1g:amd64: /lib/x86_64-linux-gnu/libz.so.1
$ dpkg -l | grep zlib1g
ii  zlib1g:amd64                          1:1.2.11.dfsg-1ubuntu3                 amd64        compression library - runtime
$
perhaps you don't have the zlib1g package?

entropy
Low Yeek
Posts: 6
Joined: Wed Feb 22, 2012 4:17 am

Re: 1.6 Linux64 executable won't launch

#12 Post by entropy »

According to the Software Manager I do have the Zlib1g package installed.

klapadock
Posts: 1
Joined: Sat Mar 14, 2020 10:10 pm

Re: 1.6 Linux64 executable won't launch

#13 Post by klapadock »

A handy set of instructions on rolling your own is here:
https://stackoverflow.com/questions/483 ... d#48579743

Post Reply