-
Notifications
You must be signed in to change notification settings - Fork 5
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Cannot launch Linux binary #10
Comments
We have not tested GUI TreeScaper on Debian yet. We tested GUI TreeScaper on Ubuntu. |
Hi Joseph! Thanks for taking the time to give us feedback on this. We will try to get the binary working for you as we still need to update the instructions on compiling the gui. It seems that the Ubuntu machines that we tested TreeScaper on all had Qt5 installed. TreeScaper has been linked to shared Qt5 libraries that are neither provided with the release or installed on your system. I have recreated your problem by uninstalling libqt5printsupport5 on my Ubuntu machine. A quick fix would be for you to install Qt5: https://wiki.qt.io/Install_Qt_5_on_Ubuntu. Sorry, the instructions are for Ubuntu, but I guess you can figure out how to do this in Debian. Will you install that and tell us if you can get the binary to run? Wen, see that you created a startup script "TreeScaper.sh" that adds the TreeScaper directory containing Qt5 libraries to the LD_LIBRARY_PATH, but it seems that all the shared Qt libraries necessary werent included. Dont we need to include all the Qt5 shared libraries and maybe other shared libraries in the release (like those mentioned here: http://doc.qt.io/qt-5/linux-deployment.html). Or could we link the application to static Qt libraries? Here are the libraries TreeScaper depends on:
|
Thanks @jrash! Ubuntu instructions typically work for debian. I'll give it a try later on today. |
You probably do not need to worry about setting up the compiler or the file associations, so you might try skipping those bits at first. You just need to make sure all the needed packages are installed. |
Before you install Qt5, will you run 'ldd ./TreeScaper' in your TreeScaper directory and post the results here? This will show us what shared libraries you are missing. |
Sure:
|
Interesting. It seems like you have libQt5PrintSupport.so.5 in /usr/lib folder so the dynamic linker should find it. Have you installed Qt5 already? Do you still get this error when trying to run the binary:
It seems that only the icu54 libraries are missing. Installing the package libicu-dev installs the icu libraries that I need on my Ubuntu machine, so you might try that. If that doesnt work, the most direct way to fix this is to install them manually here: http://www.linuxfromscratch.org/blfs/view/7.7/general/icu.html I am also seeing people say that reinstalling qt5 using apt has worked for them, so you might try: It is curious that those libraries are required for you, but are not required for me. |
I only installed:
Perhaps qt5 was a dependency? I apparently already have libicu-dev installed:
so I am not sure what the problem is. I will try some more tomorrow. |
Did you run TreeScaper on the TreeScper directory? If you run TreeScaper from other directory, TreeScaper may not look for dependencies and files from the correct directory. |
I think I just double-clicked it. |
This is what I get:
Here is my OS infor:
The text was updated successfully, but these errors were encountered: