cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
413
Views
5
Helpful
1
Replies

Which file to modify for creating libydk.so ?

rosypatel
Level 1
Level 1

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.

 

 

1 Reply 1

yangorelik
Spotlight
Spotlight

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.

Yan Gorelik
YDK Solutions