I have compiled Pygame for Python 3.4 on Ubuntu 14.04 following the instructions listed here. However, when I try to compile a Pygame program, I get the following error:
Traceback (most recent call last):
File "game.py", line 4, in <module>
import pygame
File "/usr/local/lib/python3.4/dist-packages/pygame/__init__.py", line 133, in <module>
from pygame.base import *
ImportError: /usr/local/lib/libSDL-1.2.so.0: undefined symbol: _XGetRequest
I have read that this might be due to a library mismatch. If that's true, how can I find out what libraries are involved (other than SDL) and how can I fix it?