Which file to modify for creating libydk.so ?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-22-2021 11:05 PM - edited 12-22-2021 11:36 PM
Hi,
I am using https://devhub.cisco.com/artifactory/debian-ydk/0.8.4/xenial/libydk-0.8.4-1.amd64.deb.
Using the given scripts (generate.py -cpp) etc I am able to generate the libydk.a , however, I would like to generate the corresponding .so files.
Do find the command to generate the libydk.a gets written to a file(link.txt) but do find even that file gets auto-generated.
Would appreciate it if you could guide me on where to modify so that I would be able to generate the corresponding .so file instead of the archive.
Thank you in advance.
- Labels:
-
YANG Development Kit (YDK)
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-23-2021 02:05 PM
Hi Rosy
The generation of libydk.a is controlled by the file CMakeList.txt. Please note that the build includes also compilation of libnetconf and libyang objects, which are then included to the libydk.a.
If you succeed to build libydk.so/libydk.dylib, please share your code with YDK community. Also please explore build of samples and unit tests using dynamic link library.
YDK Solutions
