Java on ds508, failed due to glibc version

Discuss with the community any ideas you'd love to see in future DiskStations and DSM updates! We do our best to monitor and forward all of them, but we recommend to also use this form as our team will systematically see your suggestion:
https://www.synology.com/form/inquiry/feature
Forum rules
We've moved! Head over to Synology Community (community.synology.com) to meet up with our team and other Synology enthusiasts!
gregoire
Versed
Versed
Posts: 263
Joined: Sun Oct 29, 2006 9:51 pm

Java on ds508, failed due to glibc version

Unread post by gregoire » Fri Mar 20, 2009 11:26 pm

I tried installing java on my ds508. I used Sun's Java SE embedded for e500v2 (which is exactly the processor f the ds508). i installed it but it wouldn't work because the correct GLIBC version would be GLIBC_2.4 while GLIBC_2.3.4 is installed on the machine.

Therefore my request is to have the old glibc 2.3.4 library upgraded to (at least) glibc 2.4. Available through ipkg would be nice too (I think).
Any idea when that will happen?
DS-508, DS214Play
Samung UE46C6900
Wireless network.

gregoire
Versed
Versed
Posts: 263
Joined: Sun Oct 29, 2006 9:51 pm

Re: Java on ds508, failed due to glibc version

Unread post by gregoire » Wed Mar 25, 2009 4:01 pm

Wow...nobody?!
DS-508, DS214Play
Samung UE46C6900
Wireless network.

gregoire
Versed
Versed
Posts: 263
Joined: Sun Oct 29, 2006 9:51 pm

Re: Java on ds508, failed due to glibc version

Unread post by gregoire » Sat Jul 25, 2009 9:55 pm

Glibc upgrade anybody?
DS-508, DS214Play
Samung UE46C6900
Wireless network.

gregoire
Versed
Versed
Posts: 263
Joined: Sun Oct 29, 2006 9:51 pm

Re: Java on ds508, failed due to glibc version

Unread post by gregoire » Sat Dec 04, 2010 1:23 pm

Sun has been taken over by oracle. I'll try it again but i bet the issue's will stay the same.
DS-508, DS214Play
Samung UE46C6900
Wireless network.

mfaine
Novice
Novice
Posts: 56
Joined: Mon Jan 10, 2011 12:15 am

Re: Java on ds508, failed due to glibc version

Unread post by mfaine » Mon Jan 17, 2011 11:19 pm

Did you ever find a solution for this/a way to get glibc 2.4?

gregoire
Versed
Versed
Posts: 263
Joined: Sun Oct 29, 2006 9:51 pm

Re: Java on ds508, failed due to glibc version

Unread post by gregoire » Tue Jan 18, 2011 2:52 pm

When I looked into it, it's not possible unless you break dependencies. The OS Synology uses has to be recompiled to use it. If they ever do they should use the latest glibc..unfortunately the catch is that it might not run on a low spec NAS machine. Since my NAS is ppc based there's an alternative in OpenJDK. This has been compiled for the ppc architecture but for the debian environment so it won't "fit" 1 on 1. I'd like to have java because it would open up a lot of possibilities. Synology has to be willing to look into this but their solutions have many cpu architectures which could make it a difficult taks to roll out for every one of them.
DS-508, DS214Play
Samung UE46C6900
Wireless network.

cejka
Beginner
Beginner
Posts: 26
Joined: Fri Nov 26, 2010 1:26 pm

Re: Java on ds508, failed due to glibc version

Unread post by cejka » Wed Sep 21, 2011 8:23 am

+1

I have DS-209+ and DS-209+II with PPC e500 architecture. I think I'll not buy Synology's NAS solution in the future because of this and similar problem's with packages and compatibility of the CPU the used. I'm not geek and have no time to spend on solving NAS CPU compatibility problem. What I need is Qmail, Java, Apache Tomcat, Subversion, SASL, LDAP, Samba, VPN, DLNA and many others and finally storage as RAID. I'm considering that I build own server based on Intel Atom mini-ITX board which will primary be x86 compatible with Debian as OS. But is long way for me and many things to learn.

cejka
Beginner
Beginner
Posts: 26
Joined: Fri Nov 26, 2010 1:26 pm

Re: Java on ds508, failed due to glibc version

Unread post by cejka » Wed Sep 21, 2011 9:14 am

just found this blog post, from Alexandre Richonnier, hope it helps, if I have time, I'll try what he wrote.

http://www.hera.cc/2010/11/installer-ja ... ogy-ds210/

cejka
Beginner
Beginner
Posts: 26
Joined: Fri Nov 26, 2010 1:26 pm

Re: Java on ds508, failed due to glibc version

Unread post by cejka » Thu Sep 22, 2011 9:19 am

cejka wrote:just found this blog post, from Alexandre Richonnier, hope it helps, if I have time, I'll try what he wrote.

http://www.hera.cc/2010/11/installer-ja ... ogy-ds210/
I test it on my Synology DS-209+ and YES! It works! There are some inaccurancy in initDebChroot.sh script Alexandre present on his blog according to the tutorial. Right script according to his tutorial might look like this:

#!/bin/ash
mount -o bind /volume1/@local /opt
mount -o bind /dev /opt/dev
mount -o bind /proc /opt/proc
chroot /opt /bin/bash

But there is one unsolved problem. If you "exit" from chroot you are not in your original NAS environment so you have to manually reboot your NAS to get all changes back.

Locked

Return to “Feature Requests & Product Improvement Suggestions”