I've been trying to build libyang on Ubuntu 22.04, and I keep running into this issue when running cmake:
cmake: usr/local/lib/libssh.so.4: version `LIBSSH_4_8_1' not found (required by /lib/x86_64-linux-gnu/libcurl.so.4)
I couldn't find anything on this anywhere. I have libssh-dev 0.9.6-2build1 installed and cmake version 3.22.1-1ubuntu1.
The error comes up when running cmake from anywhere, so I guess it's related to cmake itself?
Edit: For extra context, I've been trying to set up Netopeer2 using this guide: http://www.seguesoft.com/index.php/netconfc/free-trial-netconfc/2-uncategorised/1-setup-netopeer2