cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
924
Views
1
Helpful
3
Replies

Can you please let me know why libydk dependencies include build time dependencies?

skg.net.dev
Level 1
Level 1

Why do we need the git, pkg-config, cmake etc for libydk dependencies? These look like build time dependencies.


skg@skg-dev ~/tmp $ dpkg --info libydk_0.6.2-1_amd64.deb
  new debian package, version 2.0.
  size 2268630 bytes: control archive=3683 bytes.
      440 bytes,    19 lines      control             
     7958 bytes,   114 lines      md5sums             
  Package: libydk
  Version: 0.6.2
  Section: devel
  Priority: optional
  Architecture: amd64
  Depends: libcurl4-openssl-dev,
              libpcre3-dev,
              libssh-dev,
              libxml2-dev,
              libxslt1-dev,
              libtool-bin,
              cmake (>=3),
              git,
              pkg-config
  Homepage: https://github.com/CiscoDevNet/ydk-cpp
  Installed-Size: 8969
  Maintainer: ydk-admin@cisco.com
  Description: YDK Core Library
 
skg@skg-dev ~/tmp $

3 Replies 3

lilyl2
Level 1
Level 1

We have ydk-cpp and also ydk-py. Many parts of ydk-py rely on wrappers built on ydk-cpp. Since in installing ydk-py, ydk-cpp is also required, those dependencies are there for that reason.

Thanks for the response. I understand cpp-core is needed for ydk-py. My question was why the cpp-core library, pulls the build time dependencies such as git, pkg-config etc?

Hi Senthil,

Sorry for the late response. The reason those dependencies are there is because they're requirements for ydk-py.