Skip Menu |

Preferred bug tracker

Please visit the preferred bug tracker to report your issue.

This queue is for tickets about the OpenGL CPAN distribution.

Report information
The Basics
Id: 52357
Status: resolved
Priority: 0/
Queue: OpenGL

People
Owner: Nobody in particular
Requestors: sunilrk07 [...] gmail.com
Cc:
AdminCc:

Bug Information
Severity: Normal
Broken in: 0.61
Fixed in: (no value)



Not able to Install OpenGL-0.61 on 64bit RHEL4u6 OS. /usr/bin/ld: skipping incompatible /usr/lib/libGL.so when searching for -lGL /usr/bin/ld: skipping incompatible /usr/X11R6/lib/libGL.so when searching for -lGL /usr/bin/ld: skipping incompatible /usr/X11R6/lib/libGL.a when searching for -lGL /usr/bin/ld: skipping incompatible /usr/lib/libGLU.so when searching for -lGLU /usr/bin/ld: skipping incompatible /usr/X11R6/lib/libGLU.so when searching for -lGLU /usr/bin/ld: skipping incompatible /usr/X11R6/lib/libGLU.a when searching for -lGLU /usr/bin/ld: skipping incompatible /usr/X11R6/lib/libXi.so when searching for -lXi /usr/bin/ld: skipping incompatible /usr/X11R6/lib/libXi.a when searching for -lXi /usr/bin/ld: cannot find -lXi collect2: ld returned 1 exit status make: *** [glversion] Error 1
Try editing the utils/Makefile EXTRALIBS= line to remove the -lXi and see if things get farther. You should be able to just cd to that directory, edit the Makefile and just run a make to check. It would be a very helpful if you could determine exactly which EXTRALIBS arguments are actually needed, for example, are *any* of the -lX* ones needed? Thanks, Chris On Wed Dec 02 09:32:26 2009, sunilrk07 wrote: Show quoted text
> Not able to Install OpenGL-0.61 on 64bit RHEL4u6 OS. > > /usr/bin/ld: skipping incompatible /usr/lib/libGL.so when searching
for -lGL Show quoted text
> /usr/bin/ld: skipping incompatible /usr/X11R6/lib/libGL.so when > searching for -lGL > /usr/bin/ld: skipping incompatible /usr/X11R6/lib/libGL.a when searching > for -lGL > /usr/bin/ld: skipping incompatible /usr/lib/libGLU.so when searching for > -lGLU > /usr/bin/ld: skipping incompatible /usr/X11R6/lib/libGLU.so when > searching for -lGLU > /usr/bin/ld: skipping incompatible /usr/X11R6/lib/libGLU.a when > searching for -lGLU > /usr/bin/ld: skipping incompatible /usr/X11R6/lib/libXi.so when > searching for -lXi > /usr/bin/ld: skipping incompatible /usr/X11R6/lib/libXi.a when searching > for -lXi > /usr/bin/ld: cannot find -lXi > collect2: ld returned 1 exit status > make: *** [glversion] Error 1
Subject: Re: [rt.cpan.org #52357]
Date: Thu, 3 Dec 2009 12:04:36 +0530
To: bug-OpenGL [...] rt.cpan.org
From: Sunil Kulkarni <sunilrk07 [...] gmail.com>
Hi Chris, Thanks for the response. I removed -LXI form EXTRALIBS= under utils/Makefile and tried running the make and got following error. /usr/bin/ld: skipping incompatible /usr/lib/libGL.so when searching for -lGL /usr/bin/ld: skipping incompatible /usr/X11R6/lib/libGL.so when searching for -lGL /usr/bin/ld: skipping incompatible /usr/X11R6/lib/libGL.a when searching for -lGL /usr/bin/ld: skipping incompatible /usr/lib/libGLU.so when searching for -lGLU /usr/bin/ld: skipping incompatible /usr/X11R6/lib/libGLU.so when searching for -lGLU /usr/bin/ld: skipping incompatible /usr/X11R6/lib/libGLU.a when searching for -lGLU /usr/bin/ld: skipping incompatible /usr/X11R6/lib/libXmu.so when searching for -lXmu /usr/bin/ld: skipping incompatible /usr/X11R6/lib/libXmu.a when searching for -lXmu /usr/bin/ld: cannot find -lXmu collect2: ld returned 1 exit status make: *** [glversion] Error 1 Output after disabling EXTRALIBS line under utils/Makefile. perl Makefile.PL /usr/bin/ld: skipping incompatible /usr/lib/libGL.so when searching for -lGL /usr/bin/ld: skipping incompatible /usr/X11R6/lib/libGL.so when searching for -lGL /usr/bin/ld: skipping incompatible /usr/X11R6/lib/libGL.a when searching for -lGL /usr/bin/ld: skipping incompatible /usr/lib/libc.so when searching for -lc /usr/bin/ld: skipping incompatible /usr/lib/libc.a when searching for -lc Found FreeGLUT v20200 FreeGLUT or GLUT libraries were not found, won't build OpenGL module. at Makefile.PL line 336. Also please note that I am able to compile OpenGL successfully on RHEL4U6 i686 platform where it uses interface: FREEGLUT and has all required GLUT libraries. Thanks, Sunil.K On Wed, Dec 2, 2009 at 8:40 PM, Chris Marshall via RT < bug-OpenGL@rt.cpan.org> wrote: Show quoted text
> <URL: https://rt.cpan.org/Ticket/Display.html?id=52357 > > > Try editing the utils/Makefile EXTRALIBS= line to remove the -lXi > and see if things get farther. You should be able to just cd to > that directory, edit the Makefile and just run a make to check. > > It would be a very helpful if you could determine exactly which > EXTRALIBS arguments are actually needed, for example, are *any* > of the -lX* ones needed? > > Thanks, > Chris > > > On Wed Dec 02 09:32:26 2009, sunilrk07 wrote:
> > Not able to Install OpenGL-0.61 on 64bit RHEL4u6 OS. > > > > /usr/bin/ld: skipping incompatible /usr/lib/libGL.so when searching
> for -lGL
> > /usr/bin/ld: skipping incompatible /usr/X11R6/lib/libGL.so when > > searching for -lGL > > /usr/bin/ld: skipping incompatible /usr/X11R6/lib/libGL.a when searching > > for -lGL > > /usr/bin/ld: skipping incompatible /usr/lib/libGLU.so when searching for > > -lGLU > > /usr/bin/ld: skipping incompatible /usr/X11R6/lib/libGLU.so when > > searching for -lGLU > > /usr/bin/ld: skipping incompatible /usr/X11R6/lib/libGLU.a when > > searching for -lGLU > > /usr/bin/ld: skipping incompatible /usr/X11R6/lib/libXi.so when > > searching for -lXi > > /usr/bin/ld: skipping incompatible /usr/X11R6/lib/libXi.a when searching > > for -lXi > > /usr/bin/ld: cannot find -lXi > > collect2: ld returned 1 exit status > > make: *** [glversion] Error 1
> > > >
If you are compiling for a 64-bit OS, you will need to have the 64-bit drivers and libraries for OpenGL and GLU as well as the corresponding 64-bit FreeGLUT library. It appears that they are not being found for your platform. You need to know the locations of the above libraries (and header files) in order to compile and link OpenGL. Also, if you use "perl Makefile.PL verbose" you will get more information during the configuration phase. --Chris On Thu Dec 03 01:34:51 2009, sunilrk07 wrote: Show quoted text
> Found FreeGLUT v20200
If this FreeGLUT is present, it is very old. The current version is 2.6.0 (since last week) and 2.4.0 works as well (released in 2005). You may need a more recent version since there are differences between the 2.2.0 and the newer releases. Show quoted text
> FreeGLUT or GLUT libraries were not found, won't build OpenGL module. > at Makefile.PL line 336.
No libraries, no build. Show quoted text
> Also please note that I am able to compile OpenGL successfully on > RHEL4U6 i686 platform where it uses interface: FREEGLUT and has > all required GLUT libraries.
Those are the same libraries you need in 64-bit versions.
There is a new OpenGL-0.62 release you may wish to use.
Were you able to build a 64-bit OpenGL?  Another 64bit
linux developer has reported success.  Good luck.  --Chris
Marking this ticket as resolved since there has been no follow-up from the original requestor and a new OpenGL-0.62 has been released with a number of changes. Please report any new (or continuing) build problems for 64bit OSes. Feedback and willingness to help debug build issues are always appreciated. Thanks much, Chris