On Wed, Jun 11, 2014 at 03:17:10AM -0400, Jeffrey Walton wrote:

> > The make install is not installing libcrypto.so, libssl.so and openssl
> > binary into /usr/bin and /usr/lib64. I need it to be installed there.
>
> By default, the library is installed at /usr/local/ssl.

One can override the parent directory with --prefix=/some/path

> ./config shared --openssldir=/usr might do the tirck.

    ./Configure shared --prefix=/usr <target>

Where target is a named configuration such as "linux-x86_64".

> I don't believe its a recommended practice, though.

Nothing wrong with this if the platform does not include OpenSSL,
however replacing vendor packages in /usr with possibly incompatible
custom builds can create problems.

> lib64/ may give you trouble. You might have to copy from /usr/lib/ to
> /usr/lib64/.

One can also override the name of the "lib" sub-directory:

    ./Configure shared --libdir=lib64 --prefix=/usr <target>

though in the case of the "linux-x86_64" target, this is already
the default (at least in the master branch).

Run "./Configure TABLE" and look for the "multilib" parameter for
the relevant entry.  This is automatically appended to "lib" to
form the default "libdir".

-- 
        Viktor.
______________________________________________________________________
OpenSSL Project                                 http://www.openssl.org
User Support Mailing List                    openssl-users@openssl.org
Automated List Manager                           majord...@openssl.org

Reply via email to