LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (http://www.linuxquestions.org/questions/linux-software-2/)
-   -   Errors building WINE 0.9.53 from source on CentOS x64 (http://www.linuxquestions.org/questions/linux-software-2/errors-building-wine-0-9-53-from-source-on-centos-x64-613369/)

Micro420 01-13-2008 08:36 PM

Errors building WINE 0.9.53 from source on CentOS x64
 
I get this error in my CentOS 5.1 x64 when building WINE from source:
Code:

/usr/bin/ld: skipping incompatible /usr/lib64/libSM.so when searching for -lSM
/usr/bin/ld: skipping incompatible /usr/lib64/libICE.so when searching for -lICE
/usr/bin/ld: skipping incompatible /usr/lib64/libXxf86vm.so when searching for -lXxf86vm
/usr/bin/ld: skipping incompatible /usr/lib64/libXext.so when searching for -lXext
/usr/bin/ld: skipping incompatible /usr/lib64/libX11.so when searching for -lX11
/usr/bin/ld: skipping incompatible /usr/lib64/libGL.so when searching for -lGL
/usr/bin/ld: skipping incompatible /usr/lib64/libm.so when searching for -lm
/usr/bin/ld: skipping incompatible /usr/lib64/libm.a when searching for -lm
/usr/bin/ld: skipping incompatible /usr/lib64/libc.so when searching for -lc
/usr/bin/ld: skipping incompatible /usr/lib64/libc.a when searching for -lc
/usr/bin/ld: skipping incompatible /usr/lib64/libc.so when searching for -lc
/usr/bin/ld: skipping incompatible /usr/lib64/libc.a when searching for -lc
wgl.o: In function `wglUseFontOutlines_common':
/opt/wine-0.9.53/dlls/opengl32/wgl.c:373: undefined reference to `gluNewTess'
/opt/wine-0.9.53/dlls/opengl32/wgl.c:376: undefined reference to `gluTessCallback'
/opt/wine-0.9.53/dlls/opengl32/wgl.c:377: undefined reference to `gluTessCallback'
/opt/wine-0.9.53/dlls/opengl32/wgl.c:378: undefined reference to `gluTessCallback'
/opt/wine-0.9.53/dlls/opengl32/wgl.c:482: undefined reference to `gluTessEndContour'
/opt/wine-0.9.53/dlls/opengl32/wgl.c:494: undefined reference to `gluTessEndPolygon'
/opt/wine-0.9.53/dlls/opengl32/wgl.c:436: undefined reference to `gluTessBeginPolygon'
/opt/wine-0.9.53/dlls/opengl32/wgl.c:443: undefined reference to `gluTessBeginContour'
/opt/wine-0.9.53/dlls/opengl32/wgl.c:446: undefined reference to `gluTessVertex'
/opt/wine-0.9.53/dlls/opengl32/wgl.c:460: undefined reference to `gluTessVertex'
/opt/wine-0.9.53/dlls/opengl32/wgl.c:489: undefined reference to `gluTessEndContour'
/opt/wine-0.9.53/dlls/opengl32/wgl.c:504: undefined reference to `gluDeleteTess'
/opt/wine-0.9.53/dlls/opengl32/wgl.c:473: undefined reference to `gluTessVertex'
/opt/wine-0.9.53/dlls/opengl32/wgl.c:476: undefined reference to `gluTessVertex'
collect2: ld returned 1 exit status
winegcc: gcc failed
make[2]: *** [opengl32.dll.so] Error 2
make[2]: Leaving directory `/opt/wine-0.9.53/dlls/opengl32'
make[1]: *** [opengl32] Error 2
make[1]: Leaving directory `/opt/wine-0.9.53/dlls'
make: *** [dlls] Error 2

How do I correct this? I think it's because I am using CentOS5 x64. I cannot use pre-built RPM packages because the most "recent" for RedHat/CentOS is 0.9.47. Too old. I had no problems building WINE 0.9.53 from source on another CentOS machine. Can't remember if it's 5.0 x86 or 5.0 x64

weibullguy 01-13-2008 10:14 PM

It's finding 64-bit libraries as you can see from the /usr/lib64/ prefix. Wine is trying to build against 32-bit OpenGL libraries as I suspect this path indicates /opt/wine-0.9.53/dlls/opengl32. You, obviously, need the 32-bit version of the libraries Wine is looking for. If CentOS is standards compliant, you can just install the missing 32-bit libraries.

Micro420 01-13-2008 10:37 PM

Thanks! Do you have any idea what 32-bit library files I would need to install from looking at that output?

weibullguy 01-14-2008 05:30 AM

libSM, libICE, libXxf86vm, libXext, and libX11 from X Windows. libGL is an OpenGL library either from you GPU vendor or MesaLib. libm and libc are from glibc.

Micro420 01-14-2008 12:15 PM

Thanks, I will make note of this. In the end, I just ended up reinstalling CentOS 5.1 and went the 32-bit architecture route since this 64-bit route is giving me pains, not only with WINE but other programs as well. I see now why people continue to stick with the 32-bit route.


All times are GMT -5. The time now is 10:49 AM.