Where is the bin directory of OpenSSL located in Ubuntu 14.04?

I need to provide /path/to/openssl/bin to a build command, but I can't for the life of me find the OpenSSL installation in Ubuntu 14.04.

I've tried this:

$ sudo find / -name openssl /usr/bin/openssl 

...but that doesn't find the bin dir. Any ideas?

1

3 Answers

It doesn't have a build directory. In my build, it couldn't find libssl.a or libcrypto.a but these libraries were located in /usr/lib/x86_64-linux-gnu/, in Ubuntu 16.04. I think you need to modify some of the gcc commands in that makefile to use that library location.

It looks for exact name "openssl". It does not find if the directory is let's say: "usr/lib/openssl_1_0/". I don't know how the regular expressions work with this command but try sudo find / -name openssl* maybe?

1

In my case, I got the exact same error message, but after running ./configure --help I realized that there's no flag for inputting the install directory of OpenSSL.

After some more research, I came across this Server Fault post and installed the OpenSSL development package using sudo apt install libssl-dev and then reran my ./configure file and it worked.

Your Answer

Sign up or log in

Sign up using Google Sign up using Facebook Sign up using Email and Password

Post as a guest

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

You Might Also Like