LinuxQuestions.org
Visit the LQ Articles and Editorials section
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices



Reply
 
Search this Thread
Old 01-13-2008, 09:36 PM   #1
Micro420
Senior Member
 
Registered: Aug 2003
Location: Berkeley, CA
Distribution: Mac OS X Leopard 10.6.2, Windows 2003 Server/Vista/7/XP/2000/NT/98, Ubuntux64, CentOS4.8/5.4
Posts: 2,986

Rep: Reputation: 45
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

Last edited by Micro420; 01-13-2008 at 09:38 PM.
 
Old 01-13-2008, 11:14 PM   #2
weibullguy
ReliaFree Maintainer
 
Registered: Aug 2004
Location: Kalamazoo, Michigan
Distribution: Slackware-current, Cross Linux from Scratch, Gentoo
Posts: 2,753
Blog Entries: 1

Rep: Reputation: 238Reputation: 238Reputation: 238
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.

Last edited by weibullguy; 01-13-2008 at 11:15 PM.
 
Old 01-13-2008, 11:37 PM   #3
Micro420
Senior Member
 
Registered: Aug 2003
Location: Berkeley, CA
Distribution: Mac OS X Leopard 10.6.2, Windows 2003 Server/Vista/7/XP/2000/NT/98, Ubuntux64, CentOS4.8/5.4
Posts: 2,986

Original Poster
Rep: Reputation: 45
Thanks! Do you have any idea what 32-bit library files I would need to install from looking at that output?
 
Old 01-14-2008, 06:30 AM   #4
weibullguy
ReliaFree Maintainer
 
Registered: Aug 2004
Location: Kalamazoo, Michigan
Distribution: Slackware-current, Cross Linux from Scratch, Gentoo
Posts: 2,753
Blog Entries: 1

Rep: Reputation: 238Reputation: 238Reputation: 238
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.
 
Old 01-14-2008, 01:15 PM   #5
Micro420
Senior Member
 
Registered: Aug 2003
Location: Berkeley, CA
Distribution: Mac OS X Leopard 10.6.2, Windows 2003 Server/Vista/7/XP/2000/NT/98, Ubuntux64, CentOS4.8/5.4
Posts: 2,986

Original Poster
Rep: Reputation: 45
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.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Can I install wine in mandriva 2007.1 x64? vbbjq Mandriva 3 06-02-2007 09:14 PM
kernel source install help needed on fc6 x64 lizard_king825 Linux - Kernel 10 05-15-2007 05:34 PM
Can't install Wine 0.9.34 in my Debian x64 Etch testing doraimom Debian 7 04-03-2007 12:29 PM
Fedora x64 using a Belkin card : trying ndiswrapper and getting errors: please advise amdbcg Linux - Hardware 16 02-10-2007 01:06 AM
can i run linux mandriver x64 with windows x64 bit if so wich one should i install fi malmac2000 Linux - Software 2 04-26-2006 08:04 AM


All times are GMT -5. The time now is 05:09 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration