[Bug 335] OpenSSL headers do not match your library

bugzilla-daemon at mindrot.org bugzilla-daemon at mindrot.org
Wed Jul 31 05:09:15 EST 2002


http://bugzilla.mindrot.org/show_bug.cgi?id=335

kzembower at jhuccp.org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |dtucker at zip.com.au
             Status|REOPENED                    |RESOLVED
         Resolution|                            |FIXED



------- Additional Comments From kzembower at jhuccp.org  2002-07-31 05:09 -------
Darren, thank you so much for your help. With your guidance, I was able to get
OpenSSH 3.4.1 installed on my three remaining hosts.

For what it's worth, here's some of my notes.
The patch at your page didn't want to work at first. Here's what I did to make 
it work:
centernet:/tmp/openssh-3.4p1 # patch -i tucker.patch configure.ac 
patching file configure.ac
Hunk #1 FAILED at 769.
1 out of 1 hunk FAILED -- saving rejects to file configure.ac.rej
centernet:/tmp/openssh-3.4p1 # cat configure.ac.rej 
***************
*** 769,777 ****
  AC_MSG_CHECKING([whether OpenSSL's headers match the library])
  AC_TRY_RUN(
         [
  #include <string.h>
  #include <openssl/opensslv.h>
- int main(void) { return(SSLeay() == OPENSSL_VERSION_NUMBER ? 0 : 1); }
         ],
         [
                 AC_MSG_RESULT(yes)
--- 769,781 ----
  AC_MSG_CHECKING([whether OpenSSL's headers match the library])
  AC_TRY_RUN(
         [
+ #include <stdio.h>
  #include <string.h>
  #include <openssl/opensslv.h>
+ int main(void) {
+        fprintf(stderr,"OpenSSL library %x headers %x\n", SSLeay(), 
OPENSSL_VERSION_NUMBER);
+        exit(SSLeay() == OPENSSL_VERSION_NUMBER ? 0 : 1); 
+ }
         ],
         [
                 AC_MSG_RESULT(yes)




centernet:/tmp/openssh-3.4p1 # patch -i tucker.patch -F 3 configure.ac 
patching file configure.ac
Hunk #1 succeeded at 774 with fuzz 3 (offset 5 lines).
centernet:/tmp/openssh-3.4p1 # 

As you can see, I increased the 'fuzz factor' (-F) to three from the default of 
2.

One two of my three hosts that failed in the OpenSSH install, the findssl.sh 
script found differing libraries, but on the third, it didn't find any libraries 
at all.

Regardless, all these systems were SuSE 7.1 or 7.2. I used 'rpm -e --nodeps 
openssl' to remove the previous version (I don't use any of the dependancies 
that it reported broken), then reinstalled OpenSSL (not the engine) 0.9.6d.

After that, the installation of OpenSSH 3.4 went normally.

Thank you again for your work on this problem

-Kevin Zembower




------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.



More information about the openssh-unix-dev mailing list