LinuxQuestions.org
Visit the LQ Articles and Editorials section
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices



Reply
 
Search this Thread
Old 11-13-2002, 05:47 AM   #1
theone333
LQ Newbie
 
Registered: Nov 2002
Location: 127.0.0.1
Posts: 4

Rep: Reputation: 0
OpenSSL headers do not match your library


hi,
im trying to get openssh (v3.5p1) to compile vs uClibc in my "development environment" but it failed at configure step with...

Quote:
checking OpenSSL header version... 90602f (OpenSSL 0.9.6b [engine] 9 Jul 2001)
checking OpenSSL library version... 90607f (OpenSSL 0.9.6g 9 Aug 2002)
checking whether OpenSSL's headers match the library... no
configure: error: Your OpenSSL headers do not match your library
i have already compiled busybox, zlib and openssl against uClibc succesfully (i think
this is the configure arguments im using for openssh...
./configure --prefix=/home/chris/dev/root --with-zlib=/home/chris/dev/root/lib --with-ssl-dir=/home/chris/dev/root/lib

iv told configure the path of zlib and openssl libraries but
i think i need the correct CFLAGS and/or LDFLAGS so that the configure script for openssh can pick up the correct header files for openssl.
it finds the library for my develpment system OK but still picks up the old openssl headers from my host system (rh8)

iv tried setting this CFLAGS environment variable..dont seem to work tho..not sure if its correct..?!

CFLAGS="-I/home/chris/dev/root/include/openssl"

any help would be appreciated.
 
Old 11-13-2002, 04:04 PM   #2
theone333
LQ Newbie
 
Registered: Nov 2002
Location: 127.0.0.1
Posts: 4

Original Poster
Rep: Reputation: 0
iv tried setting the environment variables INCLUDEDIR and INCLUDEPATH to /home/chris/dev/root/include/openssl and configure still complains that the header and library does not match.
configure finds the correct library i want to compile against but finds the wrong header files...

HOW CAN I SPECIFY AN ADDITIONAL INCLUDE PATH SO CONFIGURE FINDS THE CORRECT HEADER FILES.

THANKS.
 
Old 11-13-2002, 05:05 PM   #3
unSpawn
Moderator
 
Registered: May 2001
Posts: 27,776
Blog Entries: 54

Rep: Reputation: 2976Reputation: 2976Reputation: 2976Reputation: 2976Reputation: 2976Reputation: 2976Reputation: 2976Reputation: 2976Reputation: 2976Reputation: 2976Reputation: 2976
./configure --help, var CPPFLAGS?
 
Old 11-13-2002, 09:47 PM   #4
theone333
LQ Newbie
 
Registered: Nov 2002
Location: 127.0.0.1
Posts: 4

Original Poster
Rep: Reputation: 0
thanks. i just tried what you suggested thinking it would work.
but it didnt. setting CPPFLAGS to -I/home/chris/dev/root/include/openssl and -I/home/chris/dev/root/include gives me the exact same error.
 
Old 11-13-2002, 11:06 PM   #5
theone333
LQ Newbie
 
Registered: Nov 2002
Location: 127.0.0.1
Posts: 4

Original Poster
Rep: Reputation: 0
my mistake. i wasnt exporting the CPPFLAGS variable.
it finds the correct headers now and compiles fine.
 
Old 11-15-2002, 10:55 AM   #6
stickman
Senior Member
 
Registered: Sep 2002
Location: Nashville, TN
Posts: 1,552

Rep: Reputation: 53
Do you have both the engine and the full install of OpenSSL on you system? I usually just grab the full install to build OpenSSH.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
OpenSSL Crypto headers not found. jmoulinier Linux - Software 17 09-16-2011 07:19 PM
kernal source and c headers don't match shelbydz Linux - Software 2 10-04-2006 06:45 PM
Could not find working OpenSSL library, please install or check config.log -newb ques botman Suse/Novell 4 10-19-2005 06:03 PM
howto compile bin with my library using all-static and shared linked standart library stpg Programming 4 06-29-2004 05:20 AM
what is the function library of the basic graphics library in rethat9.0? zerwolve Red Hat 0 04-29-2004 10:18 PM


All times are GMT -5. The time now is 08:03 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration