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

"libicui18n.so.60: cannot open shared object file: No such file or directory" on Linux #112

Closed
mitchcurtis opened this issue Mar 17, 2019 · 6 comments

Comments

@mitchcurtis
Copy link
Owner

Users have reported the following error on Mint and Solus distributions:

error while loading shared libraries: libicui18n.so.60: cannot open shared object file: No such file or directory

I saw a similar issue with another Qt application a while back:

https://bugreports.qt.io/browse/QDS-455

@mitchcurtis
Copy link
Owner Author

Upon installing a newer version of libicui18n.so.60, one user gets another error:

./Slate: error while loading shared libraries: libpng16.so.16: cannot open shared object file: No such file or directory

@mitchcurtis
Copy link
Owner Author

According to the comments in AIIX/Mycroft-Ai-QtApplication#4, one of solving this is to bundle libicui18n and libpng with the app. I'm not using linuxdeployqt though, and I'm building statically...

@mitchcurtis
Copy link
Owner Author

I've been told that the easiest way to fix this is indeed to ship the ICU libs with the app. This will require wrapping Slate in a shell script which sets LD_LIBRARY_PATH beforehand.

@mitchcurtis
Copy link
Owner Author

It seems that I can actually run a dynamically-built Slate deployed with linuxdeployqt without problems now, so I think I'll try that instead, as it will allow me to use pre-built binaries in the future:

4bede2b

As a bonus side effect of this, it seems that linuxdeployqt correctly deploys the ICU libraries, so that patch should fix this.

@LJNIC
Copy link

LJNIC commented Apr 7, 2019

The newest released fixed this problem for me, thank you! 👍

@mitchcurtis
Copy link
Owner Author

Good to hear! Thanks for the feedback!

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

No branches or pull requests

2 participants