From mboxrd@z Thu Jan 1 00:00:00 1970 From: David Jackson Subject: Re: Error Compiling OpenSSH-3.4p1 Date: Tue, 06 Aug 2002 12:33:19 -0600 Sender: linux-admin-owner@vger.kernel.org Message-ID: <3D50166F.2030204@wcox.com> References: <200208021130.g72BUuBr016909@leo.pcisys.net> <200208061810.g76IAtSA026931@leo.pcisys.net> Mime-Version: 1.0 Content-Transfer-Encoding: 7bit Return-path: List-Id: Content-Type: text/plain; charset="us-ascii"; format="flowed" To: Linux User Cc: linux-admin@vger.kernel.org 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 > #include > 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 > > > >