[ python-Bugs-1478253 ] test_ctypes: undefined symbol: XGetExtensionVersion

SourceForge.net noreply at sourceforge.net
Fri Apr 28 17:02:53 CEST 2006


Bugs item #1478253, was opened at 2006-04-28 10:59
Message generated for change (Comment added) made by theller
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=105470&aid=1478253&group_id=5470

Please note that this message will contain a full copy of the comment thread,
including the initial issue submission, for this request,
not just the latest update.
Category: Build
Group: Python 2.5
Status: Open
Resolution: None
Priority: 5
Submitted By: balducci (balducci)
Assigned to: Nobody/Anonymous (nobody)
Summary: test_ctypes: undefined symbol: XGetExtensionVersion

Initial Comment:
Dear python maintainers,

apologies if I'm wrong or I'm missing some evident point.

Just built 2.5a2 on linux:

     myhost> uname -a
     Linux myhost 2.6.16.5 #1 Thu Apr 13 10:01:54 CEST
2006 i686 unknown


I find that `make test' chokes in test_ctypes.

Running the single test with `./python -E -tt
./Lib/test/regrtest.py 
-l -v -s test_ctypes' gives me the output shown in the
attached file.


As far as I could google around, I seem to understand
that this
problem has already appeared in the past. Basically, it
is due to the
fact that libglut (version 3.7) does not contain the
XGetExtensionVersion function, which is instead defined
in libXi:

myhost> nm /usr/local/X11R6/lib/libglut.so.3|egrep -i
xgetextensionversion
         U XGetExtensionVersion

myhost> nm /usr/local/X11R6/lib/libXi.so|egrep -i
xgetextensionversion
00003930 T XGetExtensionVersion

I seem to understand that libglut should be dlopen'ed
together with
libXi, in order to have XGetExtensionVersion available.

Unfortunately, I don't speak python, so I'm not in the
position to
suggest any reasonable fix for this.

I send this message in the hope of making something
useful: if this is
not the case, please, accept my apologies.

I thank you very much for your time and effort in
maintaining python.

Ciao
Gabriele



----------------------------------------------------------------------

>Comment By: Thomas Heller (theller)
Date: 2006-04-28 17:02

Message:
Logged In: YES 
user_id=11105

I don't know enough about linux shared libraries, either, to
sugegst a fix or workaround.  OTOH, I'm also not able to
reproduce that problem on any of the linux machines that I
have access to.  What kind of system is this?

----------------------------------------------------------------------

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=105470&aid=1478253&group_id=5470


More information about the Python-bugs-list mailing list