** Description changed:

  System:
  Description:  Ubuntu 18.04 LTS
  Release:      18.04
  
  Package:
  libssh-dev:
-   Installed: 0.8.0~20170825.94fa1e38-1build1
-   Candidate: 0.8.0~20170825.94fa1e38-1build1
-   Version table:
-  *** 0.8.0~20170825.94fa1e38-1build1 500
-         500 http://br.archive.ubuntu.com/ubuntu bionic/main amd64 Packages
-         100 /var/lib/dpkg/status
+   Installed: 0.8.0~20170825.94fa1e38-1build1
+   Candidate: 0.8.0~20170825.94fa1e38-1build1
+   Version table:
+  *** 0.8.0~20170825.94fa1e38-1build1 500
+         500 http://br.archive.ubuntu.com/ubuntu bionic/main amd64 Packages
+         100 /var/lib/dpkg/status
  
  I'm using libssh-dev to compile some projects like libvirt and others.
  The current package installed is 0.8.0, but if we check the headers 
/usr/include/libssh/libssh.h, we can see it:
  
  /* libssh version */
  #define LIBSSH_VERSION_MAJOR  0
  #define LIBSSH_VERSION_MINOR  7
  #define LIBSSH_VERSION_MICRO  0
  
  If we try to use the version inside a C code, we get:
  
  printf("%x", LIBSSH_VERSION_INT);
  
- 
  I expect to see:
  800
+ 
+ Check pkg-config:
+ $ pkg-config --modversion libssh
+ 0.8.0
  
  I'm seeing:
  700
  
  It does not match with the package version and some new functions were
  implemented after libssh release 0.7.5. This libssh.h needs to be fixed.

** Description changed:

  System:
  Description:  Ubuntu 18.04 LTS
  Release:      18.04
  
  Package:
  libssh-dev:
    Installed: 0.8.0~20170825.94fa1e38-1build1
    Candidate: 0.8.0~20170825.94fa1e38-1build1
    Version table:
   *** 0.8.0~20170825.94fa1e38-1build1 500
          500 http://br.archive.ubuntu.com/ubuntu bionic/main amd64 Packages
          100 /var/lib/dpkg/status
  
  I'm using libssh-dev to compile some projects like libvirt and others.
  The current package installed is 0.8.0, but if we check the headers 
/usr/include/libssh/libssh.h, we can see it:
  
  /* libssh version */
  #define LIBSSH_VERSION_MAJOR  0
  #define LIBSSH_VERSION_MINOR  7
  #define LIBSSH_VERSION_MICRO  0
  
  If we try to use the version inside a C code, we get:
  
  printf("%x", LIBSSH_VERSION_INT);
  
  I expect to see:
  800
  
- Check pkg-config:
+ I'm seeing:
+ 700
+ 
+ Check pkg-config too:
  $ pkg-config --modversion libssh
  0.8.0
  
- I'm seeing:
- 700
- 
  It does not match with the package version and some new functions were
- implemented after libssh release 0.7.5. This libssh.h needs to be fixed.
+ implemented after libssh release 0.7.5. This libssh.h file needs to be
+ fixed.

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1768130

Title:
  libssh-dev libraries are returning a different version from package

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/libssh/+bug/1768130/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to