-
Notifications
You must be signed in to change notification settings - Fork 29
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
./x2t: error while loading shared libraries: libgraphics.so: cannot open shared object file: No such file or directory #195
Comments
can you send this one line of your FIX? I would also like to use that until it is officially fixed |
I am sorry, I am not allowed to provide a patch directly for reasons. But it's easy to make the change yourself. The last argument to |
The PHP manual explains the array syntax and provides examples. You can define the array inline, making it a true one-line change. |
Thank you! |
Yep, that's all it takes. |
That´s a really easy fix. Thanks a lot for sharing!!! |
I tried your solution and I changed this line as follows: Unfortunately your solution doesn't work for me I used the find / -name command to search for and found the libgcc_s.so.1 object under /usr/lib/aarch64-linux-gnu/ and exported it but still doesn't work does anyone have any ideas? |
@alghanim-lab you can change
to:
Worked for me (but I have other issues...). My environment is a PHP-FPM chrooted, hence the same issue (I think). |
Hi, all this solutions don't work for me and after a while, this work with : Hope this can help some people ! |
hmm... this way you have executable code which is not maintained by the package manager somewhere in the system. The proper solution would be to include those directories into |
This issue has been marked 'stale' due to lack of recent activity. If there is no further activity, the issue will be closed in another 60 days. Thank you for your contribution! Retaking repo management include inheritance of old, not treated, and probablty obsolete issues, this is why it was decided to mark issues as stale. |
The issue persists to this date. It's not stale/obsolete. |
This issue should now be fix in v0.1.19 |
Since the upgrade to Nextcloud 20.0 and Community Document Server 0.1.8, any attempt to access a document results in "ONLYOFFICE cannot be reached. Please contact admin." The log says that this is because the
x2t
binary cannot findlibgraphics.so
. The two files actually reside in the same directory, but apparently the library search path was not set, sox2t
cannot find the library it needs. SettingLD_LIBRARY_PATH=.
allows the binary to run. You can verify this on the command line.Without setting
LD_LIBRARY_PATH
: FailureWith
LD_LIBRARY_PATH=.
: SuccessThe fix would be to pass the correct
LD_LIBRARY_PATH
in ConverterBinary.php line 51. I quickly hacked this for myself by settingLD_LIBRARY_PATH
to.
, but the proper fix may be to derive the value from a path constant somewhere - I will leave it to those experienced with this project to develop a patch. This one-line hack was sufficient to get my Nextcloud working again though.The text was updated successfully, but these errors were encountered: