discuss-gnuradio
[Top][All Lists]
Advanced

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

Re: [Discuss-gnuradio] gr_modtool cmake/make problems on OSX


From: Michael Dickens
Subject: Re: [Discuss-gnuradio] gr_modtool cmake/make problems on OSX
Date: Mon, 25 Feb 2013 21:19:32 -0500

Hi Kevin - You'll want to use "install_name_tool" to fix the DLYD name id for both _howto_swig.so and libgnuradio-howto.dylib.  Here's what I would do (watch wrap):
{{{
sudo install_name_tool -id /opt/local/lib/libgnuradio-howto.dylib /opt/local/lib/libgnuradio-howto.dylib
sudo install_name_tool -change libgnuradio-howto.dylib /opt/local/lib/libgnuradio-howto.dylib /opt/local/lib/python2.7/site-packages/howto/_howto_swig.so
}}}
and, then you can verify that these are correct via:
{{{
otool -L /opt/local/lib/python2.7/site-packages/howto/_howto_swig.so
otool -L /opt/local/lib/libgnuradio-howto.dylib
}}}
as well as by loading in your howto module into Python. There's a way to coerce CMake into doing this auto-magically, but I'd have to look it up and test it out. Which won't be easy just right now because my primary computer is temporarily down for the count.
 
BTW> I -highly- recommend not installing non-MacPorts stuff into the MacPorts area; it's easy to overwrite something and not know it.  Most of the time what you're doing works OK, but when it does not it's really difficult to debug.  It's generally simple enough to set PATH and PYTHONPATH to include /usr/local/bin and /usr/local/lib/python2.7, which should take care of all of your GNU Radio needs if you install into /usr/local .
 
Hope this help! - MLD
 
On Mon, Feb 25, 2013, at 03:40 PM, Warren, Kevin M wrote:
%otool -L /opt/local/lib/python2.7/site-packages/howto/_howto_swig.so/opt/local/lib/python2.7/site-packages/howto/_howto_swig.so:
/opt/local/Library/Frameworks/Python.framework/Versions/2.7/Python (compatibility version 2.7.0, current version 2.7.0)
libgnuradio-howto.dylib (compatibility version 0.0.0, current version 0.0.0)
/opt/local/lib/libboost_filesystem-mt.dylib (compatibility version 0.0.0, current version 0.0.0)
/opt/local/lib/libboost_system-mt.dylib (compatibility version 0.0.0, current version 0.0.0)
/opt/local/lib/libgruel.3.6.4git.dylib (compatibility version 3.6.4, current version 0.0.0)
/opt/local/lib/libgnuradio-core.3.6.4git.dylib (compatibility version 3.6.4, current version 0.0.0)
/usr/lib/libstdc++.6.dylib (compatibility version 7.0.0, current version 7.9.0)
/usr/lib/libSystem.B.dylib (compatibility version 1.0.0, current version 125.2.11)

reply via email to

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