Summary: | app-emulation/wine does not compile with nvidia-drivers 173.14.05 due to libGL.so.1 not being found | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Mark <mark.morschhaeuser> |
Component: | Current packages | Assignee: | Ricardo Mendoza (RETIRED) <ricmm> |
Status: | RESOLVED WORKSFORME | ||
Severity: | normal | CC: | alailson |
Priority: | High | ||
Version: | unspecified | ||
Hardware: | AMD64 | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Attachments: |
build.log
config.log Output of "emerge wine" LC_ALL="C" emerge wine &> winelog |
Description
Mark
2008-06-11 10:37:22 UTC
Created attachment 156333 [details]
build.log
you posted the build log, but not the config.log which is what the error message referred to ... please do so Created attachment 156467 [details]
config.log
oops, sorry. Here is the log you need.
* I have a similiar problem when trying to emerge app-emulation/wine-1.0_rc4: --------------------------------------------------------------------------- ld:vertexdeclaration.o: file format not recognized; treating as linker script ld:vertexdeclaration.o:1: syntax error winebuild: ld -m elf_i386 -r failed with status 256 winegcc: ../../tools/winebuild/winebuild failed make[2]: *** [d3d8.dll.so] Fehler 2 make[2]: Leaving directory `/var/tmp/portage/app-emulation/wine-1.0_rc4/work/wine-1.0-rc4/dlls/d3d8' make[1]: *** [d3d8] Fehler 2 make[1]: *** Warte auf noch nicht beendete Prozesse... x86_64-pc-linux-gnu-gcc -c -I. -I. -I../../include -I../../include -D__WINESRC__ -D_REENTRANT -fPIC -Wall -pipe -fno-strict-aliasing -Wdeclaration-after-statement -Wwrite-strings -Wpointer-arith -march=nocona -O2 -pipe -o vertexshader.o vertexshader.c x86_64-pc-linux-gnu-gcc -c -I. -I. -I../../include -I../../include -D__WINESRC__ -D_REENTRANT -fPIC -Wall -pipe -fno-strict-aliasing -Wdeclaration-after-statement -Wwrite-strings -Wpointer-arith -march=nocona -O2 -pipe -o volume.o volume.c x86_64-pc-linux-gnu-gcc -c -I. -I. -I../../include -I../../include -D__WINESRC__ -D_REENTRANT -fPIC -Wall -pipe -fno-strict-aliasing -Wdeclaration-after-statement -Wwrite-strings -Wpointer-arith -march=nocona -O2 -pipe -o volumetexture.o volumetexture.c ../../tools/wrc/wrc --nostdinc -I. -I. -I../../include -I../../include -D__WINESRC__ -foversion.res version.rc ../../tools/winegcc/winegcc -B../../tools/winebuild -shared ./d3d9.spec basetexture.o cubetexture.o d3d9_main.o device.o directx.o indexbuffer.o pixelshader.o query.o resource.o stateblock.o surface.o swapchain.o texture.o vertexbuffer.o vertexdeclaration.o vertexshader.o volume.o volumetexture.o version.res -o d3d9.dll.so -ldxguid -luuid -lwined3d -lkernel32 ../../libs/port/libwine_port.a ld:texture.o: file format not recognized; treating as linker script ld:texture.o:1: syntax error winebuild: ld -m elf_i386 -r failed with status 256 winegcc: ../../tools/winebuild/winebuild failed make[2]: *** [d3d9.dll.so] Fehler 2 make[2]: Leaving directory `/var/tmp/portage/app-emulation/wine-1.0_rc4/work/wine-1.0-rc4/dlls/d3d9' make[1]: *** [d3d9] Fehler 2 make[1]: Leaving directory `/var/tmp/portage/app-emulation/wine-1.0_rc4/work/wine-1.0-rc4/dlls' make: *** [dlls] Fehler 2 * Wine refuses to compile sice quit a long time now and this is becoming pretty annoying... Here is my emerge --info: ------------------------------------------------------------------------------ Portage 2.1.5.4 (default/linux/amd64/2008.0/desktop, gcc-4.2.4, glibc-2.7-r2, 2.6.24-gentoo-r8 x86_64) ================================================================= System uname: 2.6.24-gentoo-r8 x86_64 Intel(R) Pentium(R) D CPU 3.00GHz Timestamp of tree: Tue, 10 Jun 2008 21:45:01 +0000 ccache version 2.4 [enabled] app-shells/bash: 3.2_p39 dev-java/java-config: 1.3.7, 2.1.6 dev-lang/python: 2.5.2-r4 dev-python/pycrypto: 2.0.1-r6 dev-util/ccache: 2.4-r7 sys-apps/baselayout: 2.0.0 sys-apps/openrc: 0.2.5 sys-apps/sandbox: 1.2.18.1-r2 sys-devel/autoconf: 2.13, 2.62 sys-devel/automake: 1.5, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10.1-r1 sys-devel/binutils: 2.18-r1 sys-devel/gcc-config: 1.4.0-r4 sys-devel/libtool: 2.2.4 virtual/os-headers: 2.6.25-r4 ACCEPT_KEYWORDS="amd64 ~amd64" CBUILD="x86_64-pc-linux-gnu" CFLAGS="-march=nocona -O2 -pipe -fomit-frame-pointer" CHOST="x86_64-pc-linux-gnu" CONFIG_PROTECT="/etc /etc/X11/xorg.conf /etc/conf.d/apache2 /etc/conf.d/hdparm /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/share/config /var/lib/hsqldb" CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/php/apache2-php5/ext-active/ /etc/php/cgi-php5/ext-active/ /etc/php/cli-php5/ext-active/ /etc/revdep-rebuild /etc/splash /etc/terminfo /etc/texmf/web2c /etc/udev/rules.d" CXXFLAGS="-march=nocona -O2 -pipe -fomit-frame-pointer" DISTDIR="/usr/portage/distfiles" EMERGE_DEFAULT_OPTS="-q" FEATURES="ccache distlocks metadata-transfer parallel-fetch sandbox sfperms strict unmerge-orphans userfetch" GENTOO_MIRRORS="ftp://ftp.gentoo.mesh-solutions.com/gentoo/ ftp://ftp-stud.fht-esslingen.de/pub/Mirrors/gentoo/" LANG="de_DE.utf8" LC_ALL="de_DE.utf8" LDFLAGS="" LINGUAS="de" MAKEOPTS="-j2" 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" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="/usr/local/portage" SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage" USE="7zip X a52 aac acl aiglx alsa amarok amd64 apache2 audiofile berkdb bluetooth bogofilter branding bzip2 cairo cdaudio cdda cddb cdparanoia cdr cli cpudetection cracklib crypt css cups curl dbus dga directfb divx dri dts dvd dvdr dvdread emboss encode evo exif extrafilters fam fame fbcon ffmpeg firefox flac fortran ftp gdbm gif glitz gpm gtk hal hbci httpd iconv idn imagemagick ipv6 irmc java jpeg kde lame libnotify libsamplerate live lm_sensors lzo mad midi mikmod mjpeg mmx mp2 mp3 mp4 mpeg mplayer mudflap multilib musepack mysql ncurses nls nptl nptlonly nsplugin offensive ogg opengl openmp openssl pam pcre pdf perl php png ppds python qt3 qt3support qt4 quicktime rar rdesktop readline reflection samba session skins sndfile sox spell spl sqlite sse sse2 ssl startup-notification stream subversion svg syslog taglib tcpd tga theora tidy tiff truetype unicode usb userlocales vcd vhosts vim-pager vim-syntax vim-with-x visualization vorbis wavpack xcomposite xft xine xinetd xml xorg xpm xscreensaver xv xvid xvmc zip" ALSA_CARDS="emu10k1" 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 auth_digest" APACHE2_MPMS="prefork" ELIBC="glibc" INPUT_DEVICES="keyboard mouse evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="de" USERLAND="GNU" VIDEO_CARDS="fglrx radeon ati vesa vga" Unset: CPPFLAGS, CTARGET, INSTALL_MASK, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS Created attachment 156727 [details]
Output of "emerge wine"
the complete "emerge wine" output. Maybe I should notice that I am using ati-drivers.
your problem is unrelated /usr/lib/gcc/x86_64-pc-linux-gnu/4.1.2/../../../../x86_64-pc-linux-gnu/bin/ld: warning: libGL.so.1, needed by /usr/lib/gcc/x86_64-pc-linux-gnu/4.1.2/../../../../lib32/libGLU.so, not found (try using -rpath or -rpath-link) /usr/lib/gcc/x86_64-pc-linux-gnu/4.1.2/../../../../lib32/libGLU.so: undefined reference to `glEvalMesh1' /usr/lib/gcc/x86_64-pc-linux-gnu/4.1.2/../../../../lib32/libGLU.so: undefined reference to `glTranslated' /usr/lib/gcc/x86_64-pc-linux-gnu/4.1.2/../../../../lib32/libGLU.so: undefined reference to `glMap1f' /usr/lib/gcc/x86_64-pc-linux-gnu/4.1.2/../../../../lib32/libGLU.so: undefined reference to `glNormal3f' /usr/lib/gcc/x86_64-pc-linux-gnu/4.1.2/../../../../lib32/libGLU.so: undefined reference to `glEnd' not a bug in wine ... your nvidia install appears to be broken Please try both 173.14.09 and 169.12; I need to know whether this was introduced recently. If you wish to submit your build failures, run them as: LC_ALL="C" emerge blah &> blah.buildlog.txt I take it you have already used eselect opengl nvidia? Created attachment 157403 [details] LC_ALL="C" emerge wine &> winelog (In reply to comment #9) > Please try both 173.14.09 and 169.12; I need to know whether this was > introduced recently. 169 won't work because I'm using kernel 2.6.25 and 169 is too old to compile with this kernel. > I take it you have already used eselect opengl nvidia? Yes, eselect opengl nvidia was/is set: --- # eselect opengl show nvidia --- > If you wish to submit your build failures, run them as: > LC_ALL="C" emerge blah &> blah.buildlog.txt I don't have any build failures except for wine; I attached LC_ALL="C" emerge wine &> winelog I upgraded from 173.14.05 to 173.14.09, stopped X, unloaded the old nvidia module, loaded the new module, switched to nvidia opengl, started X, emerged wine => no changes (In reply to comment #6) > your problem is unrelated > Well, I first thought it could be related because of the types of error messages in the build output. But my build failed during compilation not while doing ./configure ... My problem is solved now and was not related to my graphics driver. I found some broken dependencies (so it was _not_ a problem with wine) and everything works fine now. ok, some news here: I tried several wine versions now and everything I tried from 0.9 to 0.9.52 compiled and everything above 0.9.52 did not compile because of "configure: error: No OpenGL library found on this system." So there must be a change from 0.9.52 -> 0.9.53 which breaks wine. (In reply to comment #13) > ok, some news here: I tried several wine versions now and everything I tried > from 0.9 to 0.9.52 compiled and everything above 0.9.52 did not compile because > of "configure: error: No OpenGL library found on this system." > > So there must be a change from 0.9.52 -> 0.9.53 which breaks wine. > I think this is an issue from eselect (or the Wine build looking for the wrong symlinks) and so independent of the nvidia-drivers. I had the same problems using xorg's OpenGL. Solution: Make the symlinks for libGL.so and libGLU.so pointing to your libGL.so.1 and libGLU.so.1 respectivelly in /usr/lib. I only had to do the first symlink, the second one was already there. Configure then without problems. Good luck can you tell me, which file should be symlinked to what? Because I tried cd /usr/lib; ln -s /usr/lib64/opengl/nvidia/lib/libGL.so.1 libGL.so.1 but GL is still not found. I had the same problem with 2.6.25-gentoo-r4 x86_64 and I resolve it by copying libGL.so from another 32 bits system and past in /usr/lib32. I think the problem come from app-emulation/emul-linux-x86-baselibs which ommit this lib Sounds like a bug in x11-drivers/nvidia-drivers-173.14.05 not installing 32bit compatibility libs. app-emulation/emul-linux-x86-xlibs would be the right packagage I think, not baselibs, if we'd be talking about non-proprietary drivers but the proprietary 32bit libs are afaik normally inside nvidia-drivers itself. i had the same problem, resolved it by adding /usr/lib32/opengl/nvidia/lib to /etc/ld.so.conf and rerun ldconfig looks like it lasts only until the next nvidia-drivers install, so i think nvidia-drivers is to blame A step closer to the root of the problem is to edit /etc/env.d/03opengl and change lib path to (assuming you use nvidia): LDPATH="/usr/lib/opengl/nvidia/lib:/usr/lib32/opengl/nvidia/lib" after that env-update and all is well. until next eselect opengl set <anything> it seems opengl installation naively assumes that /usr/lib/ is enough for everyone, while it's not in a mixed 64/32 bit system. this file is overwritten by eselect-opengl magic, someone should file a bug to eselect... Try USE=-opengl emerge wine (In reply to comment #20) > A step closer to the root of the problem is to edit /etc/env.d/03opengl and > change lib path to (assuming you use nvidia): > LDPATH="/usr/lib/opengl/nvidia/lib:/usr/lib32/opengl/nvidia/lib" > > after that env-update and all is well. > until next eselect opengl set <anything> > > it seems opengl installation naively assumes that /usr/lib/ is enough for > everyone, while it's not in a mixed 64/32 bit system. > > this file is overwritten by eselect-opengl magic, someone should file a bug to > eselect... > some time passed and with my current, up to date system it was enough to create a symlink from /usr/lib32/opengl/nvidia/lib/libGL.so to /usr/lib32/libGL.so. wine compiled and I was able to play the Warcraft 3 Demo, so I guess that opengl works. I do not know, which package is responsible for (not) setting this symlink. you can try the flowing. #sudo eselect opengl set xorg-x11 hope this will fix your problem. This one has gotten a little stale and I've never been able to reproduce it. If its still an issue, please reopen. |