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

SourceForge.net noreply at sourceforge.net
Fri Apr 28 10:59:30 CEST 2006

Bugs item #1478253, was opened at 2006-04-28 08:59
Message generated for change (Tracker Item Submitted) made by Item Submitter
You can respond by visiting: 

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 #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
-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
         U XGetExtensionVersion

myhost> nm /usr/local/X11R6/lib/libXi.so|egrep -i
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.



You can respond by visiting: 

More information about the Python-bugs-list mailing list