ssh, openssl, libssl, lcrypto


Forum: Other Help Topics
Topic: ssh, openssl, libssl, lcrypto
started by: antonino

Posted by antonino on Sep. 30 2006,14:26
Hi all,

I am trying to install pwdsafe-0.2.0 on my dsl-box. I first installed gcc to get the pwdsafe configure to work a bit at least.

pwdsafe configure starts checking lib-availability and stumbles over:
Code Sample
checking for SHA1_Init in -lcrypto... no
configure: error: openssl (libssl) is required

game over...

I installed openssl and openssh (with apt-get from sarge) and then tried to install libssl0.9.6 with:
Code Sample
apt-get install libssl0.9.6

which at a certain point tells:
Code Sample
Setting up ssh (3.8.1p1-8.sarge.4)...
Upgrading sshd_config (old versionin .dkpg_old) ...chown: unrecognized option '--reference'
.
.
.
dkpg: error processing ssh (--configure): .... error exit status 1


Information & help about what is happening here and what to do next is highly appreciated!

Posted by ^thehatsrule^ on Sep. 30 2006,22:06
Try using the gnu-utils package in mydsl.
Posted by antonino on Oct. 02 2006,09:10
I logged in as user dsl, downloaded the gnu-utils package and loaded the local extension.
Then I logged in as another user and tried to load the local extension here too, alas to no avail.

The openssl (libssl) is still not found...

Posted by ^thehatsrule^ on Oct. 02 2006,13:45
Uh, what's the exact problem/error this time?

I guess I should've posted that my last reply was just a suggestion in reference to
Quote
chown: unrecognized option '--reference'

Posted by antonino on Oct. 02 2006,14:43
Well *this time*:

1. still the problem not being able to install pwdsafe because openssl (libssl) is not found, because I cannot install libssl because upgrading sshd_config fails...

2. Loading local MyDsl as another user than dsl does not work...

Posted by ^thehatsrule^ on Oct. 02 2006,15:54
1. Ah I see... the 0.9.6 included in DSL doesn't have crypto for libssl.  If you're sure the sarge apt ones have it, just download the .deb's for libssl0.9.6 and libcrypto0.9.6 and extract them (dpkg -X).  Take out only those 2 libraries, and replace the old libssl (libcrypto should reside in the same dir).  Or you could try recompiling them...

2. myDSL is _only_ meant to be installed by the 'dsl' user (the 1001 uid)

Posted by antonino on Oct. 03 2006,16:38
1. Oh dear, oh dear, so much dependencies for these libs.... Just a bit too much for now, but thanks for the advice.

2. I was already afraid of that...

Posted by antonino on Oct. 04 2006,13:00
And for those interested: the solution stared me in the face from the beginning...

Code Sample
#apt-get install mypasswordsafe


was all I had to do...

Powered by Ikonboard 3.1.2a
Ikonboard © 2001 Jarvis Entertainment Group, Inc.