Results 1 to 6 of 6
  1. #1
    Join Date
    Aug 2004
    Posts
    333

    Question OpenSSH update problem, Your OpenSSL headers do not match your library.

    When I start configure for new OpenSSH version (4.0p1) at and of process I have next error:

    checking OpenSSL header version... 90707f (OpenSSL 0.9.7g 11 Apr 2005)
    checking OpenSSL library version... 90701f (OpenSSL 0.9.7a Feb 19 2003)
    checking whether OpenSSL's headers match the library... no
    configure: error: Your OpenSSL headers do not match your library.
    Check config.log for details.
    Also see contrib/findssl.sh for help identifying header/library mismatches.

    Can somebody help to me, what now?

    Thanks.

  2. #2
    Join Date
    Aug 2004
    Posts
    333
    When I use # ./findssl.sh I have this:

    Searching for OpenSSL header files.
    0x0090707fL /usr/include/openssl/opensslv.h

    Searching for OpenSSL shared library files.
    0x0090701fL /usr/lib/libcrypto.so
    0x0090701fL /usr/lib/libcrypto.so.0
    0x0090701fL /usr/lib/libcrypto.so.4
    0x0090701fL /lib/libcrypto.so.0.9.7a
    0x0090701fL /lib/libcrypto.so.4

    Searching for OpenSSL static library files.
    0x0090707fL /usr/lib/libcrypto.a

    I don`t know why new OpenSSL don`t overwrite this lib from old version, this is problem, when I move /lib/libcrypto.so.0.9.7a OpenSSH installation work good but now I have error when I login in SSH:

    send-mail: error while loading shared libraries: libcrypto.so.4: cannot open shared object file: No such file or directory

    What now, this is stupid, I don`t know what now...can I fix this error and if I can how I can? Somebody know?

    Why OpenSSL 0.9.7g can`t overwrite OpenSSL 0.9.7a, this new version don`t add nothing to /lib

    Thanks.

  3. #3
    Join Date
    Aug 2004
    Posts
    333
    After much work problem solved, I hope so

  4. #4
    Join Date
    Dec 2003
    Location
    UK
    Posts
    652
    How's about posting your solution, this will most probably help someone else

  5. #5
    Join Date
    Aug 2004
    Posts
    333
    I only change path for OpenSLL from /usr to /usr/local and reinstall opensll and openssh, NOW work fine, I don`t know for next day

  6. #6
    Join Date
    Mar 2003
    Location
    California USA
    Posts
    13,294
    You are supposed to symlink the new libs to the old lib.
    Steven Ciaburri | Industry's Best Server Management - Rack911.com
    Software Auditing - 400+ Vulnerabilities Found - Quote @ https://www.RACK911Labs.com
    Fully Managed Dedicated Servers (Las Vegas, New York City, & Amsterdam) (AS62710)
    FreeBSD & Linux Server Management, Security Auditing, Server Optimization, PCI Compliance

Posting Permissions

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