[MacPorts] #49919: gr-osmosdr is still broken after rebuilding it more than 3 times.

MacPorts noreply at macports.org
Tue Dec 8 03:04:12 PST 2015


#49919: gr-osmosdr is still broken after rebuilding it more than 3 times.
-------------------------+-------------------------
  Reporter:  ton@…       |      Owner:  michaelld@…
      Type:  defect      |     Status:  new
  Priority:  Normal      |  Milestone:
 Component:  ports       |    Version:  2.3.4
Resolution:              |   Keywords:
      Port:  gr-osmosdr  |
-------------------------+-------------------------

Comment (by ton@…):

 {{{
 TM-MBP:lib Ton$ echo $PYTHONPATH
 /opt/local/lib/python2.7/site-
 packages:/opt/local/Library/Frameworks/Python.framework/Versions/2.7:
 }}}
 So this was wrong. I changed it to
 /opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7
 /site-packages and still have the same issues.

 {{{
 TM-MBP:~ Ton$ echo $PYTHONPATH
 /opt/local/lib/python2.7/site-
 packages:/opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7
 /site-packages
 TM-MBP:~ Ton$ osmocom_fft
 Traceback (most recent call last):
   File "/opt/local/bin/osmocom_fft", line 33, in <module>
     import osmosdr
   File "/opt/local/lib/python2.7/site-packages/osmosdr/__init__.py", line
 26, in <module>
     from osmosdr_swig import *
   File "/opt/local/lib/python2.7/site-packages/osmosdr/osmosdr_swig.py",
 line 28, in <module>
     _osmosdr_swig = swig_import_helper()
   File "/opt/local/lib/python2.7/site-packages/osmosdr/osmosdr_swig.py",
 line 24, in swig_import_helper
     _mod = imp.load_module('_osmosdr_swig', fp, pathname, description)
 ImportError: dlopen(/opt/local/lib/python2.7/site-
 packages/osmosdr/_osmosdr_swig.so, 2): Library not loaded: /opt/local/lib
 /libgnuradio-runtime.3.7.8.dylib
   Referenced from: /opt/local/lib/python2.7/site-
 packages/osmosdr/_osmosdr_swig.so
   Reason: image not found
 }}}

 So there is the error!! The library i have is 3.7.8.1, not 3.7.8.
 osmocom_fft is looking for 3.7.8. How to fix this?
 {{{
 TM-MBP:lib Ton$ ls -al libgnuradio-runtime*
 -rwxr-xr-x  1 root  admin  861872 Dec  6 11:26 libgnuradio-
 runtime.3.7.8.1.dylib
 lrwxr-xr-x  1 root  admin      33 Dec  8 12:01 libgnuradio-runtime.dylib
 -> libgnuradio-runtime.3.7.8.1.dylib
 }}}

-- 
Ticket URL: <https://trac.macports.org/ticket/49919#comment:11>
MacPorts <https://www.macports.org/>
Ports system for OS X


More information about the macports-tickets mailing list