when I try to emerge anything (even emerge --info) I get this error. Sorry but I cannot print out my emerge --info as stated. This happened after an emerge portage; emerge -uaDv world was issued. It died saying failed to fetch lsof which I don't see being the problem. GCC is 386 uclibc. Reproducible: Always Steps to Reproduce: 1.emerge [anything] or revdep-rebuild 2. 3. Actual Results: #emerge --info /usr/bin/python: symbol 'finite': can't resolve symbol in lib '/usr/lib/libpython2.6.so.1.0'. /usr/bin/python: symbol 'finite': can't resolve symbol in lib '/usr/lib/python2.6/lib-dynload/math.so'. !!! Failed to complete python imports. These are internal modules for !!! python and failure here indicates that you have a problem with python !!! itself and thus portage is not able to continue processing. !!! You might consider starting python with verbose flags to see what has !!! gone wrong. Here is the information we got for this exception: unknown dlopen() error /usr/bin/python: symbol 'finite': can't resolve symbol in lib '/usr/lib/python2.6/lib-dynload/math.so'. !!! Failed to complete python imports. These are internal modules for !!! python and failure here indicates that you have a problem with python !!! itself and thus portage is not able to continue processing. !!! You might consider starting python with verbose flags to see what has !!! gone wrong. Here is the information we got for this exception: unknown dlopen() error Traceback (most recent call last): File "/usr/bin/emerge", line 34, in <module> import _emerge File "/usr/lib/portage/pym/_emerge/__init__.py", line 30, in <module> import portage File "/usr/lib/portage/pym/portage/__init__.py", line 34, in <module> from random import shuffle File "/usr/lib/python2.6/random.py", line 45, in <module> from math import log as _log, exp as _exp, pi as _pi, e as _e, ceil as _ceil ImportError: unknown dlopen() error Expected Results: something other than this. What have I done?
Well, I'm able to get a usable system by symlinking libpython2.6.so.1.0 to libpython2.4.so.1.0 and then running eselect python and set it to use python 2.4. Still unsure what happened. Anyone care to take a guess?
After that I reemerged python and now have emerge --info Portage 2.1.6.13 (uclibc/x86, gcc-4.1.2, uclibc-0.9.30.1-r1, 2.6.27-gentoo-r4 i686) ================================================================= System uname: Linux-2.6.27-gentoo-r4-i686-Intel-R-_Atom-TM-_CPU_230_@_1.60GHz-with-gentoo-1.12.11.1 Timestamp of tree: Wed, 01 Jul 2009 13:30:01 +0000 app-shells/bash: 3.2_p48 dev-lang/python: 2.4.4-r14, 2.6.2-r1 dev-python/pycrypto: 2.0.1-r6 sys-apps/baselayout: 1.12.11.1 sys-apps/sandbox: 1.2.18.1-r3 sys-devel/autoconf: 2.61-r1 sys-devel/automake: 1.4_p6, 1.10 sys-devel/binutils: 2.19 sys-devel/gcc-config: 1.4.1 sys-devel/libtool: 1.5.24 virtual/os-headers: 2.6.27-r2 ACCEPT_KEYWORDS="x86 ~x86" CBUILD="i386-gentoo-linux-uclibc" CFLAGS="-Os -mtune=i386 -pipe" CHOST="i386-gentoo-linux-uclibc" CONFIG_PROTECT="/etc" CONFIG_PROTECT_MASK="/etc/env.d /etc/gconf /etc/php/apache2-php5/ext-active/ /etc/php/cgi-php5/ext-active/ /etc/php/cli-php5/ext-active/ /etc/revdep-rebuild /etc/terminfo /etc/udev/rules.d" CXXFLAGS="-Os -mtune=i386 -pipe" DISTDIR="/usr/portage/distfiles" FEATURES="autoconfig distlocks fixpackages nodoc noinfo noman parallel-fetch protect-owned sandbox sfperms strict unmerge-orphans userfetch" GENTOO_MIRRORS="http://distfiles.gentoo.org http://distro.ibiblio.org/pub/linux/distributions/gentoo" LDFLAGS="-Wl,-O1" MAKEOPTS="-j3" PKGDIR="/usr/portage/packages" 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" SYNC="rsync://rsync.gentoo.org/gentoo-portage" USE="cgi cli cracklib crypt curl dri gd ipv6 jpeg json kdrive lighttpd midi mudflap ncurses openmp pcre perl php png python readline reflection session spl ssl tcpd truetype uclibc unicode x86 xorg zlib" 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 autoindex cache 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" ELIBC="uclibc" INPUT_DEVICES="keyboard mouse evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" USERLAND="GNU" VIDEO_CARDS="vesa intel" Unset: CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, FFLAGS, INSTALL_MASK, LANG, LC_ALL, LINGUAS, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, PORTDIR_OVERLAY
I think it's a python breakage, not a portage breakage.
Try with dev-lang/python-2.6.4.