How did libavbin.11.dylib get owned by user 503 and group 503, with
permissions 700?  That's the problem.  The 11alpha4 installer *ought* to
correctly set that to user root, group wheel, with permissions 775.

The manual fix is to run these commands:

sudo chown root:wheel /usr/local/lib/libavbin.11.dylib
sudo chmod 775 /usr/local/lib/libavbin.11.dylib

Give that a try and let me know if it works.

~ Nathan


On Tue, Dec 11, 2012 at 12:35 PM, George Wright <[email protected]>wrote:

> Nathan
>
> Last login: Wed Dec 12 06:21:32 on console
> GeoMacBkPro:~ georgewright$ ls -l /usr/local/lib
> total 21952
> -rwx------  1 503   503    11210332 26 Nov 15:28 libavbin.11.dylib
> lrwxr-xr-x  1 root  wheel        32 11 Dec 06:43 libavbin.dylib ->
> /usr/local/lib/libavbin.11.dylib
> -rw-r--r--  1 root  wheel     55936 29 Nov 14:11 libsecurity_agent_client.a
> -rw-r--r--  1 root  wheel      9712 29 Nov 14:11 libsecurity_agent_server.a
> lrwxr-xr-x  1 root  wheel        16 17 Nov 15:57 wxPython ->
> wxPython-2.9.4.0
> drwxr-xr-x  6 root  wheel       204 22 Jul 07:26 wxPython-2.9.4.0
> GeoMacBkPro:~ georgewright$
>
> George
>
> On 11/12/2012, at 8:43 PM, [email protected] wrote:
>
>   Today's Topic Summary
>
> Group: http://groups.google.com/group/pyglet-users/topics
>
>    - Pepijn's Problem [2 Updates]
>
>   Pepijn's 
> Problem<http://groups.google.com/group/pyglet-users/t/f7d5e199149ced9b>
>
>    George Wright <[email protected]> Dec 11 06:59AM +1100
>
>
>    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
>
>    On 08/12/2012, at 9:03 PM, [email protected] wrote:
>
>    > 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.
>
>    George Wright
>    [email protected]
>
>
>
>    Nathan <[email protected]> Dec 10 09:53PM -0700
>
>
>    What's the output of "ls -l /usr/local/lib"?
>
>    ~ Nathan
>
>
>
>
>  You received this message because you are subscribed to the Google Group
> pyglet-users.
>
> You can post via email <[email protected]>.
> To unsubscribe from this group, 
> send<[email protected]>an empty message.
> For more options, 
> visit<http://groups.google.com/group/pyglet-users/topics>this group.
>
>
> --
> 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.
>
>
> George Wright
> [email protected]
>
>
>
>  --
> 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.
>

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