Page 1 of 1

1.6 Linux64 executable won't launch

Posted: Thu Oct 24, 2019 11:00 pm
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.

Re: 1.6 Linux64 executable won't launch

Posted: Thu Oct 24, 2019 11:14 pm
by Mankeli
...and seems I'm not alone on this http://forums.te4.org/viewtopic.php?f=42&t=50030

Re: 1.6 Linux64 executable won't launch

Posted: Fri Oct 25, 2019 12:36 am
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.

Re: 1.6 Linux64 executable won't launch

Posted: Fri Oct 25, 2019 12:43 am
by Teber2
installed 32 bits libs. no joy. would the real experts please look into this? thanx in advance.

Re: 1.6 Linux64 executable won't launch

Posted: Fri Oct 25, 2019 7:48 am
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

Re: 1.6 Linux64 executable won't launch

Posted: Fri Oct 25, 2019 7:59 am
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

Re: 1.6 Linux64 executable won't launch

Posted: Fri Oct 25, 2019 5:16 pm
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

Re: 1.6 Linux64 executable won't launch

Posted: Fri Oct 25, 2019 6:11 pm
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.

Re: 1.6 Linux64 executable won't launch

Posted: Fri Oct 25, 2019 9:49 pm
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!

Re: 1.6 Linux64 executable won't launch

Posted: Mon Jan 06, 2020 1:23 am
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.

Re: 1.6 Linux64 executable won't launch

Posted: Mon Jan 06, 2020 7:34 am
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?

Re: 1.6 Linux64 executable won't launch

Posted: Mon Jan 06, 2020 10:46 pm
by entropy
According to the Software Manager I do have the Zlib1g package installed.

Re: 1.6 Linux64 executable won't launch

Posted: Sat Mar 14, 2020 11:38 pm
by klapadock
A handy set of instructions on rolling your own is here:
https://stackoverflow.com/questions/483 ... d#48579743