Hello, I followed the instructions on how to upgrade from 2004.3 to 2005.0 (upcoming). Before doing this, I had built my system with multilib support (gcc, potage, glibc). The documentation was okay and I do have glibc for both lib32 and lib64. After that I removed emul-linux-x86* (including really every package). Because of apps like openoffice-bin or any other installed 32bit app, I do not know how to continue. emerge -uDp world wants to emerge all the emul-* stuff again. I guess that is not what was intented with the new multilib profile. So my question is: will qt, xorg, alsa-lib, sdl have multilib support in near future? Can someone give a hint in the upgrade guide? Thanks in advance Christian N.B.: I was quiet unsure if to post here or in the forum. But because of the testing situation with 2005.0 on amd64, I thought this was okay. Reproducible: Always Steps to Reproduce: 1. Following the upgrade guide 2. Removing all emul-* 3. emerge -uDp world Actual Results: Portage wants to reinstall necessary libs for 32bit apps. Expected Results: multilib support for Qt, sdl, alsa-lib, xorg-x11, ... (I guess this is a upcoming process); providing lib32 lib64 libs like the glibc ebuild does. Gentoo Base System version 1.6.9 Portage 2.0.51-r15 (default-linux/amd64/2005.0, gcc-3.4.3, glibc-2.3.4.20040808-r1,glibc-2.3.4.20041102-r0, 2.6.10-ck5 x86_64) ================================================================= System uname: 2.6.10-ck5 x86_64 AMD Athlon(tm) 64 Processor 3200+ Python: dev-lang/python-2.3.4 [2.3.4 (#1, Dec 7 2004, 18:00:12)] ccache version 2.3 [enabled] dev-lang/python: 2.3.4 sys-devel/autoconf: 2.59-r6, 2.13 sys-devel/automake: 1.7.9-r1, 1.5, 1.4_p6, 1.6.3, 1.9.4, 1.8.5-r3 sys-devel/binutils: 2.15.92.0.2-r2 sys-devel/libtool: 1.5.10-r4 virtual/os-headers: 2.6.8.1-r4 ACCEPT_KEYWORDS="amd64 ~amd64" ACCEPT_LICENSE="" ALSA_CARDS="intel8x0 emu10k1" ARCH="amd64" AUTOCLEAN="yes" AUTO_SYMLINK="no" BASH_ENV="/etc/spork/is/not/valid/profile.env" CCACHE_DIR="/var/tmp/portage/.ccache_64" CCACHE_SIZE="2G" CDEFINE_amd64="__x86_64__" CDEFINE_x86="__i386__" CFLAGS="-pipe -fomit-frame-pointer" CFLAGS_amd64="-m64" CFLAGS_x86="-m32" CHOST="x86_64-pc-linux-gnu" CLASSPATH="." CLEAN_DELAY="5" CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3.3/env /usr/kde/3.3/share/config /usr/kde/3.3/shutdown /usr/kde/3/share/config /usr/lib/X11/xkb /usr/lib/mozilla/defaults/pref /usr/share/config /usr/share/texmf/dvipdfm/config/ /usr/share/texmf/dvips/config/ /usr/share/texmf/tex/generic/config/ /usr/share/texmf/tex/platex/config/ /usr/share/texmf/xdvi/ /var/qmail/control" CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d" CVS_RSH="ssh" CXXFLAGS="-pipe -fomit-frame-pointer" DCCC_PATH="/usr/lib/distcc/bin" DEFAULT_ABI="amd64" DISPLAY=":0.0" DISTCC_DIR="/var/tmp/.distcc" DISTCC_LOG="" DISTCC_VERBOSE="0" DISTDIR="/usr/portage/distfiles" EDITOR="/usr/bin/vim" FEATURES="autoaddcvs autoconfig ccache digest distlocks sandbox" FETCHCOMMAND="/usr/bin/wget -t 5 --passive-ftp -P ${DISTDIR} ${URI}" GCC_SPECS="" GDK_USE_XFT="1" GDM_LANG="de_DE@euro.ISO-8859-15" GENTOO_MIRRORS="http://ftp-stud.fht-esslingen.de/pub/Mirrors/gentoo/ ftp://ftp.tu-clausthal.de/pub/linux/gentoo/ ftp://ftp.gentoo.mesh-solutions.com/gentoo/ http://gentoo.inode.at/" GLIBC_SSP_CHECKED="1" GRP_STAGE23_USE="multislot nptl -nptlonly ipv6 pam tcpd readline nls ssl gpm perl python berkdb ncurses readline zlib -java" G_BROKEN_FILENAMES="1" HISTCONTROL="ignoredups:erasedups" HOME="/root" HOSTNAME="amd64" INFOPATH="/usr/share/info:/usr/share/gcc-data/x86_64-pc-linux-gnu/3.4.3/info" JAVAC="/opt/blackdown-jdk-1.4.2.01/bin/javac" JAVA_HOME="/opt/blackdown-jdk-1.4.2.01" JDK_HOME="/opt/blackdown-jdk-1.4.2.01" KBUILD_OUTPUT_PREFIX="" KDEDIR="/usr/kde/3.3" KDEDIRS="/usr" KDE_IS_PRELINKED="1" KDE_MALLOC="1" LADSPA_PATH="/usr/lib/ladspa" LANG="de_DE" LC_ALL="de_DE@euro.ISO-8859-15" LDFLAGS_amd64="-m elf_x86_64" LDFLAGS_x86="-m elf_i386" LD_LIBRARY_PATH=":" LESS="-R" LESSOPEN="|lesspipe.sh %s" LIBDIR_amd64="lib64" LIBDIR_x86="lib32" LIBGL_DRIVERS_DIR="/usr/lib32/modules/dri" LIBGL_DRIVERS_PATH="/usr/lib32/modules/dri" LINGUAS="de" LINUX_PORTAGE_WRITABLE="no" LOGNAME="root" LS_COLORS="no=00:fi=00:di=01;34:ln=01;36:pi=40;33:so=01;35:do=01;35:bd=40;33;01:cd=40;33;01:or=01;05;37;41:mi=01;05;37;41:ex=01;32:*.cmd=01;32:*.exe=01;32:*.com=01;32:*.btm=01;32:*.bat=01;32:*.sh=01;32:*.csh=01;32:*.tar=01;31:*.tgz=01;31:*.arj=01;31:*.taz=01;31:*.lzh=01;31:*.zip=01;31:*.z=01;31:*.Z=01;31:*.gz=01;31:*.bz2=01;31:*.bz=01;31:*.tbz2=01;31:*.tz=01;31:*.deb=01;31:*.rpm=01;31:*.rar=01;31:*.ace=01;31:*.zoo=01;31:*.cpio=01;31:*.7z=01;31:*.rz=01;31:*.jpg=01;35:*.jpeg=01;35:*.gif=01;35:*.bmp=01;35:*.ppm=01;35:*.tga=01;35:*.xbm=01;35:*.xpm=01;35:*.tif=01;35:*.tiff=01;35:*.png=01;35:*.mng=01;35:*.xcf=01;35:*.pcx=01;35:*.mpg=01;35:*.mpeg=01;35:*.m2v=01;35:*.avi=01;35:*.mkv=01;35:*.ogm=01;35:*.mp4=01;35:*.m4v=01;35:*.mp4v=01;35:*.mov=01;35:*.qt=01;35:*.wmv=01;35:*.asf=01;35:*.rm=01;35:*.rmvb=01;35:*.flc=01;35:*.fli=01;35:*.gl=01;35:*.dl=01;35:*.pdf=00;32:*.ps=00;32:*.txt=00;32:*.patch=00;32:*.diff=00;32:*.log=00;32:*.tex=00;32:*.doc=00;32:*.mp3=00;36:*.wav=00;36:*.mid=00;36:*.midi=00;36:*.au=00;36:*.ogg=00;36:*.flac=00;36:*.aac=00;36:" MAIL="/var/mail/root" MAKEOPTS="-j2" MANPATH="/usr/local/share/man:/usr/share/man:/usr/share/gcc-data/x86_64-pc-linux-gnu/3.4.3/man:/usr/share/man::/opt/blackdown-jdk-1.4.2.01/man:/usr/qt/3/doc/man" MOZILLA_FIVE_HOME="/usr/lib/mozilla" MULTILIB_ABIS="x86 amd64" MULTILIB_STRICT_DENY="64-bit.*shared object" MULTILIB_STRICT_DIRS="/lib /usr/lib /usr/kde/*/lib /usr/qt/*/lib /usr/X11R6/lib" NOCOLOR="false" PAGER="/usr/bin/less" PATH="/usr/lib/ccache/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/opt/bin:/usr/x86_64-pc-linux-gnu/gcc-bin/3.4.3:/opt/ati/bin:/usr/X11R6/bin:/opt/blackdown-jdk-1.4.2.01/bin:/opt/blackdown-jdk-1.4.2.01/jre/bin:/usr/qt/3/bin:/usr/kde/3.3/sbin:/usr/kde/3.3/bin" PKGDIR="/usr/portage/packages" PORTAGE_ARCHLIST="alpha amd64 arm hppa ia64 m68k mips ppc ppc64 ppc-macos ppc-od s390 sh sparc x86 x86-fbsd x86-obsd x86-od" PORTAGE_BINHOST_CHUNKSIZE="3000" PORTAGE_CALLER="emerge" PORTAGE_GID="250" PORTAGE_MASTER_PID="32057" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="/usr/local/portage" PORT_LOGDIR="/var/log/portage" PRELINK_PATH="" PRELINK_PATH_MASK="/usr/lib/wine:/usr/lib/valgrind" PWD="/root" PYTHONDOCS="/usr/share/doc/python-docs-2.3.4/html" QMAKESPEC="linux-g++" QTDIR="/usr/qt/3" RESUMECOMMAND="/usr/bin/wget -c -t 5 --passive-ftp -P ${DISTDIR} ${URI}" RPMDIR="/usr/portage/rpm" RSYNC_RETRIES="3" RSYNC_TIMEOUT="180" SANE_CONFIG_DIR="/etc/sane.d" SHELL="/bin/bash" SHLVL="1" SSH_AGENT_PID="14144" SSH_AUTH_SOCK="/tmp/ssh-JdeEp14143/agent.14143" STAGE1_USE="multislot nptl -nptlonly" SYMLINK_LIB="yes" SYNC="rsync://rsync.gentoo.org/gentoo-portage" TERM="xterm" USE="amd64 X X509 a52 aalib acl acpi acpi4linux activefilter adns alsa apache2 arts artswrappersuid audiofile avi bash-completion bcmath berkdb bigger-fonts bitmap-fonts bonobo bzlib caps cddb cdparanoia cdr chroot client codecs crypt cscope css ctype cups dbm dhcp directfb divx4linux doc dts dvd dvdr dvdread encode extensions f77 faac faad fam fame faxonly fbcon ffmpeg flac foomaticdb freetype gd gdbm gif gimp gimpprint gnome gpm gstreamer gtk2 gtkhtml hal hbci icq imagemagick imlib ipv6 javascript jbig jpeg jpeg2k kde lcd lcms ldap libclamav libwww lm_sensors lzo lzw lzw-tiff mad maildir mailwrapper mbox mcal md5sum mikmod mime mjpeg mng motif mpeg mpeg4 mppe-mppc multislot mysql nas ncurses network nls no-old-linux nptl odbc oggvorbis opengl oss pam pcntl pcre pdflib perl php pic png pnp posix postgres ppds python qt quicktime readline rtc samba scanner sdl session sftplogging slang slp snmp sockets socks5 sox spell sqlite ssl tcltk tcpd tetex threads tiff tokenizer truetype truetype-fonts type1-fonts unicode usb vanilla vim-with-x wxwindows xine xml xml2 xmms xpm xprint xrandr xsl xv xvid zlib video_cards_radeon linguas_de" USER="root" USERLAND="GNU" USE_EXPAND="VIDEO_CARDS INPUT_DEVICES LINGUAS" VIDEO_CARDS="radeon" XARGS="xargs -r" XAUTHORITY="/root/.xauth531bv8" XINITRC="/etc/X11/xinit/xinitrc" _="/usr/bin/emerge" ftp_proxy="http://192.168.0.1:3128/" http_proxy="http://192.168.0.1:3128/"
AFAIK only the glibc ebuild is currently multilib aware and based on what I have read so far until 2005.0 is released, not much work is going in on making a wider multilib support. That is being defered to after the 2005.0 release when the general multilib situation has stabilized. To solve your problem, you *could* try emerging the required emul packages and append the required lib paths to your ldpath. This may or may not work... but it should actually. Hope that helps...
Could you be a bit more specific please? LDPATH does not seem to do a thing... # skype skype: error while loading shared libraries: libpthread.so.0: cannot open shared object file: No such file or directory # ls -l /lib32/libpthread.so.0 rwxrwxrwx 1 root root 18 Apr 8 22:17 /lib32/libpthread.so.0 -> libpthread-0.10.so # LDPATH="/lib32" export LDPATH # echo $LDPATH /lib32 # skype skype: error while loading shared libraries: libpthread.so.0: cannot open shared object file: No such file or directory
glibc currently is the only lib that really builds native 32bit too, so it's completely save to use the other emul-libs. the final goal will be to get every library in portage built native, but we're still pretty far from that.