Open Daveyr opened 5 years ago
I should note that it's not surprising ls: cannot access './x10flasher_lib/swtlin/x86/*jar'
. This is because the correct folder should be .../x86_64/jar
. It's not obvious in the FlashTool script where to edit this though.
@Daveyer, Have exact same error as you got at start - just on Lubuntu 18.04.2 LTS.
Before I found your ticket I thought it is about installed glibcc in my system:
lino@lu18:~/bin$ ldd --version
ldd (Ubuntu GLIBC 2.27-3ubuntu1) 2.27
Copyright (C) 2018 Free Software Foundation, Inc.
This is free software; see the source for copying conditions. There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
Written by Roland McGrath and Ulrich Drepper.
lino@lu18:~/bin$
Is your second entry "kind of solution"? If so could you point me which line to change in the script?
Cheers lin0lin0
No, my second entry wasn't a solution although I thought it might be helpful information for someone to help me. The error message said it was trying to find a file path that simply isn't part of the installation. I tried to edit the script to point at the correct folder but this did not work for me.
If you want to try for yourself I used nano to edit the script and searched for the file path that matched the error message. I changed it to match the folder structure that the installation has. Let me know if you succeed! On 2 Sep 2019 18:02, "lin0lin0" notifications@github.com wrote:
@Daveyer, Have exact same error as you got at start - just on Lubuntu 18.04.2 LTS.
Before I found your ticket I thought it is about installed glibcc in my system:
lino@lu18:~/bin$ ldd --version ldd (Ubuntu GLIBC 2.27-3ubuntu1) 2.27 Copyright (C) 2018 Free Software Foundation, Inc. This is free software; see the source for copying conditions. There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. Written by Roland McGrath and Ulrich Drepper. lino@lu18:~/bin$
Is your second entry "kind of solution"? If so could you point me which line to change in the script?
Cheers lin0lin0
— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/Androxyde/Flashtool/issues/121?email_source=notifications&email_token=AGJFVRP255G3C45FANHEFOTQHVBLLA5CNFSM4IIKRW7KYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOD5WINKQ#issuecomment-527206058, or mute the thread https://github.com/notifications/unsubscribe-auth/AGJFVRPBPJ4OP2Q2ZLDDNZLQHVBLLANCNFSM4IIKRW7A .
Hi, if you have a working openjdk 12 on Ubuntu 18.04, use it in place of the bundled one. It seems the bundled one (taken right from openjdk website) is built against a more recent GLIBC than the one you have in your system
Tried openjdk 13 on Ubuntu 18 ... Same error.
I get a similar error on Debian 10.
Error: dl failure on line 603
Error: failed /home/lamarca/Downloads/FlashTool/x10flasher_native/jre/lib/server/libjvm.so, because /lib/x86_64-linux-gnu/libm.so.6: version `GLIBC_2.29' not found (required by /home/lamarca/Downloads/FlashTool/x10flasher_native/jre/lib/server/libjvm.so)
Tried openjdk 13 on Ubuntu 18 ... Same error.
Hi, did you try these steps?
export JAVA_HOME=/usr/lib/jvm/java-11-openjdk-amd64
After that I am able to launch the app.
can confirm.
3. Change the line that points to the JAVA Home: #export JAVA_HOME=$working_dir/x10flasher_native/jre export JAVA_HOME=/usr/lib/jvm/java-11-openjdk-amd64
After that I am able to launch the app.
Hello, I am facing the same issue, been running Flashtool on Windows OK for a while, but it seems like the Linux variant is more picky? Not running as root but Sony/SonyEriccson Vendor ID found on your udev rules if Flashing didn't work well, run flashtool as root Error: dl failure on line 534 Error: failed /home/ruhan/Downloads/flashtool/FlashTool/x10flasher_native/jre/lib/server/libjvm.so, because /lib/x86_64-linux-gnu/libm.so.6: version `GLIBC_2.27' not found (required by /home/ruhan/Downloads/flashtool/FlashTool/x10flasher_native/jre/lib/server/libjvm.so)
I have installed OpenJDK 11 JRE as @stevenengland mentioned, but still no dice. Also exported the JAVA_HOME env variable. Tried it with Ubuntu 20.04 as well, it then complains about the same, but GLIBC 2.32.
Remember to also remove the "$working_dir/" if using the one on the system. :)
If the system one is too old and it says:
Error: LinkageError occurred while loading main class gui.Main java.lang.UnsupportedClassVersionError: gui/Main has been compiled by a more recent version of the Java Runtime (class file version 59.0), this version of the Java Runtime only recognizes class file versions up to 55.0
You can download v15 from https://jdk.java.net/ put the extracted jdk-15.0.1 folder in the FlashTool folder and use
export JAVA_HOME=$working_dir/jdk-15.0.1
Edit: (For Sony Xperia Z3 compact)
If you are putting in your unlock code and get:
FAILED (remote: Incorrect format for unlock data. Should be on the form "0x)
Add 0x in front of your code as per
oem unlock 0xYOURCODE
It helped, i could run This tool.
@comradekingu this answer worked in Ubuntu 20.04, but folder name was jdk-15
I am running Ubuntu 18.04.2 LTS with 64-bit Java installed. I have successfully unzipped the 0.9.26.0 Linux version of the software from the flashtool.net site.
When running ./FlashTool as root I receive the following error:
There is an odd reference here to GLIBC_2.29. What does it mean? I have verified that there is a valid file called
/lib/x86_64-linux-gnu/libm.so.6
but I cannot verify its version.