discuss-gnuradio
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Discuss-gnuradio] OSX 10.6 Audio Library Error


From: Michael Dickens
Subject: Re: [Discuss-gnuradio] OSX 10.6 Audio Library Error
Date: Wed, 6 Jul 2011 12:37:12 -0400

Hi Ryan - I just did a clean uninstall, git pull, then reinstall of the current 
master; I don't see this issue at all (e.g., the "dial_tone.py" example works 
just fine -- though I don't know which audio interface is being used).  I'm 
running 10.6.8 on a MacBook Pro (early 2009 model), 64-bit kernel, using XCode 
3.2.3 (Apple GCC 4.2.1 build 5664).  I installed all background dependencies 
using MacPorts (roughly: "sudo port install gnuradio" and then disabling all of 
the GNU Radio ports, leaving just the dependencies).

If I do "nm -a /usr/local/lib/libgnuradio-audio-3.4.1git.0.dylib | grep 
_Audio", I see (correctly) "U _AudioComponentFindNext" (among others).  If I do 
"otool -L /usr/local/lib/libgnuradio-audio-3.4.1git.0.dylib", I see (among 
others in the list) 
"/System/Library/Frameworks/CoreAudio.framework/Versions/A/CoreAudio" and 
"/System/Library/Frameworks/AudioUnit.framework/Versions/A/AudioUnit" and 
"/System/Library/Frameworks/AudioToolbox.framework/Versions/A/AudioToolbox".  
Now, admittedly, I also have JACK and PortAudio installed -- so those might be 
providing the libraries instead of having them linked in just for (the old) 
gr-audio-osx code; I'll try testing with just the OSX audio & see what happens.

Does the provided patch (doing "+LDFLAGS = -framework AudioUnit -framework 
AudioToolbox") work for you? - MLD

On Jul 6, 2011, at 12:16 AM, Ryan Pape wrote:

> I'm having trouble with a new install on OSX 10.6.  I've done this enough 
> times on other OSX versions but I am drawing a blank.    Can anyone help me 
> out?  Can't find Core Audio libs?
> 
> Traceback (most recent call last):
>   File "./dial_tone.py", line 24, in <module>
>     from gnuradio import audio
>   File "/usr/local/lib/python2.6/site-packages/gnuradio/audio/__init__.py", 
> line 22, in <module>
>     from audio_swig import *
>   File "/usr/local/lib/python2.6/site-packages/gnuradio/audio/audio_swig.py", 
> line 26, in <module>
>     _audio_swig = swig_import_helper()
>   File "/usr/local/lib/python2.6/site-packages/gnuradio/audio/audio_swig.py", 
> line 22, in swig_import_helper
>     _mod = imp.load_module('_audio_swig', fp, pathname, description)
> ImportError: 
> dlopen(/usr/local/lib/python2.6/site-packages/gnuradio/audio/_audio_swig.so, 
> 2): Symbol not found: _AudioComponentFindNext
>   Referenced from: /usr/local/lib/libgnuradio-audio-3.4.1git.0.dylib
>   Expected in: flat namespace
>  in /usr/local/lib/libgnuradio-audio-3.4.1git.0.dylib




reply via email to

[Prev in Thread] Current Thread [Next in Thread]