After emerging recode this morning, fortune gives the following error: fortune: symbol lookup error: /usr/lib/librecode.so.0: undefined symbol: program_name Re-emerging fortune resolves the issue. At least two x86 boxen affected so far. =|;-)
emerge --info, please...
Not a problem: [11:59][root@ben:cron.hourly]# emerge --info Portage 2.1-r2 (default-linux/x86/2006.0, gcc-3.3.6, glibc-2.3.6-r4, 2.6.16-gentoo-r7-Athlon-Production-1 i686) ================================================================= System uname: 2.6.16-gentoo-r7-Athlon-Production-1 i686 AMD Athlon(tm) 2700+ Gentoo Base System version 1.12.4 app-admin/eselect-compiler: [Not Present] dev-lang/python: 2.3.5-r2, 2.4.3-r1 dev-python/pycrypto: 2.0.1-r5 dev-util/ccache: [Not Present] dev-util/confcache: [Not Present] sys-apps/sandbox: 1.2.17 sys-devel/autoconf: 2.13, 2.59-r7 sys-devel/automake: 1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2 sys-devel/binutils: 2.16.1-r3 sys-devel/gcc-config: 1.3.13-r3 sys-devel/libtool: 1.5.22 virtual/os-headers: 2.6.11-r2 ACCEPT_KEYWORDS="x86" AUTOCLEAN="yes" CBUILD="i586-pc-linux-gnu" CFLAGS="-march=athlon-xp -O3 -pipe -fomit-frame-pointer" CHOST="i586-pc-linux-gnu" CONFIG_PROTECT="/etc /usr/kde/3.4/env /usr/kde/3.4/share/config /usr/kde/3.4/shutdown /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/share/X11/xkb /usr/share/config" CONFIG_PROTECT_MASK="/etc/env.d /etc/gconf /etc/revdep-rebuild /etc/terminfo" CXXFLAGS="-march=athlon-xp -O3 -pipe -fomit-frame-pointer" DISTDIR="/usr/portage/distfiles" FEATURES="autoconfig distlocks metadata-transfer sandbox sfperms strict" GENTOO_MIRRORS="http://mirror.datapipe.net/gentoo http://gentoo.osuosl.org/ ftp://mirrors.tds.net/gentoo" MAKEOPTS="-j2" PKGDIR="/mnt/cdrom/" PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --delete-after --stats --timeout=180 --exclude='/distfiles' --exclude='/local' --exclude='/packages'" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" SYNC="rsync://sync.oneeighty.com/gentoo-portage" USE="x86 apache2 apm avi berkdb clearpasswd cli crypt dlloader dri eds emboss encode esd foomaticdb fortran gdbm gif gpm gtk2 imlib isdnlog jpeg libg++ libwww mad mbox mikmod motif mpeg ncurses nls nptl opengl oss pam pcre pdflib perl png pppd python qt3 qt4 quicktime readline reflection sdl session spell spl tcpd udev userlocales xinetd xml xorg xv zlib elibc_glibc input_devices_keyboard input_devices_mouse input_devices_evdev kernel_linux userland_GNU" Unset: CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LANG, LC_ALL, LDFLAGS, LINGUAS, PORTAGE_RSYNC_EXTRA_OPTS, PORTDIR_OVERLAY That's an Athlon (personal) box. This is a Dell PE1550 at work and our main Rsync server for portage. [12:43][root@ic:mysql]# emerge --info Portage 2.1-r2 (default-linux/x86/2006.0, gcc-3.3.6, glibc-2.3.6-r4, 2.6.11-gentoo-r11-Prod-1 i686) ================================================================= System uname: 2.6.11-gentoo-r11-Prod-1 i686 Pentium III (Coppermine) Gentoo Base System version 1.12.4 ccache version 2.3 [enabled] app-admin/eselect-compiler: [Not Present] dev-lang/python: 2.3.5-r2, 2.4.3-r1 dev-python/pycrypto: 2.0.1-r5 dev-util/ccache: 2.3 dev-util/confcache: [Not Present] sys-apps/sandbox: 1.2.17 sys-devel/autoconf: 2.13, 2.59-r7 sys-devel/automake: 1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2 sys-devel/binutils: 2.16.1-r3 sys-devel/gcc-config: 1.3.13-r3 sys-devel/libtool: 1.5.22 virtual/os-headers: 2.6.11-r2 ACCEPT_KEYWORDS="x86" AUTOCLEAN="yes" CBUILD="i686-pc-linux-gnu" CFLAGS="-O2 -march=i686 -fomit-frame-pointer" CHOST="i686-pc-linux-gnu" CONFIG_PROTECT="/etc /usr/X11R6/lib/X11/xkb /usr/kde/3.2/share/config /usr/kde/3.3/env /usr/kde/3.3/share/config /usr/kde/3.3/shutdown /usr/lib/mozilla/defaults/pref /usr/share/config" CONFIG_PROTECT_MASK="/etc/env.d /etc/gconf /etc/revdep-rebuild /etc/terminfo" CXXFLAGS="-O2 -march=i686 -fomit-frame-pointer" DISTDIR="/usr/portage/distfiles" FEATURES="autoconfig ccache distlocks fixpackages metadata-transfer sandbox sfperms strict" GENTOO_MIRRORS="http://mirror.datapipe.net/gentoo http://gentoo.osuosl.org/" MAKEOPTS="-j3" PKGDIR="/usr/portage/packages" PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --delete-after --stats --timeout=180 --exclude='/distfiles' --exclude='/local' --exclude='/packages'" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" SYNC="rsync://rsync.us.gentoo.org/gentoo-portage" USE="x86 alsa apache2 apm avi berkdb bitmap-fonts cli crypt dlloader dri eds emboss encode esd foomaticdb fortran gdbm gif gpm gstreamer gtk2 imlib isdnlog jpeg libg++ libwww mad mbox mikmod motif mp3 ncurses nls nptl ogg oss pam pcre pdflib perl png pppd python qt3 qt4 quicktime readline reflection session spell spl tcpd truetype truetype-fonts type1-fonts udev userlocales vorbis xml xmms xorg xv zlib elibc_glibc input_devices_keyboard input_devices_mouse input_devices_evdev kernel_linux userland_GNU" Unset: CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LANG, LC_ALL, LDFLAGS, LINGUAS, PORTAGE_RSYNC_EXTRA_OPTS, PORTDIR_OVERLAY
You need to reopen the bug, otherwise noone will notice again...
How is this different from needing to rerun revdep-rebuild after library upgrades?
In answer to your question, probably none! However, no notice is given to run that. I do not sit around watching all these updates, and unless there are flags to run revdep-rebuild (as there sometimes are) I don't do it just because I did an emerge.
BTW, I just updated another x86. A Dell PE2650. Same error from fortune. Ran revdep-rebuild and it DID NOT find the lib error. Fortune errored just as before until I re-emerged it.
so if you re-emerge fortune-mod, does it fix fortune ?
Yes, it fixes fortune...
i imagine something else is going on in your system ... recode-3.6-r1 doesnt provide the program_name symbol either
Well, let put it this way. Here's what got emerged the day this started: 1155577893: Started emerge on: Aug 14, 2006 11:51:33 1155577893: *** emerge --update --deep --verbose --ask world 1155577923: >>> emerge (1 of 2) sys-apps/baselayout-1.12.4-r3 to / 1155577923: === (1 of 2) Cleaning (sys-apps/baselayout-1.12.4-r3::/usr/portage/sys-apps/baselayout/baselayout-1.12.4-r3.ebuild) 1155577923: === (1 of 2) Compiling/Merging (sys-apps/baselayout-1.12.4-r3::/usr/portage/sys-apps/baselayout/baselayout-1.12.4-r3.eb uild) 1155577945: >>> AUTOCLEAN: sys-apps/baselayout 1155577950: === Unmerging... (sys-apps/baselayout-1.12.4-r2) 1155577952: >>> unmerge success: sys-apps/baselayout-1.12.4-r2 1155577952: === (1 of 2) Post-Build Cleaning (sys-apps/baselayout-1.12.4-r3::/usr/portage/sys-apps/baselayout/baselayout-1.12.4-r3. ebuild) 1155577952: ::: completed emerge (1 of 2) sys-apps/baselayout-1.12.4-r3 to / 1155577952: >>> emerge (2 of 2) app-text/recode-3.6-r2 to / 1155577952: === (2 of 2) Cleaning (app-text/recode-3.6-r2::/usr/portage/app-text/recode/recode-3.6-r2.ebuild) 1155577952: === (2 of 2) Compiling/Merging (app-text/recode-3.6-r2::/usr/portage/app-text/recode/recode-3.6-r2.ebuild) Immediately I started having fortune fail. I run it every 15 minutes to write a MOTD. Yes, I am a humorist. Once I started receiving errors, I looked at what was emerged and found the above. I am a System Admin and have at LEAST a dozen boxen at work. They ALL exibited the same errors after precisely the same emerge listed above (baselayout & recode). All were fixed with a re-emerge of fortune-mod. SoooOOoOOoOoo, either I have a dozen broken boxes + my three personal ones (Two Netra T120's and an Athlon) or there is a rat in the wood pile somewhere. Maybe it was baselayout, however I seriously doubt it. It doesn't do much in the library arena. ;-) It IS an issue, and you may never find it. However, please do not tell me I have at least 15 broken boxes with strange things happening. I wouldn't have generated this without doing a tad bit of checking on all my boxes. I truely appreciate your help on this. Although this is a very minor issue for any Admin, it just needs attention somewhere. This is the likely place. Sorry to bug you (Please pardon the pun)...
I have had this affect me on multiple machines. Let's just put an einfo in recode to recompile fortune and be done with it. A proper admin should look at all messages using enotice or something so they should see it.
doesn't really matter anymore