Error compiling from git - Could not find libssh
#1
I have run into a unmet dependency on building from git lately and I am at a loss, any suggestions?

Code:
checking for sftp_tell64 in -lssh... no
configure: error: == Could not find libssh. ==

Code:
$ dpkg -l libssh*
Desired=Unknown/Install/Remove/Purge/Hold
| Status=Not/Inst/Conf-files/Unpacked/halF-conf/Half-inst/trig-aWait/Trig-pend
|/ Err?=(none)/Reinst-required (Status,Err: uppercase=bad)
||/ Name                              Version               Architecture          Description
+++-=================================-=====================-=====================-========================================================================
un  libssh-2-dev                      <none>                <none>                (no description available)
ii  libssh-4:amd64                    0.6.3-3ubuntu3        amd64                 tiny C SSH library (OpenSSL flavor)
ii  libssh-4:i386                     0.6.3-3ubuntu3        i386                  tiny C SSH library (OpenSSL flavor)
ii  libssh-dev                        0.6.3-3ubuntu3        i386                  tiny C SSH library. Development files (OpenSSL flavor)
un  libssh-doc                        <none>                <none>                (no description available)
ii  libssh-gcrypt-4:amd64             0.6.3-3ubuntu3        amd64                 tiny C SSH library (gcrypt flavor)
un  libssh-gcrypt-dev                 <none>                <none>                (no description available)
ii  libssh2-1:amd64                   1.4.3-4.1             amd64                 SSH2 client-side library
ii  libssh2-1-dev:amd64               1.4.3-4.1             amd64                 SSH2 client-side library (development headers)

Unbuntu 15.04
Reply
#2
you have an odd mixture of i386 / amd64 packages.
ditch the i386 ones and install the amd64 versions instead.
Do not PM or e-mail Team-Kodi members directly asking for support.
Always read the Forum rules, Kodi online-manual, FAQ, Help and Search the forum before posting.
Reply
#3
I purged the i386 and reinstalled the amd64 and still get the error.

Code:
$ dpkg -l libssh\*
Desired=Unknown/Install/Remove/Purge/Hold
| Status=Not/Inst/Conf-files/Unpacked/halF-conf/Half-inst/trig-aWait/Trig-pend
|/ Err?=(none)/Reinst-required (Status,Err: uppercase=bad)
||/ Name                              Version               Architecture          Description
+++-=================================-=====================-=====================-========================================================================
un  libssh-2-dev                      <none>                <none>                (no description available)
ii  libssh-4:amd64                    0.6.3-3ubuntu3        amd64                 tiny C SSH library (OpenSSL flavor)
ii  libssh-dev                        0.6.3-3ubuntu3        amd64                 tiny C SSH library. Development files (OpenSSL flavor)
un  libssh-doc                        <none>                <none>                (no description available)
rc  libssh-gcrypt-4:amd64             0.6.3-3ubuntu3        amd64                 tiny C SSH library (gcrypt flavor)
un  libssh-gcrypt-dev                 <none>                <none>                (no description available)
ii  libssh2-1:amd64                   1.4.3-4.1             amd64                 SSH2 client-side library
ii  libssh2-1-dev:amd64               1.4.3-4.1             amd64                 SSH2 client-side library (development headers)
Reply
#4
you might need to remove libssh2-1-dev
Reply
#5
Thanks for all the help. I purged libssh2-1-dev and still no luck. I build from git every couple of weeks and this issue just came up.

Code:
$ dpkg -l libssh\*
Desired=Unknown/Install/Remove/Purge/Hold
| Status=Not/Inst/Conf-files/Unpacked/halF-conf/Half-inst/trig-aWait/Trig-pend
|/ Err?=(none)/Reinst-required (Status,Err: uppercase=bad)
||/ Name                       Version            Architecture       Description
+++-==========================-==================-==================-=========================================================
un  libssh-2-dev               <none>             <none>             (no description available)
ii  libssh-4:amd64             0.6.3-3ubuntu3     amd64              tiny C SSH library (OpenSSL flavor)
ii  libssh-dev                 0.6.3-3ubuntu3     amd64              tiny C SSH library. Development files (OpenSSL flavor)
un  libssh-doc                 <none>             <none>             (no description available)
un  libssh-gcrypt-dev          <none>             <none>             (no description available)

if i configure with --disable-ssh I can complete the configuration, but my build fails:

Code:
/usr/bin/ld: cannot find -lEGL
collect2: error: ld returned 1 exit status
Makefile:431: recipe for target 'kodi.bin' failed
make: *** [kodi.bin] Error 1

Code:
$ dpkg -l *egl*
Desired=Unknown/Install/Remove/Purge/Hold
| Status=Not/Inst/Conf-files/Unpacked/halF-conf/Half-inst/trig-aWait/Trig-pend
|/ Err?=(none)/Reinst-required (Status,Err: uppercase=bad)
||/ Name                       Version            Architecture       Description
+++-==========================-==================-==================-=========================================================
ii  freeglut3:amd64            2.8.1-2            amd64              OpenGL Utility Toolkit
ii  freeglut3-dev:amd64        2.8.1-2            amd64              OpenGL Utility Toolkit development files
un  libegl1                    <none>             <none>             (no description available)
ii  libegl1-mesa:amd64         10.5.9-2ubuntu1~vi amd64              free implementation of the EGL API -- runtime
ii  libegl1-mesa-dev:amd64     10.5.9-2ubuntu1~vi amd64              free implementation of the EGL API -- development files
ii  libegl1-mesa-drivers:amd64 10.5.9-2ubuntu1~vi amd64              transitional dummy package
un  libegl1-x11                <none>             <none>             (no description available)
ii  libva-egl1:amd64           1.5.0-1            amd64              Video Acceleration (VA) API for Linux -- EGL runtime
un  libwayland-egl1            <none>             <none>             (no description available)
ii  libwayland-egl1-mesa:amd64 10.5.9-2ubuntu1~vi amd64              implementation of the Wayland EGL platform -- runtime

Code:
/usr/lib/x86_64-linux-gnu/libnvidia-eglcore.so.352.63
/usr/lib/x86_64-linux-gnu/libva-egl.a
/usr/lib/x86_64-linux-gnu/libva-egl.so
/usr/lib/x86_64-linux-gnu/libva-egl.so.1
/usr/lib/x86_64-linux-gnu/libva-egl.so.1.3700.0
/usr/lib/x86_64-linux-gnu/libwayland-egl.so
/usr/lib/x86_64-linux-gnu/libwayland-egl.so.1
/usr/lib/x86_64-linux-gnu/libwayland-egl.so.1.0.0
/usr/lib/x86_64-linux-gnu/mesa-egl
/usr/lib/x86_64-linux-gnu/mesa-egl/ld.so.conf
/usr/lib/x86_64-linux-gnu/mesa-egl/libEGL.so
/usr/lib/x86_64-linux-gnu/mesa-egl/libGLESv1_CM.so
/usr/lib/x86_64-linux-gnu/mesa-egl/libGLESv2.so
Reply
#6
The EGL error wss fixed by updating to libegl1 11.0.0
Reply

Logout Mark Read Team Forum Stats Members Help
Error compiling from git - Could not find libssh0