-
Notifications
You must be signed in to change notification settings - Fork 8
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
/usr/lib/libhogweed.so.4: undefined symbol: __gmpn_cnd_sub_n #3
Comments
My assumption here: it loads libhogweed from the system instead of the AppImage, perhaps it already has loaded an incompatible version libgmp from within the AppImage? Bundle libhogweed with all its dependencies and see if that fixes it. |
Thanks @darealshinji |
This comment has been minimized.
This comment has been minimized.
Hi @darealshinji, Bundling libhogweed inside AppImage doesn't fix problem. We'll investigate it. Thank you for your approach. |
On Fedora 28 I have the same error
|
The same thing happened on Manjaro deepin for me. What's the problem? Is it fixed? |
+1 with AppImage on ArchLinux |
|
You bundle |
Hi, We really need to have a fixed package, Appimage or RPM/DEB because, at this time, there is no way to startup OnlyOffice on Fedora 29. Any chance to see it working soon ? |
@metal3d you can use https://gitlab.com/nixtux-packaging/appimage2pkg to build an RPM for Fedora from Appimage. that script already deletes ./usr/bin/libgmp.so* |
Thanks @mikhailnov, but unfortunately the built RPM is not correct:
And I guess it will have the same problem than ONLYOFFICE/DesktopEditors#146 for Fedora 29. |
Libcurl gnutls works in the appimage 9n ALT Linux, where libcurls is also built without gnutls. |
Why would anyone want to do that? Users can extract an AppImage directly using
The proper fix would be to do this in whatever script builds the AppImage in the first place. |
Because onlyoffice has not been able to make a good linux build since the first public version of onlyoffice.
Onlyoffice has long been talking about linux but their builds have always had errors, so I wouldn't wait for a propper solution. |
More than that, when desktop editors were released, you wrote that you want different linux distributions to include onlyoffice. About 3 years have passed. Desktopeditors are reported to be unbuildable from source. |
@metal3d Fixed in appimage2pkg v1.2 |
So to be clear: The authors of https://github.com/ONLYOFFICE/appimage-desktopeditors need to delete cc @agolybev |
No,, that's not a solution. |
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
Can confirm - this is still an issue on Arch based distros as of today. This installation breaking bug was posted over a year ago :S |
Can also confirm on Fedora Silverblue 30. |
There is also a similar issue on latest build (v5.3.5), which the terminal shows this message:
BTW, my machine is running Ubuntu-based Pop!OS. |
Is libgmp being bundled? What happens if it is removed from the AppImage? Reference: |
Yes, after removed libgmp* inside the extracted AppImage, it runs. So will be not including libgmp* is the solution for future AppImage releases? |
Can we reasonably expect libgmp* to come as part of the default installation of all major Linux distributions? |
Here are reverse dependencies - all packages that depend from libgmp in ROSA 2016.1 repositories:
or in form of source packages:
coreutils!
So, yes, we can expect libgmp to be a part of default installations of most GNU/Linux distributions. |
Thanks for your analysis. Added to the list of libraries that are recommended not to be bundled inside AppImages. |
I did a file search on both library files "libhogweed*" (this issue's topic) , "libgnutls*" and "libgmp*" (I encountered) inside two freshly installed distro Solus 4.0 and Ubuntu 18.04 without installing extra dev dependencies.
Yep, they are all coming along as a part of both systems. This might can support the previous statement by @probonopd . @agolybev may take a look. |
same issue here, Fedora 31, AppImage v5.4.1
|
Again, please do not bundle |
Someone reports over at https://linuxfr.org/news/sortie-des-applications-de-bureau-de-onlyoffice-en-version-5-1-au-format-appimage:
Seems we had a similar issue with libhogweed here, maybe @darealshinji has an idea what needs to be done to fix this.
The text was updated successfully, but these errors were encountered: