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

Created on 17 Oct 2016  ·  18Comments  ·  Source: ONLYOFFICE/DesktopEditors

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

bug fixed

Most helpful comment

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)

All 18 comments

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

please download the new version and report the results

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

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)

Same on Fedora 26.

Works on F26 as per @fchicout suggestion above.

Has this problem. FIx like @fchicout

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

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).

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.

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

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

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 <[email protected]>
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.

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

Right. Any idea where I can get that?

Still happens in Fedora and Centos 7

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

Was this page helpful?
0 / 5 - 0 ratings