wxPython-src-2.8.4.0 link problem

James A. Benson jbenson at sextans.lowell.edu
Mon Aug 6 18:44:43 PDT 2007


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
appreciate hearing them:

[root at tycho bld]# cat make_wx
make $* \
      && make -C contrib/src/gizmos $* \
      && make -C contrib/src/stc $*

[root at tycho bld]# ./make_wx
g++ -shared -fPIC -o 
/usr/local/wxPython-src-2.8.4.0/bld/lib/libwx_gtk2ud_gl-2.8.so.0.1.1 
gldll_glcanvas.o -pthread   -L/usr/X11R6/lib64 
-L/usr/local/wxPython-src-2.8.4.0/bld/lib 
-Wl,-soname,libwx_gtk2ud_gl-2.8.so.0   -ldl -lm -lwxtiffd-2.8 
-lwxjpegd-2.8 -lwxpngd-2.8 -Wl,--export-dynamic -pthread -lgtk-x11-2.0 
-lgdk-x11-2.0 -latk-1.0 -lgdk_pixbuf-2.0 -lm -lpangoxft-1.0 -lpangox-1.0 
-lpango-1.0 -lgobject-2.0 -lgmodule-2.0 -ldl -lgthread-2.0 -lglib-2.0 
-lXinerama -lSM -lwxzlibd-2.8  -lwxregexud-2.8  -pthread 
-L/usr/X11R6/lib64 
-Wl,--version-script,/usr/local/wxPython-src-2.8.4.0/bld/version-script 
-ldl -lm  -lwx_gtk2ud_core-2.8 -lwx_baseud-2.8  -lGL -lGLU
/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
make: *** 
[/usr/local/wxPython-src-2.8.4.0/bld/lib/libwx_gtk2ud_gl-2.8.so.0.1.1] 
Error 1
[root at tycho bld]#

Thanks!

Jim




More information about the wxpython-users mailing list