Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 29144 - Openssh won't link against openssl 0.9.7b-r2
Summary: Openssh won't link against openssl 0.9.7b-r2
Status: RESOLVED DUPLICATE of bug 13795
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: x86 Linux
: High normal (vote)
Assignee: SpanKY
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2003-09-19 13:27 UTC by rgm
Modified: 2005-07-17 13:06 UTC (History)
0 users

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 rgm 2003-09-19 13:27:31 UTC
When I try to emerge openssh-3.7.1_p1 OR openssh-3.7.1_p1-r1 it fails at link
with the following:

gcc -o ssh ssh.o readconf.o clientloop.o sshtty.o sshconnect.o sshconnect1.o
sshconnect2.o -L. -Lopenbsd-compat/  -lssh -lopenbsd-compat -lutil -lz -lnsl
-lcrypto -lcrypt
./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
distcc[13050] ERROR: compile on localhost failed
make: *** [ssh] Error 1

!!! ERROR: net-misc/openssh-3.7.1_p1 failed.
!!! Function src_compile, Line 108, Exitcode 2
!!! compile problem

Reproducible: Always
Steps to Reproduce:
1. unmerge all openssl libraries
2. unmerge openssh
3. remerge openssl-0.9.7b-r2
4. env-update
5. recompile everything that broke (wget, Python, portage, others)
6. try to merge openssh

Actual Results:  
Error linking?

Expected Results:  
openssh 3.7.1 in all its secure glory.  Or any version of openssh, really.

This isn't a distcc problem.  Same errors if I use MAKEOPTS=-j1.
emerge info:

Portage 2.0.49-r4 (default-x86-1.4, gcc-3.2.3, glibc-2.3.2-r1, 2.4.20-gentoo-r6)
=================================================================
System uname: 2.4.20-gentoo-r6 i686 Celeron (Coppermine)
distcc 2.10 i686-pc-linux-gnu (protocols 1 and 2) (default port 3632) [enabled]
ACCEPT_KEYWORDS="x86 ~x86"
AUTOCLEAN="yes"
CFLAGS="-march=pentium3 -O3 -pipe -fomit-frame-pointer"
CHOST="i686-pc-linux-gnu"
COMPILER="gcc3"
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/texmf/tex/ge
neric/config/ /usr/share/texmf/tex/platex/config/ /usr/share/config"
CONFIG_PROTECT_MASK="/etc/gconf /etc/env.d"
CXXFLAGS="-march=pentium3 -O3 -pipe -fomit-frame-pointer"
DISTDIR="/usr/portage/distfiles"
FEATURES="sandbox ccache autoaddcvs distcc"
GENTOO_MIRRORS="http://gentoo.noved.org/ http://adelie.polymtl.ca/ http://mirror
s.tds.net/gentoo http://ftp.snt.utwente.nl/pub/os/linux/gentoo http://gentoo.che
m.wisc.edu/gentoo/"
MAKEOPTS="-j4"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://rsync.namerica.gentoo.org/gentoo-portage"
USE="x86 oss apm avi crypt cups encode foomaticdb gif jpeg libg++ mad mikmod mpe
g ncurses pdflib png quicktime spell xml2 xmms xv zlib gtkhtml gdbm berkdb slang
 readline arts tetex bonobo svga tcltk java guile postgres X sdl gpm tcpd pam li
bwww ssl perl python esd imlib oggvorbis gnome gtk qt kde motif opengl mozilla c
dr gtk2 -nls truetype alsa maildir moznoirc moznomail moznocompose mozsvg sse mm
x"
Comment 1 rgm 2003-09-19 13:32:12 UTC
Crap sorry. Looks like duplicate of bug 13795
Comment 2 SpanKY gentoo-dev 2003-09-20 00:47:26 UTC

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