Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 16455 - OpenSSL 0.97a breaks OpenSSH
Summary: OpenSSL 0.97a breaks OpenSSH
Status: RESOLVED DUPLICATE of bug 13795
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Library (show other bugs)
Hardware: x86 Linux
: High normal (vote)
Assignee: Daniel Ahlberg (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2003-02-27 03:16 UTC by Troy Telford
Modified: 2005-07-17 13:06 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Troy Telford 2003-02-27 03:16:26 UTC
ACCEPT_KEYWORDS="~x86" 
I'm using the new glibc, so that might have something to do with it; of course, it may not also. 
 
In either case, after upgrading OpenSSL from -0.96i to 0.97a, Openssh decides it doesn't want 
to work.  (Wants libcrypt<something>.so.<?>) 
 
Re-compiling OpenSSH fails, so that's not a workaround. 
 
Downgrading OpenSSL, however, does work. 

Reproducible: Always
Steps to Reproduce:
1.  Upgrade to OpenSSL 0.97a 
2.  Reload (open)sshd (it fails) 
3.  Downgrade to OpenSSL 0.96i 
4.  Reload (open)sshd (success) 
Actual Results:  
As mentioned in "steps to reproduce" 

Expected Results:  
OpenSSH is expected to either reload, or allow recompiling against the newer OpenSSL.  It 
doesn't.
Comment 1 SpanKY gentoo-dev 2003-02-27 03:58:59 UTC
could you post the exact error you are seeing along with `emerge info`, the version of glibc installed, and the version of gcc installed
Comment 2 Troy Telford 2003-02-27 14:14:17 UTC
Error:  (Open)sshd start
troy@sparky troy $ sudo /etc/init.d/sshd restart
 * Stopping sshd...                                                       [ ok ]
 * Starting sshd...
/usr/sbin/sshd: error while loading shared libraries: libcrypto.so.0.9.6: cannot open shared object file: No such file or directory

This is mostly expected, as when upgrading SSL, it tells you to rebuild everything that links to OpenSSL.

When re-emerging OpenSSH:

./libssh.a(rsa.o)(.text+0x272): In function `rsa_generate_additional_parameters':
: undefined reference to `BN_mod'
./libssh.a(rsa.o)(.text+0x2a4): In function `rsa_generate_additional_parameters':
: undefined reference to `BN_mod'
collect2: ld returned 1 exit status
make: *** [ssh] Error 1

!!! ERROR: net-misc/openssh-3.5_p1-r1 failed.
!!! Function src_compile, Line 77, Exitcode 2
!!!  compile problem

GCC Version:  (gcc -v)
Reading specs from /usr/lib/gcc-lib/i686-pc-linux-gnu/3.2.2/specs
Configured with: /var/tmp/portage/gcc-3.2.2-r1/work/gcc-3.2.2/configure --prefix=/usr --bindir=/usr/i686-pc-linux-gnu/gcc-bin/3.2 --includedir=/usr/lib/gcc-lib/i686-pc-linux-gnu/3.2.2/include --datadir=/usr/share/gcc-data/i686-pc-linux-gnu/3.2 --mandir=/usr/share/gcc-data/i686-pc-linux-gnu/3.2/man --infodir=/usr/share/gcc-data/i686-pc-linux-gnu/3.2/info --enable-shared --host=i686-pc-linux-gnu --target=i686-pc-linux-gnu --with-system-zlib --enable-languages=c,c++,ada,f77,objc,java --enable-threads=posix --enable-long-long --disable-checking --enable-cstdio=stdio --enable-clocale=generic --enable-__cxa_atexit --enable-version-specific-runtime-libs --with-gxx-include-dir=/usr/lib/gcc-lib/i686-pc-linux-gnu/3.2.2/include/g++-v3 --with-local-prefix=/usr/local --enable-shared --enable-nls --without-included-gettext
Thread model: posix
gcc version 3.2.2

Emerge Info:

Portage 2.0.44 (default-x86-1.4, gcc-3.2.2, glibc-2.3.2_pre1-r0)
=================================================================
System uname: 2.4.20 i686 AMD Athlon(TM) XP 1800+
USE="x86 oss 3dnow apm avi crypt cups encode gif jpeg libg++ mikmod mmx mpeg ncurses nls pdflib png qtmt quicktime spell truetype xml2 xmms xv zlib gdbm slang readline arts svga java X sdl gpm tcpd pam libwww ssl python imlib oggvorbis gnome gtk qt kde motif opengl aalib alsa atlas -berkdb bonobo cdr dga doc dvd esd evo fbcon flash gb gd ggi ggz gtk2 gtkhtml guile imap jikes leim libgda maildir mbox mozilla nas oav perl pic plotutils postgres ruby samba sasl scanner slp snmp socks5 sse tcltk tetex tiff usb wmf xml"
ARCH="x86"
COMPILER="gcc3"
CHOST="i686-pc-linux-gnu"
CFLAGS="-O3 -march=athlon-xp -pipe -fomit-frame-pointer -funroll-loops -fforce-addr -frerun-loop-opt "
CXXFLAGS="-O3 -march=athlon-xp -pipe -fomit-frame-pointer -funroll-loops -fforce-addr -frerun-loop-opt "
ACCEPT_KEYWORDS="x86 ~x86"
CONFIG_PROTECT="/etc /var/qmail/control /usr/kde/2/share/config /usr/kde/3/share/config /usr/X11R6/lib/X11/xkb /usr/kde/3.1/share/config /usr/share/config"
CONFIG_PROTECT_MASK="/etc/gconf /etc/env.d"
MAKEOPTS="-j2"
JDK_HOME="/opt/blackdown-jdk-1.4.1"
JAVA_HOME="/opt/blackdown-jdk-1.4.1"
AUTOCLEAN="yes"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
GENTOO_MIRRORS="http://www.ibiblio.org/pub/Linux/distributions/gentoo"


Comment 3 SpanKY gentoo-dev 2003-02-27 14:45:50 UTC
rebuilding is a known issue 
 
compilation error is a diff bug 

*** This bug has been marked as a duplicate of 13795 ***