[wxPython-users] wxPython-src-2.8.4.0 link problem
James A. Benson
jbenson at sextans.lowell.edu
Tue Aug 7 12:29:37 PDT 2007
On Mon, 6 Aug 2007, James A. Benson wrote:
>
> Hello,
>
> I have been upgrading/reinstalling/installing wxPython
> on various machines. I have managed to install
> wxPython-src-2.8.4.0 on a FC5 32bit machine and
> a F7 32bit machine. On a 64bit Linux enterprise 4 machine
> I have a problem. If anyone has any hints/suggestions, i would greatly
...
> /usr/bin/ld: /usr/X11R6/lib64/libGL.a(glapi.o): relocation R_X86_64_32
> against `a local symbol' can not be used when making a shared object;
> recompile with -fPIC
> /usr/X11R6/lib64/libGL.a: could not read symbols: Bad value
> collect2: ld returned 1 exit status
>
I found a work around that appears to work. The workaround
was to simply comment out the line in the Makefile
that was telling it to try to link to the libGL library.
e.g. in:
[root at tycho bld]# pwd
/usr/local/wxPython-src-2.8.4.0/bld
the line:
#EXTRALIBS_OPENGL = -lGL -lGLU
After commenting the above line out (as shown)
all the rest of the build/install steps worked fine.
The wxPython demo seems to work as well.
Hope this helps others trying to get wxPython installed
on a RHEL 4 x86_64 machine.
Jim
More information about the wxpython-users
mailing list