[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]

[pygame] Missing "libSDL_gfx.so.4"



I recently tried to install the current version of sdl_gfx from source for pygame2. After some problems, I installed it successfully and tested it with its own test suite. However, after reinstalling pygame2 with SDL_gfx installed, I get an error if I try to import pygame.sdlgfx.primitives:

Traceback (most recent call last):
  File "sdlgfxtest.py", line 6, in <module>
    import pygame2.sdlgfx.primitives as gfx
  File "/usr/lib/python2.5/site-packages/pygame2/sdlgfx/__init__.py", line 1, in <module>
    from pygame2.sdlgfx.base import *
ImportError: libSDL_gfx.so.4: cannot open shared object file: No such file or directory

Here's my configuration (I'm using the most recent revision of pygame2 and sdl_gfx):

This is my Python version:
evan@evan-desktop:~$ python
Python 2.5.2 (r252:60911, Oct  5 2008, 19:29:17) 
[GCC 4.3.2] on linux2

This is my kernel version:
evan@evan-desktop:~$ uname -r
2.6.27-11-generic

Finally, this is my OS version (it's the 64 bit version):
evan@evan-desktop:~$ cat /etc/issue
Ubuntu 8.10 \n \l

If you can tell me where the source of pygame2.sdlgfx.base is, I might be able to figure it out.

--
Evan Kroske
http://welcome2obscurity.blogspot.com/
The code, comments, and challenges of a novice
software developer desperate for attention.