Giter Club home page Giter Club logo

Comments (3)

michalvasko avatar michalvasko commented on August 16, 2024

Nothing I can help with, obviously a libssh issue. And you must be using an old libnetconf2 version if you could compile it with libssh 0.8.6, currently the oldest supported version is 0.9.5 so if you updated it, it should work.

from netopeer2.

Omnamasivaya26 avatar Omnamasivaya26 commented on August 16, 2024

Thanks Michal but the issue is I'm unable to install the latest libssh due to compiling issue regarding openssl fips . I have checked with latest openssl 3 version and also along with it I have installed the fips module (openssl-fips-2.0.16) but still I'm encountering the issue in compiling libssh,

/home/tester/netopeer/latest_netopeer2/libssh-0.9.5/src/kex.c: In function ‘ssh_client_select_hostkeys’:
/home/tester/netopeer/latest_netopeer2/libssh-0.9.5/include/libssh/libcrypto.h:116:26: error: implicit declaration of function ‘FIPS_mode’ [-Werror=implicit-function-declaration]
116 | #define ssh_fips_mode() (FIPS_mode() != 0)
| ^~~~~~~~~
/home/tester/netopeer/latest_netopeer2/libssh-0.9.5/src/kex.c:583:13: note: in expansion of macro ‘ssh_fips_mode’
583 | if (ssh_fips_mode()) {
| ^~~~~~~~~~~~~
cc1: some warnings being treated as errors
make[2]: *** [src/CMakeFiles/ssh.dir/build.make:300: src/CMakeFiles/ssh.dir/kex.c.o] Error 1
make[1]: *** [CMakeFiles/Makefile2:399: src/CMakeFiles/ssh.dir/all] Error 2

openssl version
OpenSSL 3.0.0 7 sep 2021 (Library: OpenSSL 3.0.0 7 sep 2021)
built on: Thu May 16 09:17:45 2024 UTC
platform: linux-x86_64
options: bn(64,64)
compiler: gcc -fPIC -pthread -m64 -Wa,--noexecstack -Wall -O3 -DOPENSSL_USE_NODELETE -DL_ENDIAN -DOPENSSL_PIC -DOPENSSL_BUILDING_OPENSSL -DNDEBUG
OPENSSLDIR: "/usr/local/ssl"
ENGINESDIR: "/usr/local/lib64/engines-3"
MODULESDIR: "/usr/local/lib64/ossl-modules"
Seeding source: os-specific
CPUINFO: OPENSSL_ia32cap=0x7ffaf3bfffebffff:0x18c05fdef3bfa7eb

from netopeer2.

michalvasko avatar michalvasko commented on August 16, 2024

Ask libssh for support, I really cannot help you with this. However, it seems you have a rather constrained environment and we have recently added support for compiling libnetconf2 with MbedTLS, libssh can be compiled with that as well, so maybe you do not want to use OpenSSL. But if you do, I would try using a newer version than 3.0.0, not sure why you have not picked the latest libssh and OpenSSL versions.

from netopeer2.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.