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
 
LinkBack Search this Thread
Old 05-28-2004, 10:42 AM   #1
mikeindo
Member
 
Registered: May 2004
Posts: 43

Rep: Reputation: 15
Question courier-imap - libssl & libcrypto deps


i'm a newbie. just installed RH9 and ultimately trying to get squirrelmail running. i've set postfix (i think) and am to the point of installing my imap server (chose courier-imap). but installing with...

rpm -i courier-imap-3.0.4-1.7.3.i386.rpm

unfortunately produces...

failed dependencies
libcrypto.so.2 is needed...
libssl.so.2 is needed...

i first tried installing an older version of courier-imap but same error. also tried running with --nodeps but other errors appeared. did --whatprovides and eventually found in /lib that libssl.so.0.9.7a (???) is related to openssl-0.9.7a. all references online to libssl.so.2 refer to openssl-0.9.6b! how can downgrading openssl upgrade libssl? couldnt seem to find libcrypto.so.2 anywhere on my system, but of course, i may not be looking in the right place...

please help! thanks.
 
Old 05-28-2004, 11:14 AM   #2
chrisan99
LQ Newbie
 
Registered: May 2004
Posts: 9

Rep: Reputation: 0
How about if you get a SRPM of courier and do a rebuild for your system ?

Cheers,
Chris
 
Old 05-28-2004, 11:24 AM   #3
mikeindo
Member
 
Registered: May 2004
Posts: 43

Original Poster
Rep: Reputation: 15
uh.. hehheh... you mean find a "courier-imap....src.rpm" somewhere, right? and customize it so it doesnt rely on libssl.so.2 and libcrypto.so.2? um, how do i do that?
 
Old 05-28-2004, 12:05 PM   #4
chrisan99
LQ Newbie
 
Registered: May 2004
Posts: 9

Rep: Reputation: 0
uhh - ok - I've just compiled courier-imap-3.0.3.tar.bz2 from source code on Redhat 9 using
./configure <blah options>
make
make check
checkinstall

[root@candrew courier-imap-3.0.3]# rpm -qil courier-imap
Name : courier-imap Relocations: (not relocateable)
Version : 3.0.3 Vendor: (none)
Release : 1 Build Date: Fri 28 May 2004 18:01:13 BST
Install Date: Fri 28 May 2004 18:01:29 BST Build Host: candrew.oxspring.comGroup : Applications/System Source RPM: courier-imap-3.0.3-1.src.rpm
Size : 1192611 License: GPL
Signature : (none)
Packager : checkinstall-1.5.3
Summary : Package created with checkinstall 1.5.3
Description :
Package created with checkinstall 1.5.3
/etc/pam.d/imap
...
etc

Regards,
Chris
 
Old 05-28-2004, 03:37 PM   #5
mikeindo
Member
 
Registered: May 2004
Posts: 43

Original Poster
Rep: Reputation: 15
chris, thanks again for your reply. ok, i found courier-map-3.0.3.tar.bz2, and ran ./configure (had to get gcc first) but with no options, then make.

***No target specified and no makefile found

an 'ls' verified no "make", but Makefile.an and Makefile.in

tried finding an RPM of that version, found 3.0.3-1 instead and naturally failed dependencies. argh. if youre kind enough to post another reply, i'll meanwhile find an SRPMS of it to try...

thanks again for help!

Last edited by mikeindo; 05-28-2004 at 03:43 PM.
 
Old 05-28-2004, 03:48 PM   #6
chrisan99
LQ Newbie
 
Registered: May 2004
Posts: 9

Rep: Reputation: 0
Hi,

It sounds like your configure didn't complete ? If it did, you should have a file called Makefile

Compiling from source is always more tricky than installing from RPM/SRPM. Thats why I initailly suggested SRPM. You have to remember that even though your initial RPM wanted libcrypto.so.2, etc, when you compile from SRPM, you are effectively recompiling from source, and this process will generally utilise whatever binaries, object files, libraries are available on your unit.

Also, as you have found, there are some components missing - I always install the kernel source and kernel utils when installing Linux.

Just another thought, is there a particular reason why you need such a recent courier-imap. You might have better luck if you drop back a release or two?

Cheers,
Chris
 
Old 05-28-2004, 04:00 PM   #7
mikeindo
Member
 
Registered: May 2004
Posts: 43

Original Poster
Rep: Reputation: 15
yeah, i might start dropping back on versions!

is there a way to verify the configure finished successfully? looking thru each line as it ran, it seemed that everything looked good. no errors or "cant find this." at the end was a lot of text about using RPMs instead of going from source, each line preceeded with

configure: WARNING === use the
configure: WARNING === RPMs instead
configure: WARNING === of source
configure: error: ... in either case you better know what youre doing!

that last 'error' line doesnt mean anything, does it?

even SRPMS seems to have its own set of variables to F up!

again, much appreciation!
 
Old 05-28-2004, 04:12 PM   #8
chrisan99
LQ Newbie
 
Registered: May 2004
Posts: 9

Rep: Reputation: 0
Hi,

Yes your configure failed - and a lack of a Makefile confirms this.

One thing I did notice when compiling from source was a friendly warning along the lines of "why are you doing this, we have a full set of binaries (RPMS) available on our website". It might be worth looking at slightly later versions of either RPM or SRPM?

Regards,
Chris
 
Old 05-28-2004, 04:17 PM   #9
mikeindo
Member
 
Registered: May 2004
Posts: 43

Original Poster
Rep: Reputation: 15
so a "makefile.am" and "makefile.in" are not what i'm looking for? i wonder why it failed...

yes, i'm definitely going to look for older versions...
 
  


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
Trackbacks are Off
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
libssl & libcrypto piXy Mandriva 1 12-12-2003 06:28 PM
libcrypto libssl Suse 8.2 and Linux - Software 0 11-01-2003 10:23 AM
libcrypto and libssl Ju Deddo Koinu Linux - Software 1 05-01-2003 10:54 PM
libcrypto.so.2 & libssl.so.2 safrout Linux - Software 11 06-28-2002 07:48 AM
libcrypto and libssl thanko Linux - Software 2 03-13-2002 11:16 AM


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

Main Menu
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