Find the answer to your Linux question:
Results 1 to 3 of 3
Enjoy an ad free experience by logging in. Not a member yet? Register.
  1. #1

    Post Installing Opens SSL and libssh2

    Hi All,

    I'm not that confident with installing or compiling on Linux and I guess that's where the problem is. So any assistance may go along way.

    /usr/bin/ld: /opt/openssl/lib/libcrypto.a(hmac.o): relocation R_X86_64_32 against `a local symbol' can not be used when making a shared object; recompile with -fPIC
    /opt/openssl/lib/libcrypto.a: could not read symbols: Bad value
    collect2: ld returned 1 exit status

    Can anyone point on what I am doing wrong?

    BTW install the libssh2-1.2.9 with the following command:

    CFLAGS="-O3 -fPIC" ./configure --prefix=/opt/libssh2 --with-libssl-prefix=/opt/openssl
    make install

    I have installed openssl with the following command:
    ./config --prefix=/opt/openssl
    make depend
    make test
    make install

    Thanks for your time

  2. #2
    What you can just do is use
    HTML Code:
    <code>yum install libssh2-1.2.9</code> or <code>yum install openssh</code>

  3. #3
    Unless you've got a good reason, I suggest that you just use yum as mentioned by weblinux.

  4. $spacer_open

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts