Skip to content
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

libstdc++.so.6 on Ubuntu 14.04 LTS #51

Closed
rananthan3 opened this issue Feb 15, 2017 · 2 comments
Closed

libstdc++.so.6 on Ubuntu 14.04 LTS #51

rananthan3 opened this issue Feb 15, 2017 · 2 comments

Comments

@rananthan3
Copy link

I untarred the file and tried to start the program but got a dependency error on Linux

./QuPath: /usr/lib/x86_64-linux-gnu/libstdc++.so.6: version `GLIBCXX_3.4.21' not found (required by ./QuPath)

I ran sudo apt-get install libstdc++6

libstdc++6 is already the newest version.

Any idea what may be causing the issue?

Appreciated.

@petebankhead
Copy link
Member

I'm afraid I don't have much experience of handling dependencies on Linux. There is a little more information the binaries were created at #2

Basically I compiled it on Ubuntu 16.04 and have not tested it on 14.04.

The possibilities that I can think of that might help would be:

  • Try a newer version of Ubuntu if possible.
  • Make sure Java is installed in Ubuntu. I don't think this should be necessary (since it is included in the QuPath download)... but perhaps.
  • Try removing any .jar files connected to OpenSlide / OpenCV / JInput / JPen from within QuPath (the libraries should be mentioned in the qupath-***.jar file name). Apart from the Java Runtime Environment (JRE) itself, these are the parts that depend on native libraries. QuPath should still work without them, but will miss some features - such as whole slide image handling and classification. If the JRE is not the problem then hopefully this would enable QuPath to start, and you can recover some of the missing functionality by downloading extensions that don't require native libraries.
  • Try compiling QuPath from source from within Eclipse. You may find this easier to set up using Oracle's Java Development Kit than OpenJDK... but both should work.
  • Try launching QuPath from the command line, setting the java.library.path variable and possibly using a different JRE if required... figuring out how to do this could be tricky, although this may help a little bit.

I hope something in there might be useful. If you are able to find a solution, it would be great if you could post it here.

@rananthan3
Copy link
Author

Thanks for your suggestions. I found another computer and installed 16.04. It ran without any issue.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants