What's the output of "ls -l /usr/local/lib"?

~ Nathan


On Mon, Dec 10, 2012 at 12:59 PM, George Wright <[email protected]>wrote:

> Nathan
> I'm having problems too. OSX 10.8.2
> Apple supplied python 2.7.2
> Installed the prerelease avbin version 11 package (second of your links
> below) after getting a False for
> print(pyglet.media.have_avbin) call.
>
> Got this error message:
> Last login: Mon Dec 10 06:52:46 on ttys001
> GeoMacBkPro:~ georgewright$ python
> Python 2.7.2 (default, Jun 20 2012, 16:23:33)
> [GCC 4.2.1 Compatible Apple Clang 4.0 (tags/Apple/clang-418.0.60)] on
> darwin
> Type "help", "copyright", "credits" or "license" for more information.
> >>> import pyglet
> >>> print(pyglet.version)
> 1.2alpha1
> >>> print(pyglet.media.have_avbin)
> Unexpected error loading library /usr/local/lib/libavbin.dylib:
> dlopen(/usr/local/lib/libavbin.dylib, 6): no suitable image found.  Did
> find:
> /usr/local/lib/libavbin.dylib: open() failed with errno=13
> Traceback (most recent call last):
>   File "<stdin>", line 1, in <module>
>   File "/Library/Python/2.7/site-packages/pyglet/__init__.py", line 338,
> in __getattr__
>     __import__(import_name)
>   File "/Library/Python/2.7/site-packages/pyglet/media/__init__.py", line
> 1469, in <module>
>     import avbin
>   File "/Library/Python/2.7/site-packages/pyglet/media/avbin.py", line 64,
> in <module>
>     darwin='/usr/local/lib/libavbin.dylib')
>   File "/Library/Python/2.7/site-packages/pyglet/lib.py", line 111, in
> load_library
>     lib = ctypes.cdll.LoadLibrary(name)
>   File
> "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/ctypes/__init__.py",
> line 431, in LoadLibrary
>     return self._dlltype(name)
>   File
> "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/ctypes/__init__.py",
> line 353, in __init__
>     self._handle = _dlopen(self._name, mode)
> OSError: dlopen(/usr/local/lib/libavbin.dylib, 6): no suitable image
> found.  Did find:
> /usr/local/lib/libavbin.dylib: open() failed with errno=13
> >>>
> What do you suggest?
> Regards
> George Wright
>
>

-- 
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.

Reply via email to