Page 1 of 2 12 LastLast
Results 1 to 10 of 17

Thread: broken libcurl.so.4 -or- libssh2.so.1 in 11.4

  1. #1
    Join Date
    Mar 2011
    Location
    Upstate NY
    Posts
    11

    Unhappy broken libcurl.so.4 -or- libssh2.so.1 in 11.4

    I just recently upgraded from 11.3 to 11.4 (via zypper dup after adding the 11.4 repositories, no problems there besides the usual ATI HD2400XT video driver issues I _always_ have). I then installed VirtualBox. VirtualBox refused to start with the following error:

    pk1048@img:~> VirtualBox
    VirtualBox: Error -610 in supR3HardenedMainInitRuntime!
    VirtualBox: dlopen("/usr/lib/virtualbox/VBoxRT.so",) failed: /usr/lib64/libcurl.so.4: undefined symbol: libssh2_knownhost_init

    VirtualBox: Tip! It may help to reinstall VirtualBox.
    pk1048@img:~>

    and the advice to reinstall VirtualBox seems misplaced. The problem appears to be an incomparability between the installed libcurl and libssh2 as follows:

    pk1048@img:~> ldd -r /usr/lib64/libcurl.so.4
    linux-vdso.so.1 => (0x00007fff2c59d000)
    libidn.so.11 => /usr/lib64/libidn.so.11 (0x00007fb03c2d9000)
    libldap-2.4.so.2 => /usr/lib64/libldap-2.4.so.2 (0x00007fb03c092000)
    librt.so.1 => /lib64/librt.so.1 (0x00007fb03be88000)
    libgssapi_krb5.so.2 => /usr/lib64/libgssapi_krb5.so.2 (0x00007fb03bc52000)
    libssl.so.1.0.0 => /lib64/libssl.so.1.0.0 (0x00007fb03b9f6000)
    libcrypto.so.1.0.0 => /lib64/libcrypto.so.1.0.0 (0x00007fb03b644000)
    libz.so.1 => /lib64/libz.so.1 (0x00007fb03b42c000)
    libssh2.so.1 => /lib64/libssh2.so.1 (0x00007fb03b30a000)
    libc.so.6 => /lib64/libc.so.6 (0x00007fb03af9c000)
    liblber-2.4.so.2 => /usr/lib64/liblber-2.4.so.2 (0x00007fb03ad8d000)
    libresolv.so.2 => /lib64/libresolv.so.2 (0x00007fb03ab76000)
    libsasl2.so.2 => /usr/lib64/libsasl2.so.2 (0x00007fb03a95a000)
    libpthread.so.0 => /lib64/libpthread.so.0 (0x00007fb03a73d000)
    /lib64/ld-linux-x86-64.so.2 (0x00007fb03c792000)
    libkrb5.so.3 => /usr/lib64/libkrb5.so.3 (0x00007fb03a472000)
    libk5crypto.so.3 => /usr/lib64/libk5crypto.so.3 (0x00007fb03a249000)
    libcom_err.so.2 => /lib64/libcom_err.so.2 (0x00007fb03a045000)
    libkrb5support.so.0 => /usr/lib64/libkrb5support.so.0 (0x00007fb039e3c000)
    libdl.so.2 => /lib64/libdl.so.2 (0x00007fb039c37000)
    libcrypto.so.0.9.8 => /usr/lib64/libcrypto.so.0.9.8 (0x00007fb0398a4000)
    libkeyutils.so.1 => /lib64/libkeyutils.so.1 (0x00007fb0396a0000)
    undefined symbol: libssh2_knownhost_init (/usr/lib64/libcurl.so.4)
    undefined symbol: libssh2_knownhost_free (/usr/lib64/libcurl.so.4)
    undefined symbol: libssh2_knownhost_readfile (/usr/lib64/libcurl.so.4)
    undefined symbol: libssh2_knownhost_check (/usr/lib64/libcurl.so.4)
    undefined symbol: libssh2_session_hostkey (/usr/lib64/libcurl.so.4)
    undefined symbol: libssh2_session_block_directions (/usr/lib64/libcurl.so.4)
    undefined symbol: libssh2_knownhost_writefile (/usr/lib64/libcurl.so.4)
    undefined symbol: libssh2_knownhost_add (/usr/lib64/libcurl.so.4)
    undefined symbol: libssh2_scp_send64 (/usr/lib64/libcurl.so.4)
    undefined symbol: libssh2_sftp_seek64 (/usr/lib64/libcurl.so.4)
    pk1048@img:~>

    Versions as follows:

    libcurl4 (both 64 and 32 bit) 7.21.2-9.1
    libssh2-1 (both 64 and 32 bit) 1.2.7-31

    And yast online update claims that both are up to date, in fact these appear to be the only versions of these packages in the 11.4 repositories.

    Any suggestions ??? (or do I file a Bug on this ???)

    Thanks.

  2. #2

    Default Re: broken libcurl.so.4 -or- libssh2.so.1 in 11.4

    I had the same problem until installed libssh2-1 1.2.7-31.

  3. #3
    Join Date
    Nov 2010
    Location
    Ελλάδα(Αθήνα)-Россия (г. Красноярск)
    Posts
    1,711

    Default Απ: Re: broken libcurl.so.4 -or- libssh2.so.1 in 11.4

    Quote Originally Posted by seleko View Post
    I had the same problem until installed libssh2-1 1.2.7-31.
    Code:
    su
    Code:
    # zypper install libssh2-1 1.2.7-31
    Πάντα Φιλικά, Στάμος.
    Desktop: openSUSE Leap 15.3||x86_64||Gnome 3.14 & KDE 5||AMD Ryzen 7 8 core||Nvidia GTX 1080 Ti Gaming Edition
    Γλώσσες Προγραμματισμού: C++, Qt developing.
    http://bit.ly/fT8Hfi

  4. #4
    Join Date
    Mar 2011
    Location
    Upstate NY
    Posts
    11

    Default Re: Απ: Re: broken libcurl.so.4 -or- libssh2.so.1 in 11.4

    From my original post, I already have 1.2.7-31 of libssh2-1 installed (both 32 and 64 bit versions).

    -or- are you suggesting reinstalling it ???

    -and- is there a reason to use zypper instead of the yast2 software management tool ???

  5. #5
    Join Date
    Nov 2010
    Location
    Ελλάδα(Αθήνα)-Россия (г. Красноярск)
    Posts
    1,711

    Default Απ: Re: Απ: Re: broken libcurl.so.4 -or- libssh2.so.1 in 11.4

    Πάντα Φιλικά, Στάμος.
    Desktop: openSUSE Leap 15.3||x86_64||Gnome 3.14 & KDE 5||AMD Ryzen 7 8 core||Nvidia GTX 1080 Ti Gaming Edition
    Γλώσσες Προγραμματισμού: C++, Qt developing.
    http://bit.ly/fT8Hfi

  6. #6
    Join Date
    Mar 2011
    Location
    Upstate NY
    Posts
    11

    Default Re: Απ: Re: Απ: Re: broken libcurl.so.4 -or- libssh2.so.1 in 11.4

    Quote Originally Posted by stamostolias View Post
    I am confused, the link you provided returns a search of RPMs which contain the string libssh.so.2, how does this answer my questions of whether you intended that I reinstall the ssh2 library (libssh2-1 version 1.2.7-31) or whether you meant that I should use zypper instead of yast2 ?

    I have the libssh2-1 library installed.
    It is the version the earlier poster indicated worked for him (1.2.7-31)
    I have *both* the 32 and 64 bit versions.
    I do not see any other versions in the OpenSuSE 11.4 repositories.
    The search results you told me to read do not even appear to include any ssh libraries for 11.4 (unless I am misreading the results, which is entirely possible).

    By the way, I did try reinstalling the libssh2-1 RPMs under the assumption that perhaps the original installation failed in a post install script or something else over-wrote something, but that made no difference. The symbols that libcurl is looking for still are not in the libssh2-1 I have (both part of the current 11.4 repository).

  7. #7
    Join Date
    Nov 2010
    Location
    Ελλάδα(Αθήνα)-Россия (г. Красноярск)
    Posts
    1,711

    Default Απ: Re: Απ: Re: Απ: Re: broken libcurl.so.4 -or- libssh2.so.1 in 11.4

    Quote Originally Posted by pk1048
    I am confused, the link you provided returns a search of RPMs which contain the string libssh.so.2, how does this answer my questions of whether you intended that I reinstall the ssh2 library (libssh2-1 version 1.2.7-31) or whether you meant that I should use zypper instead of yast2 ?
    Use zypper to install it

    Quote Originally Posted by pk1048
    I have *both* the 32 and 64 bit versions.
    Both??? You mean you have installed and 32 bit and 64 bit??
    Try to remove one of them, 32bit or 64bit.
    Πάντα Φιλικά, Στάμος.
    Desktop: openSUSE Leap 15.3||x86_64||Gnome 3.14 & KDE 5||AMD Ryzen 7 8 core||Nvidia GTX 1080 Ti Gaming Edition
    Γλώσσες Προγραμματισμού: C++, Qt developing.
    http://bit.ly/fT8Hfi

  8. #8
    Join Date
    Oct 2008
    Location
    Glasgow, Scotland
    Posts
    1,277

    Default Re: Απ: Re: Απ: Re: broken libcurl.so.4 -or- libssh2.so.1 in 11.4

    This is from my vbox server machine, which was remotely upgraded from 11.3 to 11.4 using a mix of yast2-ncurses and zypper dup (no graphical desktop intalled). The version numbers are not the same as yours.
    Code:
    :~> rpm -q libssh2-1
    libssh2-1-1.2.7-3.1.x86_64
    :~> rpm -q libcurl4
    libcurl4-7.21.2-9.1.x86_64
    .
    I started using virtualbox-4.0.4 from the 11.4 repo-oss, but at the weekend changed the kernel to default-2.6.37.5 from repositories/Kernel:/openSUSE-11.4/openSUSE_11.4. I then reinstalled using the Oracle rpm so as to easily create the correct kernel module. Everything seems to be working (at least no complaints from the five concurrent users yesterday).

  9. #9
    Join Date
    Nov 2010
    Location
    Ελλάδα(Αθήνα)-Россия (г. Красноярск)
    Posts
    1,711

    Default Απ: Re: Απ: Re: Απ: Re: broken libcurl.so.4 -or- libssh2.so.1 in 11.4

    Quote Originally Posted by eng-int View Post
    This is from my vbox server machine, which was remotely upgraded from 11.3 to 11.4 using a mix of yast2-ncurses and zypper dup (no graphical desktop intalled). The version numbers are not the same as yours.
    Code:
    :~> rpm -q libssh2-1
    libssh2-1-1.2.7-3.1.x86_64
    :~> rpm -q libcurl4
    libcurl4-7.21.2-9.1.x86_64
    .
    I started using virtualbox-4.0.4 from the 11.4 repo-oss, but at the weekend changed the kernel to default-2.6.37.5 from repositories/Kernel:/openSUSE-11.4/openSUSE_11.4. I then reinstalled using the Oracle rpm so as to easily create the correct kernel module. Everything seems to be working (at least no complaints from the five concurrent users yesterday).
    You are right, I have not upgraded yet into 11.4. I have 11.3. Wait to check it in my laptop.
    Πάντα Φιλικά, Στάμος.
    Desktop: openSUSE Leap 15.3||x86_64||Gnome 3.14 & KDE 5||AMD Ryzen 7 8 core||Nvidia GTX 1080 Ti Gaming Edition
    Γλώσσες Προγραμματισμού: C++, Qt developing.
    http://bit.ly/fT8Hfi

  10. #10
    Join Date
    Mar 2011
    Location
    Upstate NY
    Posts
    11

    Default Re: Απ: Re: Απ: Re: broken libcurl.so.4 -or- libssh2.so.1 in 11.4

    Quote Originally Posted by eng-int View Post
    This is from my vbox server machine, which was remotely upgraded from 11.3 to 11.4 using a mix of yast2-ncurses and zypper dup (no graphical desktop intalled). The version numbers are not the same as yours.
    Code:
    :~> rpm -q libssh2-1
    libssh2-1-1.2.7-3.1.x86_64
    :~> rpm -q libcurl4
    libcurl4-7.21.2-9.1.x86_64
    .
    I started using virtualbox-4.0.4 from the 11.4 repo-oss, but at the weekend changed the kernel to default-2.6.37.5 from repositories/Kernel:/openSUSE-11.4/openSUSE_11.4. I then reinstalled using the Oracle rpm so as to easily create the correct kernel module. Everything seems to be working (at least no complaints from the five concurrent users yesterday).
    Hurmmm. I appear to have typo'd one of the versions
    Code:
    pk1048@img:~> rpm -q libssh2-1
    libssh2-1-1.2.7-3.1.x86_64
    pk1048@img:~> rpm -q libcurl4
    libcurl4-7.21.2-9.1.x86_64
    So our versions match. What do you get when you do an
    Code:
    ldd -r /usr/lib64/libcurl.so.4
    See my first post for my results.

    I wonder if the Oracle VirtualBox module does not use curl and the OpenSuSE one does ...

Page 1 of 2 12 LastLast

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •