LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Fedora
User Name
Password
Fedora This forum is for the discussion of the Fedora Project.

Notices



Reply
 
Search this Thread
Old 06-30-2005, 09:55 AM   #1
TSJoshB
LQ Newbie
 
Registered: Jun 2005
Posts: 4

Rep: Reputation: 0
FC2 compiling openssl/openssh


I am trying to get openssl.0.9.7g and openssh4.1 updated on several FC2 boxes. I am able to compile each without a problem and they seem to be working until ldconfig is ran. SSH will then close the connection after entering a username.
If I force ssh to use protocol 1 and restart ssh, it works. If I disable PrivilegeSeperation and restart ssh, it will work as well for both protocol 1 and 2. I am compiling ssl and ssh with these commands.
OpenSSL
./config shared --prefix=/usr
make && make install

OpenSSH
./configure --prefix=/usr --sysconfdir=/etc/ssh --with-ssl-dir=/usr
make && make install

I am not seeing any errors when this and ssh works until ldconfig is ran. So I am assuming this is a library issue. I have the outputs of ldconfig -v and sshd running in debug mode if it will help. I am assuming this is a library issue with libcrypto. If I force an openssh-server.3.6.1 rpm install, ssh starts working again.
Has anyone else came across this type of problem?


Josh
 
Old 07-04-2005, 12:31 PM   #2
Simon_6162
Member
 
Registered: Jul 2004
Location: UK
Distribution: Fedora, Gentoo, Redhat Enterprise
Posts: 141

Rep: Reputation: 16
I don't really know what is going on here, but here is a suggestion.

Are the library files going into /usr/lib or /usr/local/lib ? If its the latter have you got /usr/local/lib in your
/etc/ld.so.conf file? If not add it and run ldconfig again.

Also have you uninstalled the old rpm's first so there are no confilcts? (as you are replaceing them you can use prm -e -nodeps )

Good Luck

Simon
 
Old 07-04-2005, 02:15 PM   #3
TSJoshB
LQ Newbie
 
Registered: Jun 2005
Posts: 4

Original Poster
Rep: Reputation: 0
I removed both openssl and openssh rpms and recompiled each with the same options. It is still failing. The libraries are installing to /usr/lib. I have also tested this on 2 test servers with freshly installed OS, FC2. Same results on both servers.

Josh
 
Old 07-04-2005, 03:02 PM   #4
Simon_6162
Member
 
Registered: Jul 2004
Location: UK
Distribution: Fedora, Gentoo, Redhat Enterprise
Posts: 141

Rep: Reputation: 16
Well I have no idea whats causing that other than its finding the wrong version of the same lib. Probably somewhere earlier on in the lib path.

Is this any help to you ?
ftp://ftp.openbsd.org/pub/OpenBSD/Op...table/rpm/FC2/
it has a slightly later version of openssh for FC2 in rpm form.

Sorry I can't help anymore I just upgraded my FC2 to FC4 last week so can't play about with it. But that has ssh4 so maybe that could be an option for you?
 
Old 07-04-2005, 03:25 PM   #5
TSJoshB
LQ Newbie
 
Registered: Jun 2005
Posts: 4

Original Poster
Rep: Reputation: 0
Simon, thanks for your help. I am trying to stay away from rpm updates and would rather stick with compiling from source. Has anyone else successfully upgraded openssl and openssh from source?
 
  


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
Is openssl used by openssh? servnov Linux - General 5 10-30-2005 01:31 PM
problem compiling openssh josephswagner Linux - Software 1 03-27-2005 06:42 AM
Trouble compiling nmap with openssl glenik Linux - Software 0 06-19-2004 11:48 AM
Problem compiling squid with openssl Terayon Linux - Software 4 05-12-2004 01:20 AM
Slackware8.0 .SlackBuild file for OpenSSH & OpenSSL init6 Slackware 1 09-20-2003 11:01 AM


All times are GMT -5. The time now is 08:17 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