Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 456136

Summary: net-dns/bind-tools with dev-libs/openssl-1.0.1c - nslookup: error: [...] /usr/lib64/engines/libgost.so: cannot open shared object file: No such file or directory
Product: Gentoo Linux Reporter: Sergey Bobrov <sergey.bobrov83>
Component: [OLD] LibraryAssignee: Christian Ruppert (idl0r) <idl0r>
Status: RESOLVED FIXED    
Severity: normal CC: sergey.bobrov83
Priority: Normal    
Version: unspecified   
Hardware: AMD64   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

Description Sergey Bobrov 2013-02-08 10:21:46 UTC
equery list "*" | grep openssl
dev-libs/openssl-0.9.8x
dev-libs/openssl-1.0.1c

ls: cannot access /usr/lib64/engines/libgost.so: No such file or directory

nslookup google.com
08-Feb-2013 12:20:44.775 ENGINE_by_id failed
08-Feb-2013 12:20:44.775 error:25066067:DSO support routines:DLFCN_LOAD:could not load the shared library:dso_dlfcn.c:187:filename(/usr/lib64/engines/libgost.so): /usr/lib64/engines/libgost.so: cannot open shared object file: No such file or directory
08-Feb-2013 12:20:44.775 error:25070067:DSO support routines:DSO_load:could not load the shared library:dso_lib.c:244:
08-Feb-2013 12:20:44.775 error:260B6084:engine routines:DYNAMIC_LOAD:dso not found:eng_dyn.c:450:
08-Feb-2013 12:20:44.775 error:2606A074:engine routines:ENGINE_by_id:no such engine:eng_list.c:417:id=gost
(null): dst_lib_init: crypto failure


Reproducible: Always

Steps to Reproduce:
1. nslookup google.com
2. host google.com
3....
Actual Results:  
08-Feb-2013 12:20:44.775 ENGINE_by_id failed
08-Feb-2013 12:20:44.775 error:25066067:DSO support routines:DLFCN_LOAD:could not load the shared library:dso_dlfcn.c:187:filename(/usr/lib64/engines/libgost.so): /usr/lib64/engines/libgost.so: cannot open shared object file: No such file or directory
08-Feb-2013 12:20:44.775 error:25070067:DSO support routines:DSO_load:could not load the shared library:dso_lib.c:244:
08-Feb-2013 12:20:44.775 error:260B6084:engine routines:DYNAMIC_LOAD:dso not found:eng_dyn.c:450:
08-Feb-2013 12:20:44.775 error:2606A074:engine routines:ENGINE_by_id:no such engine:eng_list.c:417:id=gost
(null): dst_lib_init: crypto failure


Expected Results:  
Server:		192.168.1.1
Address:	192.168.1.1#53

Non-authoritative answer:
Name:	google.com
Address: 173.194.39.174
Name:	google.com
Address: 173.194.39.169
Name:	google.com
Address: 173.194.39.167
Name:	google.com
Address: 173.194.39.162
Name:	google.com
Address: 173.194.39.168
Name:	google.com
Address: 173.194.39.164
Name:	google.com
Address: 173.194.39.166
Name:	google.com
Address: 173.194.39.165
Name:	google.com
Address: 173.194.39.163
Name:	google.com
Address: 173.194.39.161
Name:	google.com
Address: 173.194.39.160
Comment 1 Sergey Bobrov 2013-02-08 10:22:47 UTC
emerge --info
Portage 2.1.11.31 (default/linux/amd64/13.0/desktop/gnome, gcc-4.6.3, glibc-2.15-r3, 3.6.11-gentoo x86_64)
=================================================================
System uname: Linux-3.6.11-gentoo-x86_64-Intel-R-_Core-TM-_i3_CPU_M_380_@_2.53GHz-with-gentoo-2.1
Timestamp of tree: Fri, 08 Feb 2013 07:15:01 +0000
ld GNU ld (GNU Binutils) 2.22
app-shells/bash:          4.2_p37
dev-java/java-config:     2.1.12-r1
dev-lang/python:          2.7.3-r2, 3.2.3
dev-util/cmake:           2.8.9
dev-util/pkgconfig:       0.28
sys-apps/baselayout:      2.1-r1
sys-apps/openrc:          0.11.8
sys-apps/sandbox:         2.5
sys-devel/autoconf:       2.13, 2.69
sys-devel/automake:       1.11.6
sys-devel/binutils:       2.22-r1
sys-devel/gcc:            4.6.3
sys-devel/gcc-config:     1.7.3
sys-devel/libtool:        2.4-r1
sys-devel/make:           3.82-r4
sys-kernel/linux-headers: 3.6 (virtual/os-headers)
sys-libs/glibc:           2.15-r3
Repositories: gentoo
ACCEPT_KEYWORDS="amd64"
ACCEPT_LICENSE="* -@EULA"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=core2 -O2 -pipe -fomit-frame-pointer"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/gnupg/qualified.txt"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/dconf /etc/env.d /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo /etc/texmf/language.dat.d /etc/texmf/language.def.d /etc/texmf/updmap.d /etc/texmf/web2c"
CXXFLAGS="-march=core2 -O2 -pipe -fomit-frame-pointer"
DISTDIR="/usr/portage/distfiles"
FCFLAGS="-O2 -pipe"
FEATURES="assume-digests binpkg-logs candy config-protect-if-modified distlocks ebuild-locks fixlafiles merge-sync news parallel-fetch protect-owned sandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch xattr"
FFLAGS="-O2 -pipe"
GENTOO_MIRRORS="http://gentoo.kiev.ua/ftp"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
MAKEOPTS="-j5"
PKGDIR="/usr/portage/packages"
PORTAGE_CONFIGROOT="/"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --stats --human-readable --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY=""
SYNC="rsync://rsync.ua.gentoo.org/gentoo-portage"
USE="3dnow 3dnowext X a52 aac aalib accessibility acl acpi additions aiglx aim alsa amd64 apm artswrappersuid audiofile avahi avi bash-completion berkdb bidi bindist bluetooth branding bzip2 cairo cdda cddb cdr classic cli consolekit cracklib crypt cxx dbus dga dhclient dhcpcd dri dts dv dvb dvd dvdr dvdread dvi edit eds egl emboss encode evo exif fam fame fat ffmpeg firefox flac foomatic-db fortran freerdp freetype g3dvl gallium gcj gdbm gif gimpprint gmp gnome gnome-keyring gnome-online-accounts gnutls google-chrome gphoto2 gpm gsm gstreamer gtk gtk3 gzip hal hfs http iconv icq imap inotify ipv6 irc jabber jack java jfs joystick jpeg jpeg2k kerberos lame lcd lcdfilter lcms ldap libnotify libvisual live lm_sensors lzo mad mail matroska minizip mjpeg mms mmx mng modules mp3 mp3rtp mp4 mpeg mplayer msn mudflap multilib musepack musicbrainz nautilus network nls nmap nptl nsplugin nss ntfs ogg openal openexr opengl openmp oss pam pango pcre pda pdf perl perl* png policykit ppds ppp pulseaudio python qmax qt3support rar rdesktop readline reiserfs rss samba scanner sdl semantic-desktop session slang slp socialweb sound speex spell sse sse2 sse3 ssl ssse3 startup-notification stream svg sysfs syslog taglib tcpd textures theora tiff truetype udev udisks unicode upower usb v4l v4l2 vcd visualization vorbis wavpack wmf wxwidgets x264 xattr xcb xdg xfs xine xinerama xml xmpp xpm xprint xulrunner xv xvid xvmc yahoo zeroconf zlib zsh-completion" ABI_X86="64" ALSA_CARDS="hda-intel" 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="authn_core authz_core socache_shmcb unixd 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 autoindex cache cgi cgid dav dav_fs dav_lock deflate dir disk_cache env expires ext_filter file_cache filter headers include info log_config logio mem_cache mime mime_magic negotiation rewrite setenvif speling status unique_id userdir usertrack vhost_alias" CALLIGRA_FEATURES="kexi words flow plan sheets stage tables krita karbon braindump" 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 superstar2 timing tsip tripmate tnt ubx" INPUT_DEVICES="evdev synaptics mouse keyboard" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LIBREOFFICE_EXTENSIONS="presenter-console presenter-minimizer" LINGUAS="en ru uk" PHP_TARGETS="php5-3" PYTHON_SINGLE_TARGET="python2_7" PYTHON_TARGETS="python2_7 python3_2" RUBY_TARGETS="ruby18 ruby19" USERLAND="GNU" VIDEO_CARDS="radeon" 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, LANG, LC_ALL, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, USE_PYTHON
Comment 2 Jeroen Roovers (RETIRED) gentoo-dev 2013-02-09 16:14:35 UTC
Looks like you have USE=-rfc3779 . I am not sure whether this is a bug in bind-tools or in openssl.
Comment 3 Sergey Bobrov 2013-02-11 09:40:17 UTC
I only have these in USE with minus
-arts -cleartype -colord -cups -kde -kdeprefix -mclib -ncurses -qt -qt4 -test


cat /etc/portage/make.conf
CFLAGS="-march=core2 -O2 -pipe -fomit-frame-pointer"
CXXFLAGS="${CFLAGS}"
CHOST="x86_64-pc-linux-gnu"
MAKEOPTS="-j5"

USE_GOOD="
3dnow 3dnowext a52 aac aalib accessibility acl acpi additions aiglx aim alsa amd64 apm
aqua artswrappersuid audiofile avahi avi bash-completion bidi bindist bluetooth bzip2
cairo cdda cddb cdr classic consolekit dbus dga dhclient dhcpcd dri dts dv dvb dvd dvdr dvdread dvi edit eds
egl fame fat ffmpeg flac foomatic-db freerdp freetype g3dvl gallium gcj gif gimpprint gmp gnome
gnome-keyring gnutls google-chrome gphoto2 gpm gsm gstreamer gtk gtk3 gzip hal hfs http iconv icq
imap inotify ipv6 irc jabber jack java jfs joystick jpeg jpeg2k kerberos lame lcd lcdfilter libnotify
libvisual live lm_sensors lzo mail matroska minizip mjpeg mms mmx modules mp3 mp3rtp mp4 mpeg mplayer
msn musepack musicbrainz nautilus network nls nmap nptl nsplugin nss ntfs ogg openal openexr opengl oss pda
pdf perl perl* png policykit ppds ppp pulseaudio python qmax rar rdesktop real reiserfs rss samba
scanner sdl semantic-desktop slang slp sound speex sse sse2 sse3 ssse3 startup-notification stream
svg sysfs syslog taglib textures theora tiff udev unicode usb v4l v4l2 vcd visualization vorbis wavpack
win32codecs wmf X x264 xattr xcb xdg xfs xine xinerama xml xmpp xpm xprint xulrunner xv xvid xvmc yahoo
zeroconf zsh-completion
"

USE_BAD="
-arts -cleartype -colord -cups -kde -kdeprefix -mclib -ncurses -qt -qt4 -test
"

USE="${USE_GOOD} ${USE_BAD}"

PORTDIR_OVERLAY="${PORTDIR_OVERLAY} /usr/local/portage"
FEATURES="candy"
LINGUAS="en ru uk"
SYNC="rsync://rsync.ua.gentoo.org/gentoo-portage"
GENTOO_MIRRORS="http://gentoo.kiev.ua/ftp/ http://gentoo.iteam.net.ua/ ftp://portage.org.ua/ http://portage.org.ua/"
VIDEO_CARDS="radeon"
ALSA_CARDS="hda-intel"
INPUT_DEVICES="evdev synaptics mouse keyboard"


cat /etc/portage/package.use

app-misc/mc -ncurses -samba slang -test
gnome-base/gdm -accessibility
net-im/pidgin meanwhile
#required by media-libs/libgphoto2-2.4.14[zeroconf], required by gnome-base/gvfs-1.12.3[gphoto2], required by app-cdr/brasero-2.32.1-r1, required by media-sound/sound-juicer-2.32.0-r1, required by gnome-base/gnome-2.32.1-r2, required by gnome (argument)
=net-dns/avahi-0.6.30-r3 mdnsresponder-compat
#required by sys-process/iotop-0.4.3, required by iotop (argument)
=dev-lang/python-2.7.3-r2 ncurses
sys-apps/util-linux ncurses
#required by net-print/cups-1.5.2-r4, required by www-client/google-chrome-25.0.1364.58_beta179520, required by google-chrome (argument)
=app-text/ghostscript-gpl-9.05-r1 cups
net-wireless/wpa_supplicant eap-sim
Comment 4 Sergey Bobrov 2013-02-11 11:56:34 UTC
tryied to rebuild openssl with USE=rfc3779

dev-libs/openssl rfc3779

but no luck, still no /usr/lib64/engines/libgost.so after rebuild
Comment 5 Sergey Bobrov 2013-02-11 12:10:05 UTC
OMG
reemerged bind-tools without any additional USE flags and it start working.
Comment 6 Sergey Bobrov 2013-02-11 12:12:54 UTC
P.S. no file /usr/lib64/engines/libgost.so
worked without it
Comment 7 Christian Ruppert (idl0r) gentoo-dev 2014-01-31 21:39:10 UTC
This should be fixed in bind-tools-9.9.5-r1. Thanks!