Nathan
OK did that chown, chmod as you suggested:
GeoMacBkPro:~ georgewright$ ls -l /usr/local/lib
total 21952
-rwxrwxr-x  1 root  wheel  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

Then print (pyglet.media.have_avbin):

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

OK
I haven't had a chance to test pyglet any more than that yet .....
will let you know soon as .
Thanks
George

On Wednesday, 12 December 2012 10:26:42 UTC+11, Nathan wrote:
>
> 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]<javascript:>
> > 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] <javascript:>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] <javascript:>> 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] <javascript:>wrote:
>>     
>>    > To post to this group, send email to 
>> [email protected]<javascript:>
>>    .
>>    > To unsubscribe from this group, send email to 
>>    [email protected] <javascript:>.
>>    > For more options, visit this group at 
>>    http://groups.google.com/group/pyglet-users?hl=en.
>>     
>>    George Wright
>>    [email protected] <javascript:>
>>     
>>    
>>
>>    Nathan <[email protected] <javascript:>> 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 <javascript:>.
>> To unsubscribe from this group, send <javascript:> 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]<javascript:>
>> .
>> To unsubscribe from this group, send email to 
>> [email protected] <javascript:>.
>> For more options, visit this group at 
>> http://groups.google.com/group/pyglet-users?hl=en.
>>
>>
>> George Wright
>> [email protected] <javascript:>
>>
>>
>>  
>>  -- 
>> 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]<javascript:>
>> .
>> To unsubscribe from this group, send email to 
>> [email protected] <javascript:>.
>> 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 view this discussion on the web visit 
https://groups.google.com/d/msg/pyglet-users/-/uEK9MYL5of4J.
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