From: David Jackson <david.jay.jackson@wcox.com>
To: Linux User <linux-user@nospam.dnsalias.org>
Cc: linux-admin@vger.kernel.org
Subject: Re: Error Compiling OpenSSH-3.4p1
Date: Tue, 06 Aug 2002 12:33:19 -0600 [thread overview]
Message-ID: <3D50166F.2030204@wcox.com> (raw)
In-Reply-To: 200208061810.g76IAtSA026931@leo.pcisys.net
Dude --
Is there a include path flag you can set with the ./configure?
Have you posted to a Redhat specific list? Have you search the Rehat
archive for releated post?
Have you posted to openssl and openssh mailing list? Have you searched
openssl and openssh archives?
David
Linux User wrote:
>Here's an update from my ongoing blind flailing in an attempt to get this to
>work:
>
>PREFACE
>========
>- Before anybody else asks, NO, THIS IS NOT THE COMPROMISED VERSION! Sorry,
>but nobody seemed to get that the first time through, and I'm tired of
>repeating it.
>- There are NO other header or library files laying around. I did NOT install
>the original RH6.2 rpms for OpenSSL or OpenSSH, and I verified that there
>were no same-name files hiding elsewhere on the path, or anywhere else on the
>filesystem.
>
>INITIAL ATTEMPT: OpenSSL 0.9.6d, OpenSSH 3.4p1
>=========================================
>- OpenSSL 0.9.6d compiled fine with the 'shared' option
>- OpenSSH 3.4p1 configure script bombed out configure: error: Your OpenSSL
>headers do not match your library.
> -- The headers are in the right place: /usr/local/ssl/include/openssl
> -- The libraries are all in the right place: /usr/local/ssl/lib
> -- The version in /usr/local/ssl/include/openssl/opensslv.h matches the
>library
> -- The openssl binary shows the correct version number
>- Reading through the config.log file generated shows the following lines:
>
> configure:8279: gcc -o conftest -g -O2 -Wall -Wpointer-arith
> -Wno-uninitialized -I/usr/local/ssl/include -L/usr/local/ssl/lib
> conftest.c -lutil -lz -lnsl -lcrypto >&5
> configure: In function `main':
> configure:8283: warning: implicit declaration of function `SSLeay'
> configure:8279: $? = 0
> configure:8279: ./conftest
> ./conftest: error in loading shared libraries: libcrypto.so.0.9.6: cannot
> open shared object file: No such file or directory
> configure:8279: $? = 127
> configure: program exited with status 127
> configure: failed program was:
> #line 8279 "configure"
> #include "confdefs.h"
>
> #include <string.h>
> #include <openssl/opensslv.h>
> int main(void) { return(SSLeay() == OPENSSL_VERSION_NUMBER ? 0 : 1); }
>
> configure:8279: result: no
> configure:8279: error: Your OpenSSL headers do not match your library
>
> -- Note the include path specified: /usr/local/ssl/include. This is correct.
>The specific file included, openssl/opensslv.h, is under that path, and
>contains the correct version number.
> -- Note the library path specified: /usr/local/ssl/lib. This is also
>correct. The library which allegedly cannot be opened, libcrypto.so.0.9.6, is
>there, owner/group root, permissions -r-xr-xr-x.
>
>So ... the files are there, the versions are correct, but the configure
>script cannot seem to load the shared library and hence claims the versions
>DON'T match. Why?
>
>ADDITIONAL ATTEMPTS: OpenSSL 0.9.6e, various install paths
>- Tried explicitly specifying the path to OpenSSL using
>"--with-ssl-dir=/usr/local/ssl" and got the same results
>- Installed OpenSSL 0.9.6e, got the same results
>- Tried installing OpenSSL in /usr/local and specifying the path with
>"-with-ssl-dir=/usr/local", got the same results.
>- I even tried cutting the conftest.c file listed above out and manually
>compiling it.
>
>So ... what am I doing wrong? How else can I troubleshoot this? I'm confused
>here! HELP!
>
>-
>To unsubscribe from this list: send the line "unsubscribe linux-admin" in
>the body of a message to majordomo@vger.kernel.org
>More majordomo info at http://vger.kernel.org/majordomo-info.html
>
>
>
>
next prev parent reply other threads:[~2002-08-06 18:33 UTC|newest]
Thread overview: 17+ messages / expand[flat|nested] mbox.gz Atom feed top
2002-08-02 11:30 Error Compiling OpenSSH-3.4p1 Linux User
2002-08-03 7:06 ` Camelia NASTASE
2002-08-04 13:58 ` Linux User
2002-08-04 14:20 ` Linux User
2002-08-06 0:05 ` David J. Golden
2002-08-06 0:20 ` Jeff Hunter
2002-08-06 2:05 ` Linux User
2002-08-06 17:59 ` Linux User
2002-08-06 18:33 ` David Jackson [this message]
2002-08-06 19:24 ` Linux User
2002-08-06 22:00 ` David Jackson
2002-08-06 22:31 ` David Jackson
2002-08-09 10:51 ` Linux User
2002-08-09 10:47 ` Linux User
2002-08-06 21:27 ` Glynn Clements
2002-08-09 10:54 ` Linux User
2002-08-13 2:16 ` David J. Golden
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=3D50166F.2030204@wcox.com \
--to=david.jay.jackson@wcox.com \
--cc=linux-admin@vger.kernel.org \
--cc=linux-user@nospam.dnsalias.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).