After a fresh emerge of wine-0.9 or wine-0.9.1, i cant start wine due to ntdll.dll.so being in /usr/lib/wine instead of in /usr/local/lib/wine/ where wine looks for it. Reproducible: Always Steps to Reproduce: 1. emerge =wine-0.9.1 2. wine 3. Actual Results: wine: failed to initialize: /usr/local/lib/wine/ntdll.dll.so: cannot open shared object file: No such file or directory Expected Results: Start normaly. Portage 2.0.51.22-r3 (default-linux/x86/2005.1, gcc-3.3.6, glibc-2.3.5-r2, 2.6.14-gentoo-r2 i686) ================================================================= System uname: 2.6.14-gentoo-r2 i686 AMD Athlon(tm) XP 1700+ Gentoo Base System version 1.6.13 ccache version 2.3 [enabled] dev-lang/python: 2.2.3-r6, 2.3.5-r2, 2.4.2 sys-apps/sandbox: 1.2.12 sys-devel/autoconf: 2.13, 2.59-r6 sys-devel/automake: 1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r1 sys-devel/binutils: 2.15.92.0.2-r10 sys-devel/libtool: 1.5.20 virtual/os-headers: 2.6.11-r2 ACCEPT_KEYWORDS="x86" AUTOCLEAN="yes" CBUILD="i686-pc-linux-gnu" CFLAGS="-O2 -march=athlon-xp -pipe" CHOST="i686-pc-linux-gnu" 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.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/kde/3/share/config /usr/lib/X11/xkb /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/bind /var/qmail/control" CONFIG_PROTECT_MASK="/etc/gconf /etc/splash /etc/terminfo /etc/env.d" CXXFLAGS="-O2 -march=athlon-xp -pipe" DISTDIR="/usr/portage/distfiles" FEATURES="autoconfig ccache distlocks sandbox sfperms strict userpriv" GENTOO_MIRRORS="ftp://ftp.du.se/pub/os/gentoo http://ftp.du.se/pub/os/gentoo http://ds.thn.htu.se/linux/gentoo http://mirror.pudas.net/gentoo ftp://mirror.pudas.net/gentoo" LINGUAS="en" MAKEOPTS="-j2" PKGDIR="/usr/portage/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="/usr/local/portage" SYNC="rsync://rsync.gentoo.org/gentoo-portage" USE="x86 3dnow 3dnowext X aalib alsa apache2 apm arts audiofile avi berkdb bitmap-fonts bzip2 cdr crypt cups curl divx4linux doc dvd dvdr dvdread eds emboss encode esd ethereal exif expat fam ffmpeg flac foomaticdb fortran gd gdbm gif glut gmp gnutls gpm gstreamer gtk gtk2 idn imagemagick imlib ipv6 java jpeg junit kde kdeenablefinal kdexdeltas lcms ldap libg++ libwww mad mhash mikmod mmx mmxext mng motif mp3 mpeg mysql ncurses nls nptl nptlonly nvidia ogg oggvorbis opengl oss pam pcre pdflib perl php png python qt quicktime readline samba sdl slang speex spell sse ssl subversion svga tcltk tcpd tetex threads tiff truetype truetype-fonts type1-fonts udev unicode usb userlocales vorbis win32codecs xine xml2 xmms xv xvid zlib linguas_en userland_GNU kernel_linux elibc_glibc" Unset: ASFLAGS, CTARGET, LANG, LC_ALL, LDFLAGS
uhh, no, nothing should ever be installed in /usr/local by portage did you install some wine or something yourself into /usr/local ?
(In reply to comment #1) > uhh, no, nothing should ever be installed in /usr/local by portage > > did you install some wine or something yourself into /usr/local ? No. I just emerged wine, and then i got the message about wine not being able to locate /usr/local/lib/wine/ntdll.dll.so. A search found it to be in /usr/lib/wine/ntdll.dll.so. I am not sure why wine looks in /usr/local for it.
run `emerge wine >& log` and post the log file as an attachment
Created attachment 74104 [details] emerge =wine-0.9.2 >& log
try doing `rm -r ~/.wine*` and then run wine again