Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 359955 - net-misc/openssh-5.8_p1-r1 - ssh: symbol lookup error: ssh: undefined symbol: EC_KEY_new_by_curve_name
Summary: net-misc/openssh-5.8_p1-r1 - ssh: symbol lookup error: ssh: undefined symbol:...
Status: RESOLVED INVALID
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: AMD64 Linux
: Normal normal
Assignee: Gentoo's Team for Core System packages
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-03-22 14:54 UTC by Lars
Modified: 2011-03-22 16:57 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 Lars 2011-03-22 14:54:42 UTC
After Update to ssh-5.8_p1-r1 i couldn't connect to the server. This happens only, when source and destination Host use openssh-5.8_p1-r1




Reproducible: Always

Steps to Reproduce:
1. emerge openssh-5.8_p1-r1 and update all config and init files on all gentoo PCs
2. ssh restart on all machines
3. ssh USER@TARGET
Actual Results:  
ssh: symbol lookup error: ssh: undefined symbol: EC_KEY_new_by_curve_name


Portage 2.1.9.44 (default/linux/amd64/10.0/desktop/kde, gcc-4.5.2, glibc-2.13-r2, 2.6.37-gentoo-110222 x86_64)
=================================================================
System uname: Linux-2.6.37-gentoo-110222-x86_64-AMD_Athlon-tm-_64_X2_Dual_Core_Processor_5000+-with-gentoo-2.0.2
Timestamp of tree: Mon, 21 Mar 2011 08:00:01 +0000
app-shells/bash:     4.2_p8
dev-java/java-config: 2.1.11-r3                                                                                                                                                                     
dev-lang/python:     2.6.6-r2, 2.7.1-r1, 3.1.3-r1                                                                                                                                                   
dev-util/cmake:      2.8.4                                                                                                                                                                          
sys-apps/baselayout: 2.0.2                                                                                                                                                                          
sys-apps/openrc:     0.7.0                                                                                                                                                                          
sys-apps/sandbox:    2.5                                                                                                                                                                            
sys-devel/autoconf:  2.13, 2.68                                                                                                                                                                     
sys-devel/automake:  1.4_p6-r1, 1.9.6-r3, 1.10.3, 1.11.1                                                                                                                                            
sys-devel/binutils:  2.21                                                                                                                                                                           
sys-devel/gcc:       4.4.5, 4.5.2                                                                                                                                                                   
sys-devel/gcc-config: 1.4.1                                                                                                                                                                         
sys-devel/libtool:   2.4-r1                                                                                                                                                                         
sys-devel/make:      3.82                                                                                                                                                                           
virtual/os-headers:  2.6.38 (sys-kernel/linux-headers)                                                                                                                                              
ACCEPT_KEYWORDS="amd64 ~amd64"                                                                                                                                                                      
ACCEPT_LICENSE="*"                                                                                                                                                                                  
CBUILD="x86_64-pc-linux-gnu"                                                                                                                                                                        
CFLAGS="-march=x86-64 -O2 -pipe"                                                                                                                                                                    
CHOST="x86_64-pc-linux-gnu"                                                                                                                                                                         
CONFIG_PROTECT="/etc /usr/share/config /usr/share/gnupg/qualified.txt"                                                                                                                              
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/php/apache2-php5.2/ext-active/ /etc/php/apache2-php5.3/ext-active/ /etc/php/cgi-php5.2/ext-active/ /etc/php/cgi-php5.3/ext-active/ /etc/php/cli-php5.2/ext-active/ /etc/php/cli-php5.3/ext-active/ /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo"
CXXFLAGS="-march=x86-64 -O2 -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="assume-digests binpkg-logs distlocks fixlafiles fixpackages metadata-transfer news parallel-fetch protect-owned sandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch"
FFLAGS=""
GENTOO_MIRRORS="http://distfiles.gentoo.org"
LANG="de_DE.UTF-8"
LDFLAGS="-Wl,-O1,--as-needed"
LINGUAS="de"
MAKEOPTS="-j4"
PKGDIR="/var/pkgfiles"
PORTAGE_CONFIGROOT="/"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/var/lib/layman/rion /var/lib/layman/mysql /usr/local/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="X a52 aac aalib acl acpi alsa amd64 apache2 apm berkdb bindist bluray branding bzip2 cairo cdda cdparanoia cdr cleartype cli consolekit cpudetection cracklib crypt cups cxx dbus desktopglobe dri dts dvd dvdr emboss encode exif fam ffmpeg firefox flac fortran gdbm gdu gif glibc-omitfp glitz gpm gstreamer gtk hddtemp iconv imagemagick innodb java java6 javascript jpeg kde kdehiddenvisibility kdm kipi lame lcms libnotify lm_sensors lzma lzo mad mikmod mmx mng modules mp3 mp4 mpeg mudflap multilib mysql ncurses nls nptl nptlonly nsplugin nspluginwrapper ogg openal opengl openmp pam pango pcre pdf perl phonon php pic plasma png policykit ppds pppd python qt3support qt4 quicktime readline samba sdl semantic-desktop session spell sqlite sqlite3 sse sse2 ssl startup-notification svg sysfs tcpd threads truetype udev unicode usb userlocales vorbis wxwidgets x264 xcb xine xinetd xml xorg xscreensaver xulrunner xv xvid zip zlib" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1x ens1370 ens1371 es1938 es1968 fm801 hda-intel intel8x0 intel8x0m maestro3 trident usb-audio via82xx via82xx-modem ymfpci" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mmap_emul mulaw multi null plug rate route share shm softvol" APACHE2_MODULES="actions alias auth_basic authn_alias authn_anon authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user deflate autoindex dir env expires ext_filter filter headers include info log_config logio mime mime_magic negotation rewrite site status unique_id usertrack vhost_alias dav" APACHE2_MPMS="worker" CAMERAS="ptp2" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" ELIBC="glibc" GPSD_PROTOCOLS="ashtech aivdm earthmate evermore fv18 garmin garmintxt gpsclock itrax mtk3301 nmea ntrip navcom oceanserver oldstyle oncore rtcm104v2 rtcm104v3 sirf superst                                                                                                                                                                                          apisupport ide java nb php" PHP_TARGETS="php5-3" QEMU_SOFTMMU_TARGETS="i386 x86_64" QEMU_USER_TARGETS="i386 x86_64" RUBY_TARGETS="ruby18" USERLAND="GNU" VIDEO_CARDS="vesa nv nvidia vmware" XTABLES_ADDONS="quota2 psd pknock lscan length2 ipv4options ipset ipp2p iface geoip fuzzy condition tee tarpit sysrq steal rawnat logmark ipmark dhcpmac delude chaos account"                                       
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LC_ALL, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 1 SpanKY gentoo-dev 2011-03-22 15:28:18 UTC
openssh uses ECDSA only if openssl provides it.  if you built against such an openssl, and then deployed against an openssl built with USE=bindist, that isnt a bug in openssh.  build against the same library you deploy against.

$ readelf -sW /usr/lib/libcrypto.so | grep EC_KEY_new_by_curve_name
  2755: 00000000000ac470    75 FUNC    GLOBAL DEFAULT   11 EC_KEY_new_by_curve_name
Comment 2 Lars 2011-03-22 16:37:31 UTC
Aahh...I see...

OK, recompiled openssh against openssl with use bindist

redeploy and

all is fine!


Thanks for support!

Greetz,

Bitspyer