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

libcurl-gnutls.so.4: cannot open shared object file #6

Closed
KAMiKAZOW opened this issue Oct 17, 2016 · 18 comments
Closed

libcurl-gnutls.so.4: cannot open shared object file #6

KAMiKAZOW opened this issue Oct 17, 2016 · 18 comments
Labels
confirmed-bug Issues with confirmed bugs fixed Issues that fixed and released

Comments

@KAMiKAZOW
Copy link

OS: Fedora 24
Installed from RPM download which claims to be for Fedora 24.

./DesktopEditors: error while loading shared libraries: libcurl-gnutls.so.4: cannot open shared object file: No such file or directory

@maxkadushkin
Copy link
Contributor

yes, there is such trouble with deployment on some linux distros

@K0R0L
Copy link
Member

K0R0L commented Nov 10, 2016

please download the new version and report the results

@dbuch
Copy link

dbuch commented Nov 16, 2016

@K0R0L Where is the new version? Is it ported away from the old curl open ssl version 3 protocol?

@K0R0L
Copy link
Member

K0R0L commented Dec 23, 2016

new version on site
http://www.onlyoffice.com/ru/download-desktop.aspx

@fchicout
Copy link

fchicout commented Dec 30, 2016

problem persists on Fedora 25... but with

cd /opt/onlyoffice/desktopeditors
sudo ln -s /usr/lib64/libcurl.so.4 libcurl-gnutls.so.4

it opens, but with some warnings,..

./DesktopEditors: ./libcurl-gnutls.so.4: no version information available (required by /opt/onlyoffice/desktopeditors/libascdocumentscore.so)

(DesktopEditors:15058): GdkPixbuf-WARNING **: Bug! gdk-pixbuf loader 'png' didn't set an error on failure.

** (DesktopEditors:15058): WARNING **: Pixbuf theme: Cannot load pixmap file /usr/share/themes/Adwaita-dark/gtk-2.0/assets/progressbar-horz-trough.png: Failed to load image '/usr/share/themes/Adwaita-dark/gtk-2.0/assets/progressbar-horz-trough.png': reason not known, probably a corrupt image file


(DesktopEditors:15058): GdkPixbuf-CRITICAL **: gdk_pixbuf_get_width: assertion 'GDK_IS_PIXBUF (pixbuf)' failed

(DesktopEditors:15058): GdkPixbuf-CRITICAL **: gdk_pixbuf_get_height: assertion 'GDK_IS_PIXBUF (pixbuf)' failed

** (DesktopEditors:15058): WARNING **: Invalid borders specified for theme pixmap:
        /usr/share/themes/Adwaita-dark/gtk-2.0/assets/progressbar-horz-trough.png,
borders don't fit within the image

(DesktopEditors:15058): GdkPixbuf-CRITICAL **: gdk_pixbuf_get_n_channels: assertion 'GDK_IS_PIXBUF (pixbuf)' failed

(DesktopEditors:15058): GdkPixbuf-CRITICAL **: gdk_pixbuf_get_pixels_with_length: assertion 'GDK_IS_PIXBUF (pixbuf)' failed

(DesktopEditors:15058): GdkPixbuf-CRITICAL **: gdk_pixbuf_get_rowstride: assertion 'GDK_IS_PIXBUF (pixbuf)' failed

(DesktopEditors:15058): GdkPixbuf-CRITICAL **: gdk_pixbuf_get_n_channels: assertion 'GDK_IS_PIXBUF (pixbuf)' failed

(DesktopEditors:15058): GdkPixbuf-CRITICAL **: gdk_pixbuf_get_pixels_with_length: assertion 'GDK_IS_PIXBUF (pixbuf)' failed

(DesktopEditors:15058): GdkPixbuf-CRITICAL **: gdk_pixbuf_get_rowstride: assertion 'GDK_IS_PIXBUF (pixbuf)' failed

(DesktopEditors:15058): GdkPixbuf-CRITICAL **: gdk_pixbuf_get_n_channels: assertion 'GDK_IS_PIXBUF (pixbuf)' failed

(DesktopEditors:15058): GdkPixbuf-CRITICAL **: gdk_pixbuf_get_pixels_with_length: assertion 'GDK_IS_PIXBUF (pixbuf)' failed

(DesktopEditors:15058): GdkPixbuf-CRITICAL **: gdk_pixbuf_get_rowstride: assertion 'GDK_IS_PIXBUF (pixbuf)' failed

(DesktopEditors:15058): GdkPixbuf-CRITICAL **: gdk_pixbuf_get_n_channels: assertion 'GDK_IS_PIXBUF (pixbuf)' failed

(DesktopEditors:15058): GdkPixbuf-CRITICAL **: gdk_pixbuf_get_pixels_with_length: assertion 'GDK_IS_PIXBUF (pixbuf)' failed

(DesktopEditors:15058): GdkPixbuf-CRITICAL **: gdk_pixbuf_get_rowstride: assertion 'GDK_IS_PIXBUF (pixbuf)' failed

(DesktopEditors:15058): GdkPixbuf-CRITICAL **: gdk_pixbuf_get_n_channels: assertion 'GDK_IS_PIXBUF (pixbuf)' failed

(DesktopEditors:15058): GdkPixbuf-CRITICAL **: gdk_pixbuf_get_pixels_with_length: assertion 'GDK_IS_PIXBUF (pixbuf)' failed

(DesktopEditors:15058): GdkPixbuf-CRITICAL **: gdk_pixbuf_get_rowstride: assertion 'GDK_IS_PIXBUF (pixbuf)' failed

(DesktopEditors:15058): GdkPixbuf-CRITICAL **: gdk_pixbuf_get_n_channels: assertion 'GDK_IS_PIXBUF (pixbuf)' failed

(DesktopEditors:15058): GdkPixbuf-CRITICAL **: gdk_pixbuf_get_pixels_with_length: assertion 'GDK_IS_PIXBUF (pixbuf)' failed

(DesktopEditors:15058): GdkPixbuf-CRITICAL **: gdk_pixbuf_get_rowstride: assertion 'GDK_IS_PIXBUF (pixbuf)' failed

(DesktopEditors:15058): GdkPixbuf-CRITICAL **: gdk_pixbuf_get_n_channels: assertion 'GDK_IS_PIXBUF (pixbuf)' failed

(DesktopEditors:15058): GdkPixbuf-CRITICAL **: gdk_pixbuf_get_pixels_with_length: assertion 'GDK_IS_PIXBUF (pixbuf)' failed

(DesktopEditors:15058): GdkPixbuf-CRITICAL **: gdk_pixbuf_get_rowstride: assertion 'GDK_IS_PIXBUF (pixbuf)' failed

(DesktopEditors:15058): GdkPixbuf-CRITICAL **: gdk_pixbuf_get_n_channels: assertion 'GDK_IS_PIXBUF (pixbuf)' failed

(DesktopEditors:15058): GdkPixbuf-CRITICAL **: gdk_pixbuf_get_pixels_with_length: assertion 'GDK_IS_PIXBUF (pixbuf)' failed

(DesktopEditors:15058): GdkPixbuf-CRITICAL **: gdk_pixbuf_get_rowstride: assertion 'GDK_IS_PIXBUF (pixbuf)' failed

(DesktopEditors:15058): GdkPixbuf-CRITICAL **: gdk_pixbuf_get_n_channels: assertion 'GDK_IS_PIXBUF (pixbuf)' failed

(DesktopEditors:15058): GdkPixbuf-CRITICAL **: gdk_pixbuf_get_pixels_with_length: assertion 'GDK_IS_PIXBUF (pixbuf)' failed

(DesktopEditors:15058): GdkPixbuf-CRITICAL **: gdk_pixbuf_get_rowstride: assertion 'GDK_IS_PIXBUF (pixbuf)' failed

(DesktopEditors:15058): GdkPixbuf-CRITICAL **: gdk_pixbuf_get_width: assertion 'GDK_IS_PIXBUF (pixbuf)' failed

(DesktopEditors:15058): GdkPixbuf-CRITICAL **: gdk_pixbuf_get_height: assertion 'GDK_IS_PIXBUF (pixbuf)' failed
[1229/235100:ERROR:browser_main_loop.cc(219)] Running without the SUID sandbox! See https://chromium.googlesource.com/chromium/src/+/master/docs/linux_suid_sandbox_development.md for more information on developing with the sandbox on.
/opt/onlyoffice/desktopeditors/DesktopEditors: ./libcurl-gnutls.so.4: no version information available (required by /opt/onlyoffice/desktopeditors/libascdocumentscore.so)
[1229/235132:ERROR:PlatformKeyboardEvent.cpp(84)] Not implemented reached in static bool blink::PlatformKeyboardEvent::currentCapsLockState()
[1229/235154:ERROR:PlatformKeyboardEvent.cpp(84)] Not implemented reached in static bool blink::PlatformKeyboardEvent::currentCapsLockState()
[1229/235154:ERROR:PlatformKeyboardEvent.cpp(84)] Not implemented reached in static bool blink::PlatformKeyboardEvent::currentCapsLockState()
/opt/onlyoffice/desktopeditors/converter/x2t: /lib64/libcurl.so.4: no version information available (required by /opt/onlyoffice/desktopeditors/converter/x2t)

@NeroMorto
Copy link

Same on Fedora 26.

@jonnjonzzn
Copy link

Works on F26 as per @fchicout suggestion above.

@tutunak
Copy link

tutunak commented Feb 4, 2018

Has this problem. FIx like @fchicout

@jonnyhoff
Copy link

Had this problem on F28. Fixed as per @fchicout.

@Nindaleth
Copy link

Nindaleth commented Jan 3, 2019

OnlyOffice crashed for me on Fedora 29 even with the workaround applied, but after the December 2018 update v5.2.4 it finally starts and runs (still needs the workaround, to be clear).

@xmbwd
Copy link

xmbwd commented Feb 2, 2019

OO crashes without ever starting with a fresh install (downloaded today, 02.02.2019) on Fedora 29.

Error:
./DesktopEditors: error while loading shared libraries: libcurl-gnutls.so.4: cannot open shared object file: No such file or directory

The workaround in this thread allows it to run.

@noraj
Copy link

noraj commented Feb 15, 2019

OS : ArchLinux
Product : ONLYOFFICE Desktop Editors version 5.2.83.480

When I try to connect to a ONLYOFFICE cloud using HTTPS:

./DesktopEditors: /usr/lib/libcurl-gnutls.so.4: no version information available (required by /opt/onlyoffice/desktopeditors/converter/libkernel.so)
/opt/onlyoffice/desktopeditors/DesktopEditors: /usr/lib/libcurl-gnutls.so.4: no version information available (required by /opt/onlyoffice/desktopeditors/converter/libkernel.so)
[0215/172809.095028:ERROR:cert_verify_proc_nss.cc(921)] CERT_PKIXVerifyCert for 192.168.2.107 failed err=-8187

But I have the lib:

ls -l /usr/lib/libcurl-gnutls.so.4
lrwxrwxrwx 1 root root 23 13 janv. 22:03 /usr/lib/libcurl-gnutls.so.4 -> libcurl-gnutls.so.4.5.0
ldd /opt/onlyoffice/desktopeditors/converter/libkernel.so
/opt/onlyoffice/desktopeditors/converter/libkernel.so: /usr/lib/libcurl-gnutls.so.4: no version information available (required by /opt/onlyoffice/desktopeditors/converter/libkernel.so)
        linux-vdso.so.1 (0x00007fffe85fe000)
        libcurl-gnutls.so.4 => /usr/lib/libcurl-gnutls.so.4 (0x00007f7502f52000)
        libpthread.so.0 => /usr/lib/libpthread.so.0 (0x00007f7502f31000)
        libm.so.6 => /usr/lib/libm.so.6 (0x00007f7502dac000)
        libc.so.6 => /usr/lib/libc.so.6 (0x00007f7502be8000)
        /usr/lib64/ld-linux-x86-64.so.2 (0x00007f750343a000)
        libnghttp2.so.14 => /usr/lib/libnghttp2.so.14 (0x00007f7502bc0000)
        libidn2.so.4 => /usr/lib/libidn2.so.4 (0x00007f7502ba1000)
        libssh2.so.1 => /usr/lib/libssh2.so.1 (0x00007f7502b6f000)
        libpsl.so.5 => /usr/lib/libpsl.so.5 (0x00007f7502b5c000)
        libnettle.so.6 => /usr/lib/libnettle.so.6 (0x00007f7502b22000)
        libgnutls.so.30 => /usr/lib/libgnutls.so.30 (0x00007f7502979000)
        libz.so.1 => /usr/lib/libz.so.1 (0x00007f7502762000)
        libunistring.so.2 => /usr/lib/libunistring.so.2 (0x00007f75023e2000)
        libssl.so.1.1 => /usr/lib/libssl.so.1.1 (0x00007f7502350000)
        libcrypto.so.1.1 => /usr/lib/libcrypto.so.1.1 (0x00007f750207e000)
        libp11-kit.so.0 => /usr/lib/libp11-kit.so.0 (0x00007f7501f4e000)
        libtasn1.so.6 => /usr/lib/libtasn1.so.6 (0x00007f7501d3b000)
        libhogweed.so.4 => /usr/lib/libhogweed.so.4 (0x00007f7501d02000)
        libgmp.so.10 => /usr/lib/libgmp.so.10 (0x00007f7501c6e000)
        libdl.so.2 => /usr/lib/libdl.so.2 (0x00007f7501c67000)
        libffi.so.6 => /usr/lib/libffi.so.6 (0x00007f7501c5c000)

So I tried a fchicout-like workaround:

sudo ln -s /usr/lib/libcurl-gnutls.so.4 /opt/onlyoffice/desktopeditors/libcurl-gnutls.so.4

But it didn't work:

./DesktopEditors: /opt/onlyoffice/desktopeditors/libcurl-gnutls.so.4: no version information available (required by /opt/onlyoffice/desktopeditors/converter/libkernel.so)
/opt/onlyoffice/desktopeditors/DesktopEditors: /opt/onlyoffice/desktopeditors/libcurl-gnutls.so.4: no version information available (required by /opt/onlyoffice/desktopeditors/converter/libkernel.so)
[0222/162258.762051:ERROR:cert_verify_proc_nss.cc(921)] CERT_PKIXVerifyCert for 192.168.2.107 failed err=-818

Edit: AUR

@Germano0
Copy link

Fedora libcurl uses openssl not gnutls. Could you please provide the RPM spec file you are using so that I could fix it together with other Fedora developers?
Thank you

@TheRoarkster
Copy link

Need to figure out how to extract the spec file from the built rpm, but here is additional information in the interim:

$rpm -qi onlyoffice-desktopeditors.x86_64
Name        : onlyoffice-desktopeditors
Version     : 5.2.8
Release     : 9
Architecture: x86_64
Install Date: Sat 02 Feb 2019 03:19:09 PM PST
Group       : Applications/Office
Size        : 676492046
License     : AGPLv3
Signature   : (none)
Source RPM  : onlyoffice-desktopeditors-5.2.8-9.src.rpm
Build Date  : Mon 28 Jan 2019 08:10:24 AM PST
Build Host  : buildslave-linux-64.onlyoffice.info
Relocations : (not relocatable)
Packager    : Ascensio System SIA <support@onlyoffice.com>
Vendor      : Ascensio System SIA
URL         : http://onlyoffice.com/
Summary     : Desktop editors for text, spreadsheet and presentation files
Description :
ONLYOFFICE DesktopEditors installation package
 ONLYOFFICE DesktopEditors is an application for editing office documents (text documents, spreadsheets and presentations) from onlyoffice cloud portal on local computer without browser using.

@Germano0
Copy link

Germano0 commented Feb 19, 2019

@TheRoarkster you cannot retrieve it from the compiled RPM. You need the SRPM (source RPM)

@TheRoarkster
Copy link

Right. Any idea where I can get that?

@sergiomb2
Copy link

Still happens in Fedora and Centos 7

@ShockwaveNN ShockwaveNN added confirmed-bug Issues with confirmed bugs fixed Issues that fixed and released labels Jul 3, 2019
@ShockwaveNN
Copy link
Contributor

DesktopEditors 5.3.3 was released. Issue should be fixed
I checked on Fedora 30 - and everything seems fine

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
confirmed-bug Issues with confirmed bugs fixed Issues that fixed and released
Projects
None yet
Development

No branches or pull requests