Java on ds508, failed due to glibc version

Got a suggestion for future Synology products? Suggest it here!
We'll forward your idea to our RD department.

Java on ds508, failed due to glibc version

Postby 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
Samung UE46C6900
Wireless network.
gregoire
Versed
Versed
 
Posts: 245
Joined: Sun Oct 29, 2006 9:51 pm

Re: Java on ds508, failed due to glibc version

Postby gregoire » Wed Mar 25, 2009 4:01 pm

Wow...nobody?!
DS-508
Samung UE46C6900
Wireless network.
gregoire
Versed
Versed
 
Posts: 245
Joined: Sun Oct 29, 2006 9:51 pm

Re: Java on ds508, failed due to glibc version

Postby gregoire » Sat Jul 25, 2009 9:55 pm

Glibc upgrade anybody?
DS-508
Samung UE46C6900
Wireless network.
gregoire
Versed
Versed
 
Posts: 245
Joined: Sun Oct 29, 2006 9:51 pm

Re: Java on ds508, failed due to glibc version

Postby 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
Samung UE46C6900
Wireless network.
gregoire
Versed
Versed
 
Posts: 245
Joined: Sun Oct 29, 2006 9:51 pm

Re: Java on ds508, failed due to glibc version

Postby mfaine » Mon Jan 17, 2011 11:19 pm

Did you ever find a solution for this/a way to get glibc 2.4?
mfaine
Rookie
Rookie
 
Posts: 39
Joined: Mon Jan 10, 2011 12:15 am

Re: Java on ds508, failed due to glibc version

Postby 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
Samung UE46C6900
Wireless network.
gregoire
Versed
Versed
 
Posts: 245
Joined: Sun Oct 29, 2006 9:51 pm

Re: Java on ds508, failed due to glibc version

Postby 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

Postby 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

Postby 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.
cejka
Beginner
Beginner
 
Posts: 26
Joined: Fri Nov 26, 2010 1:26 pm


Return to Feature Requests & Product Improvement Suggestions

Who is online

Users browsing this forum: No registered users and 4 guests