LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
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 07-31-2010, 09:53 AM   #1
fast-reflexes
Member
 
Registered: Jul 2010
Distribution: Slackware
Posts: 36

Rep: Reputation: 16
Cyrus SASL installation problem "OpenSSL not found"


I have to reinstall Cyrus SASL since I want to have NTLM support. So I download the latest version (2.1.23 which was previously installed on the same computer I might add) and start to configure it. I choose to include OpenSSL with flag
Code:
--with-openssl=/usr/local/ssl
But it can't seem to find the installation. This is what the output says:
Code:
./configure --with-openssl=/usr/local/ssl | sed --silent '/evp/,/OpenSSL/p'
checking for openssl/evp.h... yes
checking for EVP_DigestInit in -lcrypto... no
checking for OpenSSL... no
configure: WARNING: OpenSSL not found -- OTP will be disabled
configure: WARNING: OpenSSL not found -- SRP will be disabled
configure: WARNING: Disabling GSSAPI - no include files found
configure: WARNING: OpenSSL not found -- NTLM will be disabled
configure: WARNING: OpenSSL not found -- PASSDSS will be disabled
checking for openssl/evp.h... yes
checking for EVP_DigestInit in -lcrypto... no
checking for OpenSSL... no
configure: WARNING: Disabling GSSAPI - no include files found
It seems it can't find my OpenSSL. I tried with another computer and there, it finds OpenSSL no matter what dir I specify for it. I've tried to have a look at cmulocal/openssl.m4 but I can't figure out the meaning of it. I also tried to have a look at the config.log file that is created when running configure but it's huge and I can't find any more info at first glance.

Suggestions on the Internet are to specify LDFLAGS and CPPFLAGS which I've done without success. I've run ldconfig after including the SSL-libdirs and no success there either.

My OpenSSL situation might be the problem. I first had version 0.9.8n installed along with 0.9.8n solibs (what are these?). I then removed both of these, installed 1.0.0a and then added 0.9.8n solibs because httpd was complaining. I read somewhere that SASL is reacting the way it is because I might have two installations but the solibs is not a complete installation, no binaries. Also, I uninstalled the 0.9.8n solibs but I still had no success with the configuration and OpenSSL could still not be found.
 
Click here to see the post LQ members have rated as the most helpful post in this thread.
Old 07-31-2010, 12:38 PM   #2
bathory
LQ Guru
 
Registered: Jun 2004
Location: Piraeus
Distribution: Slackware
Posts: 13,163
Blog Entries: 1

Rep: Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032
Hi,

You need to build the shared openssl libraries. So go into openssl sources, run "make clean" and recompile using
Code:
./config shared
Then go into cyrus sources, run again make clean and recompile

Regards
 
2 members found this post helpful.
Old 07-31-2010, 05:28 PM   #3
fast-reflexes
Member
 
Registered: Jul 2010
Distribution: Slackware
Posts: 36

Original Poster
Rep: Reputation: 16
Thanks a lot! That was it.. got it up and running now even though I got a loooot of warnings (and possibly errors) when compiling... Thanks!!
 
Old 12-28-2011, 02:57 PM   #4
jqsjqs
LQ Newbie
 
Registered: Dec 2011
Posts: 1

Rep: Reputation: Disabled
and for those on 64-bit machines

I kept having this problem (openssl not found) and had tried all the advice given in many many forums including updating env vars to point to /usr/local/ssl (i.e., LDFLAGS, CPPFLAGS, LD_LIBRARY_PATH, etc.) and also tried doing the sed patch mentioned in other forums. Ultimately, the best advice was one thread where someone suggested looking in config.log (doh!).

After many fruitless hours it turns out that on 64-bit machines cyrus-sasl is looking in /usr/local/ssl/lib64 ... NOT /usr/local/ssl/lib... but /usr/local/ssl/lib64 is not created when you compile openssl. So after creating a symbolic link from /usr/local/ssl/lib64 to /usr/local/ssl/lib (i.e., "ln -s /usr/local/ssl/lib /usr/local/ssl/lib64) then config found openssl no problem.

I think this, in combination with the "./config shared" advice on compiling openssl, is all I needed at the end of the day.

Thanks!
John Q.
 
1 members found this post helpful.
  


Reply



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
Postfix/SASL/MySQL "SASL LOGIN authentication failed" Temujin_12 Linux - Server 8 10-04-2008 10:37 PM
"No worthy mechs found" setting up cyrus-imapd timjowers Linux - Networking 0 08-07-2006 03:55 PM
SUSE9.2 Installation problem. "Fat32 not found. Exiting" Surejg Linux - Newbie 2 11-16-2004 11:10 PM
Installation problem on RedHat 9. "CD not found" linux_newbies Red Hat 1 04-01-2004 12:38 PM
Installation problem - "no Red Hat CD found in CD-ROM drive" vbishtei Linux - General 1 01-11-2004 10:05 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 11:39 PM.

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
Open Source Consulting | Domain Registration