ToME: the Tales of Maj'Eyal
http://forums.te4.org/

Broken on Fedora24
http://forums.te4.org/viewtopic.php?f=44&t=46897
Page 1 of 1

Author:  PeterW [ Tue Nov 08, 2016 8:21 am ]
Post subject:  Broken on Fedora24

The problem appears to be a now missing libgcrypt.so.11.

Any chance of bundling that in lib/lib64 ?. I've tried installing an older compat-libgcrypt, but no joy there.

Thanks
Pete

Author:  darkgod [ Tue Nov 08, 2016 8:44 am ]
Post subject:  Re: Broken on Fedora24

Fuuuuuu.... :/
I'll see what I can do yeah; in the meantime just move away libte4-web.so and it should start

Author:  PeterW [ Thu Nov 10, 2016 6:30 am ]
Post subject:  Re: Broken on Fedora24

Thanks. Annoying huh ?

And no, moving libte4-web.so isn't sufficient, it just dies for other reasons. It's linked normally, you'd need to be using dlopen()/dlsym() to make that trick work.

WebCore config: library(/usr/local/src/t-engine4-linux64-1.4.9/lib64/libte4-web.so) spawn(/usr/local/src/t-engine4-linux64-1.4.9/cef3spawn64)
Loading WebCore: Failed loading /usr/local/src/t-engine4-linux64-1.4.9/lib64/libte4-web.so: /usr/local/src/t-engine4-linux64-1.4.9/lib64/libte4-web.so: cannot open shared object file: No such file or directory

Pete

Author:  darkgod [ Thu Nov 10, 2016 9:32 am ]
Post subject:  Re: Broken on Fedora24

Yeha it should indeed say loading webcore doesnt work and it IS loaded by dlopen.
Post a full log please, along with gdb trace if it's a crash

Author:  PeterW [ Fri Nov 11, 2016 6:41 am ]
Post subject:  Re: Broken on Fedora24

tome4 (Script that sets LD_LIBRARY_PATH)
WebCore config: library(/usr/local/src/t-engine4-linux64-1.4.9/lib64/libte4-web.so) spawn(/usr/local/src/t-engine4-linux64-1.4.9/cef3spawn64)
Loading WebCore: Failed loading /usr/local/src/t-engine4-linux64-1.4.9/lib64/libte4-web.so: libgcrypt.so.11: cannot open shared object file: No such file or directory
[CPU] Detected 4 CPUs
OpenAL device available: PulseAudio Software (default PulseAudio Software)
OpenAL device available: ALSA Software (default PulseAudio Software)
Available video driver: x11
Available video driver: dummy
X Error of failed request: BadValue (integer parameter out of range for operation)
Major opcode of failed request: 153 (GLX)
Minor opcode of failed request: 3 (X_GLXCreateContext)
Value in failed request: 0x0
Serial number of failed request: 79
Current serial number in output stream: 80
AL lib: ALc.c:1879: exit(): closing 1 Device
AL lib: ALc.c:1808: alcCloseDevice(): destroying 1 Context(s)


Doesn't appear to be a crash, it isn't happy admitted but it looks like a more or less normal shutdown.

ldd libte4-web.so | grep libgcr
libgcrypt.so.11 => not found
libgcrypt.so.20 => /lib64/libgcrypt.so.20 (0x00007fe0483db000)

As it's still linked against libgcrypt.so.11 the loader won't allow things to go further. At least that's my read of that.

And it's definitely a change on my machine that's tripped this, 1.4.8 and 1.4.9 were both running. As far as I'm aware though, just normal Fedora updates caused the problem.

Launch script:
...........
cd /usr/local/src/t-engine4-linux64-1.4.9
export LD_LIBRARY_PATH=/usr/local/src/t-engine4-linux64-1.4.9/lib64
taskset -c 0,1 ./t-engine
........
:) The taskset because it's been known to be a hungry and unkillable beast on occasions

Author:  darkgod [ Fri Nov 11, 2016 10:39 pm ]
Post subject:  Re: Broken on Fedora24

Hum but you didnt move away libte4-web.so in this case no ?

Author:  PeterW [ Fri Nov 11, 2016 11:39 pm ]
Post subject:  Re: Broken on Fedora24

Sorry, with it removed. In practice no difference to the outcome.

[peterw@ibm t-engine4-linux64-1.4.9]$ ./t-engine
WebCore config: library(/usr/local/src/t-engine4-linux64-1.4.9/lib64/libte4-web.so) spawn(/usr/local/src/t-engine4-linux64-1.4.9/cef3spawn64)
Loading WebCore: Failed loading /usr/local/src/t-engine4-linux64-1.4.9/lib64/libte4-web.so: /usr/local/src/t-engine4-linux64-1.4.9/lib64/libte4-web.so: cannot open shared object file: No such file or directory
[CPU] Detected 4 CPUs
OpenAL device available: PulseAudio Software (default PulseAudio Software)
OpenAL device available: ALSA Software (default PulseAudio Software)
Available video driver: x11
Available video driver: dummy
X Error of failed request: BadValue (integer parameter out of range for operation)
Major opcode of failed request: 153 (GLX)
Minor opcode of failed request: 3 (X_GLXCreateContext)
Value in failed request: 0x0
Serial number of failed request: 79
Current serial number in output stream: 80
AL lib: ALc.c:1879: exit(): closing 1 Device
AL lib: ALc.c:1808: alcCloseDevice(): destroying 1 Context(s)

No idea what's causing this and I'll concede, that may be the actual cause of the shutdown rather than the lack of libte4-web.so
X Error of failed request: BadValue (integer parameter out of range for operation)

Author:  PeterW [ Sat Nov 12, 2016 12:39 am ]
Post subject:  Re: Broken on Fedora24

Just a comment. I'd suggest removing the dependency on the old libgcrypt if you can anyway.

However I'm going to take the easy option here and install ubuntu to resolve this :)

I have the luxury of having set up my machine so everything but the OS is mounted from a file server so that's an easy option for me.

Thanks
Pete

======================

Yeah, that fixed it. I still think that dependency on an out of date libgcrypt is wrong but ...

Thanks again
Pete

Page 1 of 1 All times are UTC
Powered by phpBB® Forum Software © phpBB Group
https://www.phpbb.com/