Page 1 of 1

Unable to use Serviio 1.8.32 with JRE 8.101

PostPosted: Fri Mar 24, 2017 11:36 pm
by DEJ710
Hi zip,

What would cause Serviio not to run after installing JRE 8.101?

engine_error.log shows problems with shared libraries libdl.so wrong class ELF expecting ELFCLASS32.

How do I fix this please?

Re: Unable to use Serviio 1.8.32 with JRE 8.101

PostPosted: Mon Mar 27, 2017 7:07 pm
by zip
it looks like a problem with the JRE - some 32 vs 64 bit compilation.

Re: Unable to use Serviio 1.8.32 with JRE 8.101

PostPosted: Tue Mar 28, 2017 10:40 am
by DEJ710
zip wrote:it looks like a problem with the JRE - some 32 vs 64 bit compilation.


Hi zip,

Here is the full error message.

/share/CACHEDEV1_DATA/.qpkg/JRE/jre/bin/java: error while loading shared libraries: libdl.so.2: wrong ELF class: ELFCLASS32

Re: Unable to use Serviio 1.8.32 with JRE 8.101

PostPosted: Tue Mar 28, 2017 2:41 pm
by zip
yes... so that is somethiing wrong with the JRE package.... maybe try to remove Java and add it again?

Re: Unable to use Serviio 1.8.32 with JRE 8.101

PostPosted: Wed Mar 29, 2017 7:46 am
by DEJ710
I have already tried that several times.

Are you able to test this at all?
Also, will the next version of Serviio include a bundled JRE like you did for the windows version?

Re: Unable to use Serviio 1.8.32 with JRE 8.101

PostPosted: Wed Mar 29, 2017 6:58 pm
by zip
No, it won't include bundled JRE on QNAP. I don't have 4.3 yet, so can't test.

Re: Unable to use Serviio 1.8.32 with JRE 8.101

PostPosted: Thu Mar 30, 2017 7:46 am
by DEJ710
I don't have 4.3 either - only 4.2.4.

If I upgrade to 4.3 will this fix the problem then?

Re: Unable to use Serviio 1.8.32 with JRE 8.101

PostPosted: Thu Mar 30, 2017 8:05 am
by zip
No idea, maybe, as 4.3 is 64 bit AFAIK.

I assume that just executing java in SSH on the NAS gives you this error.

Re: Unable to use Serviio 1.8.32 with JRE 8.101

PostPosted: Wed Apr 19, 2017 1:01 pm
by RMcV
@DEJ710

Yes, upgrade to OS 4.3.., install JRE 8.101, uninstall 32-bit Serviio, install 64-bit Serviio and you will be good to go.

I think your problem is that JRE 8.101 is 64-bit and your old Serviio is 32-bit. Do the steps I mention above and your problems should be gone.

Re: Unable to use Serviio 1.8.32 with JRE 8.101

PostPosted: Sun Apr 23, 2017 12:29 am
by DEJ710
@RMcV

Thanks for your response.

I updated to qts 4.3.3, JRE 8.101 and Serviio 1.8.64 last night and here's what I did:
1. Update to qts 4.3.3
2. Update JRE to 8.101
3. Upgrade Serviio to 1.8.64 (Install over the top) using download from serviio download link

Serviio is still functioning and my library is still in tact