OpenSSL version file is not found or is not usable

846 Views Asked by At

I am trying to install ndnSIM. It requires some dependencies and one of them is OpenSSL.

I have already installed it with homebrew as

brew install openssl

but every time I try to ./waf configure ndnSIM,it returns an error such as

OpenSSL version file is not found or is not usable (complete log in /Users/ndnSIM/ns-3/build/config.log)

and when I get into the config.log, the complete error shows also:

Checking for OpenSSL version from /Users/ndnSIM/ns-3/src/ndnSIM: OpenSSL version file is present, but is not recognizable

Can someone please help me with this?

1

There are 1 best solutions below

1
On

As of Sep 2021, the command brew install openssl installs OpenSSL 3.0 and ndnSIM is not yet compatible with that version of OpenSSL.

Try:

brew install [email protected]

to install OpenSSL 1.1.1 instead. You may need to uninstall any other versions of OpenSSL using brew rm -f openssl before installing [email protected].

Alternatively, you can try applying this patch to the copy of ndn-cxx inside your local clone of ndnSIM.