Same error happened on two systems: make[3]: Leaving directory `/var/tmp/portage/sys-devel/libtool-2.2.4/work/libtool-2.2.4' ./libtool: line 868: X--tag=CC: command not found Updating ./doc/version.texi ./libtool: line 901: libtool: ignoring unknown tag : command not found ./libtool: line 868: X--mode=compile: command not found cd ./libltdl && /bin/sh /var/tmp/portage/sys-devel/libtool-2.2.4/work/libtool-2.2.4/libltdl/config/missing --run aclocal-1.10 -I m4 chmod a+x libtoolize.tmp chmod a-w libtoolize.tmp mv -f libtoolize.tmp libtoolize /bin/sh ./libtool --tag=CC --mode=compile x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -DLTDLOPEN=libltdl -DLT_CONFIG_H='<config.h>' -DLTDL -I. -I. -Ilibltdl -I./libltdl -I./libltdl/libltdl -O3 -march=nocona -pipe -fomit-frame-pointer -MT libltdl/loaders/libltdl_libltdl_la-preopen.lo -MD -MP -MF libltdl/loaders/.deps/libltdl_libltdl_la-preopen.Tpo -c -o libltdl/loaders/libltdl_libltdl_la-preopen.lo `test -f 'libltdl/loaders/preopen.c' || echo './'`libltdl/loaders/preopen.c ./libtool: line 868: X--tag=CC: command not found ./libtool: line 901: libtool: ignoring unknown tag : command not found ./libtool: line 868: X--mode=compile: command not found ./libtool: line 1035: *** Warning: inferring the mode of operation is deprecated.: command not found ./libtool: line 1036: *** Future versions of Libtool will require --mode=MODE be specified.: command not found ./libtool: line 1179: Xx86_64-pc-linux-gnu-gcc: command not found ./libtool: line 1179: X-DHAVE_CONFIG_H: command not found ./libtool: line 1179: X-I.: command not found ./libtool: line 1179: X-DLT_CONFIG_H=<config.h>: command not found ./libtool: line 1179: X-DLTDL: command not found ./libtool: line 1179: X-I.: command not found ./libtool: line 1179: X-I.: command not found ./libtool: line 1179: X-Ilibltdl: command not found ./libtool: line 1179: X-I./libltdl: No such file or directory ./libtool: line 1179: X-I./libltdl/libltdl: No such file or directory ./libtool: line 868: X--tag=CC: command not found ./libtool: line 1179: X-O3: command not found ./libtool: line 1179: X-march=nocona: command not found ./libtool: line 1179: X-pipe: command not found ./libtool: line 1179: X-fomit-frame-pointer: command not found ./libtool: line 1179: X-MT: command not found ./libtool: line 901: libtool: ignoring unknown tag : command not found ./libtool: line 868: X--mode=compile: command not found ./libtool: line 1179: Xlibltdl/lt__strl.lo: No such file or directory ./libtool: line 1035: *** Warning: inferring the mode of operation is deprecated.: command not found ./libtool: line 1036: *** Future versions of Libtool will require --mode=MODE be specified.: command not found ./libtool: line 1179: Xx86_64-pc-linux-gnu-gcc: command not found ./libtool: line 1179: X-DHAVE_CONFIG_H: command not found ./libtool: line 1179: X-MD: command not found ./libtool: line 1179: X-I.: command not found ./libtool: line 1179: X-DLT_CONFIG_H=<config.h>: command not found ./libtool: line 1179: X-MP: command not found ./libtool: line 1179: X-MF: command not found ./libtool: line 1179: Xlibltdl/.deps/lt__strl.Tpo: No such file or directory ./libtool: line 1179: X-c: command not found ./libtool: line 1232: Xlibltdl/lt__strl.lo: No such file or directory ./libtool: line 1237: libtool: compile: cannot determine name of library object from `': command not found make[2]: *** [libltdl/lt__strl.lo] Error 1 make[2]: *** Waiting for unfinished jobs.... ./libtool: line 1179: X-DLTDL: command not found ./libtool: line 1179: X-I.: command not found ./libtool: line 1035: *** Warning: inferring the mode of operation is deprecated.: command not found ./libtool: line 1036: *** Future versions of Libtool will require --mode=MODE be specified.: command not found ./libtool: line 1179: X-I.: command not found ./libtool: line 1179: X-Ilibltdl: command not found ./libtool: line 1179: Xx86_64-pc-linux-gnu-gcc: command not found ./libtool: line 1179: X-DHAVE_CONFIG_H: command not found ./libtool: line 1179: X-I./libltdl: No such file or directory ./libtool: line 1179: X-I.: command not found ./libtool: line 1179: X-I./libltdl/libltdl: No such file or directory ./libtool: line 1179: X-DLTDLOPEN=libltdl: command not found ./libtool: line 1179: X-O3: command not found ./libtool: line 1179: X-DLT_CONFIG_H=<config.h>: command not found ./libtool: line 1179: X-march=nocona: command not found ./libtool: line 1179: X-pipe: command not found ./libtool: line 1179: X-DLTDL: command not found ./libtool: line 1179: X-fomit-frame-pointer: command not found ./libtool: line 1179: X-I.: command not found ./libtool: line 1179: X-MT: command not found ./libtool: line 1179: X-I.: command not found ./libtool: line 1179: Xlibltdl/loaders/dlopen.lo: No such file or directory ./libtool: line 1179: X-Ilibltdl: command not found ./libtool: line 1179: X-MD: command not found ./libtool: line 1179: X-I./libltdl: No such file or directory ./libtool: line 1179: X-MP: command not found ./libtool: line 1179: X-I./libltdl/libltdl: No such file or directory ./libtool: line 1179: X-MF: command not found ./libtool: line 1179: X-O3: command not found ./libtool: line 1179: Xlibltdl/loaders/.deps/dlopen.Tpo: No such file or directory ./libtool: line 1179: X-march=nocona: command not found ./libtool: line 1179: X-pipe: command not found ./libtool: line 1179: X-c: command not found ./libtool: line 1179: X-fomit-frame-pointer: command not found ./libtool: line 1232: Xlibltdl/loaders/dlopen.lo: No such file or directory ./libtool: line 1179: X-MT: command not found ./libtool: line 1237: libtool: compile: cannot determine name of library object from `': command not found make[2]: ./libtool: line 1179: Xlibltdl/loaders/libltdl_libltdl_la-preopen.lo: No such file or directory *** [libltdl/loaders/dlopen.lo] Error 1 ./libtool: line 1179: X-MD: command not found ./libtool: line 1179: X-MP: command not found ./libtool: line 1179: X-MF: command not found ./libtool: line 1179: Xlibltdl/loaders/.deps/libltdl_libltdl_la-preopen.Tpo: No such file or directory ./libtool: line 1179: X-c: command not found ./libtool: line 1232: Xlibltdl/loaders/libltdl_libltdl_la-preopen.lo: No such file or directory ./libtool: line 1237: libtool: compile: cannot determine name of library object from `': command not found make[2]: *** [libltdl/loaders/libltdl_libltdl_la-preopen.lo] Error 1 config.status: creating config.h config.status: config.h is unchanged make[2]: Leaving directory `/var/tmp/portage/sys-devel/libtool-2.2.4/work/libtool-2.2.4' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/var/tmp/portage/sys-devel/libtool-2.2.4/work/libtool-2.2.4' make: *** [all] Error 2 ~ # emerge --info Portage 2.1.5.4 (default/linux/amd64/2008.0, gcc-4.1.2, glibc-2.7-r2, 2.6.23-gentoo-r9 x86_64) ================================================================= System uname: 2.6.23-gentoo-r9 x86_64 Intel(R) Core(TM)2 Duo CPU E6750 @ 2.66GHz Timestamp of tree: Mon, 09 Jun 2008 19:15:02 +0000 app-shells/bash: 3.2_p39 dev-lang/python: 2.4.4-r9, 2.5.2-r4 dev-python/pycrypto: 2.0.1-r6 sys-apps/baselayout: 2.0.0 sys-apps/openrc: 0.2.5 sys-apps/sandbox: 1.2.18.1-r2 sys-devel/autoconf: 2.62 sys-devel/automake: 1.10.1-r1 sys-devel/binutils: 2.18-r1 sys-devel/gcc-config: 1.4.0-r4 sys-devel/libtool: 1.5.26 virtual/os-headers: 2.6.25-r4 ACCEPT_KEYWORDS="amd64 ~amd64" CBUILD="x86_64-pc-linux-gnu" CFLAGS="-O3 -march=nocona -pipe -fomit-frame-pointer" CHOST="x86_64-pc-linux-gnu" CONFIG_PROTECT="/etc /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/kde/4.0/env /usr/kde/4.0/share/config /usr/kde/4.0/shutdown /usr/share/config" CONFIG_PROTECT_MASK="/etc/env.d /etc/gconf /etc/gentoo-release /etc/revdep-rebuild /etc/terminfo /etc/udev/rules.d" CXXFLAGS="-O3 -march=nocona -pipe -fomit-frame-pointer" DISTDIR="/usr/portage/distfiles" FEATURES="ccache distlocks parallel-fetch sandbox sfperms strict unmerge-orphans userfetch" GENTOO_MIRRORS="http://mirror.hamakor.org.il/pub/mirrors/gentoo/ " LDFLAGS="" LINGUAS="en he" MAKEOPTS="-j5" PKGDIR="/usr/portage/packages" 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://mirror.hamakor.org.il/gentoo-portage" USE="a52 aac acl amd64 ansi apache2 audiofile bash-completion berkdb bidi bzip2 c++ cdda cddb chm clamav cli cracklib crypt cups curl daap darcs dri exif ffmpeg flac fortran gd gdbm git glitz gpm htmlhandbook iconv imagemagick ipod ipv6 isdnlog jpeg2k lm_sensors math midi mmx mng mp4 mudflap multilib mysql ncurses nls nptl nptlonly nsplugin openmp pam pcre perl pppd python readline reflection samba sdl-image session smp sndfile spl sse sse2 ssl stream subversion tcpd theora threads tk unicode upnp v4l vcd winbind wmf x264 xcomposite xorg xosd xscreensaver xvid 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 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="glibc" INPUT_DEVICES="keyboard mouse evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="en he" USERLAND="GNU" VIDEO_CARDS="vesa nvidia" Unset: CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LANG, LC_ALL, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, PORTDIR_OVERLAY I can attach the 'libtool' script as it might help, being full with a lot of 'X$var's that I believe are in excess. Possibly building libtool-2.2.4 with libtool-1.5.26 is bad?
*** This bug has been marked as a duplicate of bug 225559 ***