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
jitsi fails to find libjawt.so on ubuntu linux using the provided packages #400
Comments
This can't be a generic problem:
We'll also need your entire logs. Or, at the very least:
|
The problem seems to be rather common. Searching jitsi and libjawt on google returns many results. Interestingly, if you look at bug reports for many distros, even when reporting other problems, if the stderr output is included you see that there was a failure in finding libjawt.so. For instance: http://users.sip-communicator.dev.java.narkive.com/1In2eKM6/jitsi-users-jitsi-can-draw-no-graphics-on-ubuntu-12-04 Incidentally, I am on Kubuntu 17.04. I think I was wrong in stating in my first report that the jitsi startup script fails to "re-" add the the jre library path to LD_LIBRARY_PATH, since it is evidently not included from the beginning. From
where the If I look at the jitsi logs, I get
Jitsi is at version Hope this helps... |
I would like to mention also https://bbs.archlinux.org/viewtopic.php?id=124432 which is an old bug to an unrelated piece of java software showing exactly the same issue with the same workaround. |
I have the same problem (resolved by the same fix) ... and that happened suddenly. It used to work, and this morning, it wasn't anymore. |
issue that in the Terminal and then start
Yes, because there, Java 8 is the default runtime environment. On newer Ubuntu (with their newer default Java versions; even when those newer versions are not installed), Java 8 is not in the default path for shared libraries. I fixed this with the following patch:
and re-builded that shared library within LibJitsi:
For those interested to compile Jitsi Desktop themselves, see this thread… however, the export command above should be enough for those who simply want to use Jitsi Desktop in Ubuntu 18.04 LTS and Debian Stretch. This patch is just for developers. |
Thanks for proposing a solution, @traud. I have Jitsi installed as instructed here and executed your code:
However, I get the following error, when executing Jitsi from the terminal:
Any idea? |
If you are unsure, I recommend to create a new issue. Later, issues can be closed/redirected = merged. However, splitting of issues is still complicated in GitHub. In your case, I have no idea. One approach would be to post much more information, for example, what happens when you enter
Furthermore, your Linux distribution (Ubuntu, Debian, …) and its version would be interesting. Then, an enthusiastic user might try to reproduce your scenario. If the default Java Runtime Environment is not Java 8, you are able to change the default for example via
If you want to stick with your current Java version, you have to use another path for LD_LIBRARY_PATH, or not using it at all (if you are using |
Keunes, which Linux distribution do you use? Which Java Runtime Environment was your default? |
Launching jitsi on debian/ubuntu results in an error being reported on stderr:
This seems to be caused by the fact that the jitsi startup shell script
/usr/bin/jitsi
changes the LD_LIBRARY_PATH and forgets to re-add the jre library path (that isusr/lib/jvm/java-8-openjdk-amd64/jre/lib/amd64/
in my system) to it.Editing the script to assure that the jre library path is included in LD_LIBRARY_PATH prevents the "SEVERE" error from being issued at startup.
I have experimented by editing
/usr/bin/jitsi
to addusr/lib/jvm/java-8-openjdk-amd64/jre/lib/amd64/
to LD_LIBRARY_PATH and this works. For the sake of rapidity, I have used a hardwired path, but the script should probably look at which jre is being used and where its lib dir is in the filesystem.The text was updated successfully, but these errors were encountered: