Solved, by using libssh version 0.7.7 and did not use "--disable-libssh" while building cpp core.Seems that problem is with libssh version 0.6.4 which is default in docker image.
Hello, I have same problem, and have no luck fixing it. I am stuck in building libydk. I get same error line in aligang1988 attached output file. Maybe I am using wrong libssh version?