Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 59961 - net-misc/openssh-3.8.1_p1-r1: fails to compile: libcom_err conflicts?
Summary: net-misc/openssh-3.8.1_p1-r1: fails to compile: libcom_err conflicts?
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: x86 Linux
: High normal (vote)
Assignee: Daniel Ahlberg (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-08-10 06:56 UTC by FieldySnuts
Modified: 2004-08-14 11:50 UTC (History)
0 users

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


Attachments
portage log: openssh-3.8.1_p1-r1 (2048-openssh-3.8.1_p1-r1.log,114.77 KB, text/plain)
2004-08-10 06:56 UTC, FieldySnuts
Details

Note You need to log in before you can comment on or make changes to this bug.
Description FieldySnuts 2004-08-10 06:56:20 UTC
net-misc/openssh-3.8.1_p1-r1 fails to compile for me. I will attach the full portage log, but here is the end bit:

gcc -o ssh ssh.o readconf.o clientloop.o sshtty.o sshconnect.o sshconnect1.o sshconnect2.o -L. -Lopenbsd-compat/  -lssh -lopenbsd-compat -lresolv -lcrypto -lutil -lz -lnsl -lcrypt -L/usr/lib -Wl,-rpath -Wl,/usr/lib -mcpu=pentium3 -O2 -pipe -fomit-frame-pointer -mmmx -msse -mfpmath=sse,387 -Wall -Wpointer-arith -Wno-uninitialized -lgssapi_krb5 -lkrb5 -lk5crypto -lcom_err -lresolv
gcc -o sshd sshd.o auth-rhosts.o auth-passwd.o auth-rsa.o auth-rh-rsa.o sshpty.o sshlogin.o servconf.o serverloop.o uidswap.o auth.o auth1.o auth2.o auth-options.o session.o auth-chall.o auth2-chall.o groupaccess.o auth-skey.o auth-bsdauth.o auth2-hostbased.o auth2-kbdint.o auth2-none.o auth2-passwd.o auth2-pubkey.o monitor_mm.o monitor.o monitor_wrap.o monitor_fdpass.o kexdhs.o kexgexs.o auth-krb5.o auth2-gss.o gss-serv.o gss-serv-krb5.o loginrec.o auth-pam.o auth-shadow.o auth-sia.o md5crypt.o -L. -Lopenbsd-compat/  -lssh -lopenbsd-compat -lwrap -lpam -ldl -lresolv -lcrypto -lutil -lz -lnsl -lcrypt -L/usr/lib -Wl,-rpath -Wl,/usr/lib -mcpu=pentium3 -O2 -pipe -fomit-frame-pointer -mmmx
-msse -mfpmath=sse,387 -Wall -Wpointer-arith -Wno-uninitialized -lgssapi_krb5 -lkrb5 -lk5crypto -lcom_err -lresolv
gcc -o ssh-add ssh-add.o -L. -Lopenbsd-compat/  -lssh -lopenbsd-compat -lresolv -lcrypto -lutil -lz -lnsl -lcrypt -L/usr/lib -Wl,-rpath -Wl,/usr/lib -mcpu=pentium3 -O2 -pipe -fomit-frame-pointer -mmmx -msse -mfpmath=sse,387 -Wall -Wpointer-arith -Wno-uninitialized -lgssapi_krb5 -lkrb5 -lk5crypto -lcom_err -lresolv
/usr/lib/gcc-lib/i686-pc-linux-gnu/3.2.3/../../../../i686-pc-linux-gnu/bin/ld: warning: libcom_err.so.3, needed by /usr/lib/libgssapi_krb5.so, may conflict with libcom_err.so.2
./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
make: *** Waiting for unfinished jobs....
/usr/lib/gcc-lib/i686-pc-linux-gnu/3.2.3/../../../../i686-pc-linux-gnu/bin/ld: warning: libcom_err.so.3, needed by /usr/lib/libgssapi_krb5.so, may conflict with libcom_err.so.2
./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-add] Error 1
/usr/lib/gcc-lib/i686-pc-linux-gnu/3.2.3/../../../../i686-pc-linux-gnu/bin/ld: warning: libcom_err.so.3, needed by /usr/lib/libgssapi_krb5.so, may conflict with libcom_err.so.2
auth-rsa.o(.text+0x5b): In function `auth_rsa_generate_challenge':
: undefined reference to `BN_mod'
./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: *** [sshd] Error 1



Portage 2.0.50-r1 (default-x86-1.4, gcc-3.2.3, glibc-2.3.2-r1, 2.6.7)
=================================================================
System uname: 2.6.7 i686 Pentium III (Katmai)
Gentoo Base System version 1.4.3.8p1
distcc 2.16 i686-pc-linux-gnu (protocols 1 and 2) (default port 3632) [disabled]
ccache version 2.3 [enabled]
Autoconf: sys-devel/autoconf-2.59
Automake: sys-devel/automake-1.8.5
ACCEPT_KEYWORDS="x86 ~x86"
AUTOCLEAN="yes"
CFLAGS="-mcpu=pentium3 -O2 -pipe -fomit-frame-pointer -mmmx -msse -mfpmath=sse,387"
CHOST="i686-pc-linux-gnu"
COMPILER="gcc3"
CONFIG_PROTECT="/etc /usr/X11R6/lib/X11/xkb /usr/kde/2/share/config /usr/kde/3.2/share/config /usr/kde/3/share/config /usr/lib/mozilla/defaults/pref /usr/share/config /var/bind /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-mcpu=pentium3 -O2 -pipe -fomit-frame-pointer -mmmx -msse -mfpmath=sse,387"
DISTDIR="/var/portage/distfiles"
FEATURES="autoaddcvs buildpkg ccache notitles sandbox"
GENTOO_MIRRORS="ftp://gentoo.mirrors.pair.com/ http://mirror.datapipe.net/gentoo http://open-systems.ufl.edu/mirrors/gentoo ftp://gentoo.netnitco.net/pub/mirrors/gentoo/source/ ftp://gentoo.ccccom.com"
MAKEOPTS="-j3"
PKGDIR="/var/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/var/portage"
PORTDIR_OVERLAY=""
SYNC="rsync://rsync.namerica.gentoo.org/gentoo-portage"
USE="X apache2 apm avi berkdb cdr chroot crypt cups encode esd foomaticdb gdbm gif gnome gpm gtk gtk2 imlib java jpeg kde kerberos ldap libg++ libwww mad mikmod mmx motif mozilla mpeg mysql ncurses nls oggvorbis opengl oss pam pdflib perl png python qt quicktime readline sdl slang snmp spell sse ssl svga tcpd tiff truetype x86 xml2 xmms xv zlib"
Comment 1 FieldySnuts 2004-08-10 06:56:54 UTC
Created attachment 37147 [details]
portage log: openssh-3.8.1_p1-r1
Comment 2 Daniel Ahlberg (RETIRED) gentoo-dev 2004-08-13 15:16:34 UTC
Try removing /$(gcc-config -L)/include/openssl/bn.h or re-emerge openssl.
Comment 3 FieldySnuts 2004-08-13 16:45:04 UTC
Remerging openssl , then merging openssh, did the trick.

Thanks a lot!
Comment 4 Daniel Ahlberg (RETIRED) gentoo-dev 2004-08-14 11:50:41 UTC
.