On 4/28/08, Colin Bean <[EMAIL PROTECTED]> wrote: > > Hey all, > > Just installed Pyglet 1.1 beta on OS X 10.4.11, and AVbin isn't being > recognized. The AVbin libraries look like they're correctly installed > in /usr/local/lib: > > $ ls -la /usr/local/lib/libavbin.* > -rwxr-xr-x 1 root wheel 5337660 Apr 18 08:14 > /usr/local/lib/libavbin.3.dylib > lrwxr-xr-x 1 root colinbea 16 Apr 27 21:16 > /usr/local/lib/libavbin.dylib -> libavbin.3.dylib > > But trying to import pyglet.media.avbin still fails with: > ImportError: Library "avbin" not found. > > Taking a hint from this discussion (http://www.pyweek.org/d/1725/), I tried: > > >>> ctypes.cdll.LoadLibrary('/usr/local/libavbin.dylib') > Traceback (most recent call last): > File "<stdin>", line 1, in <module> > File > "/Library/Frameworks/Python.framework/Versions/2.5/lib/python2.5/ctypes/__init__.py", > line 395, in LoadLibrary > return self._dlltype(name) > File > "/Library/Frameworks/Python.framework/Versions/2.5/lib/python2.5/ctypes/__init__.py", > line 312, in __init__ > self._handle = _dlopen(self._name, mode) > OSError: dlopen(/usr/local/libavbin.dylib, 6): Symbol not found: > _close$UNIX2003 > Referenced from: /usr/local/lib/libavbin.dylib > Expected in: /usr/lib/libSystem.B.dylib > > Any ideas on what could be causing this? >
Probably an incompatibility building on 10.5 and running on 10.4. I've managed to reproduce the problem on a friend's 10.4/intel machine (it works on my 10.4/ppc machine), I'll be able to take a closer look sometime this week. Alex. --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "pyglet-users" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/pyglet-users?hl=en -~----------~----~----~----~------~----~------~--~---
