It is likely that a function in the libgfortran runtime library is not found in the MATLAB application directory, where it is expected. A possible workaround would be to use a soft (symbolic) link for the libgfortran.3.dylib. Dec 14, 2016 This site contains user submitted content, comments and opinions and is for informational purposes only. Apple disclaims any and all liability for the acts, omissions and conduct of any third parties in connection with or related to your use of the site. May 10, 2017 I'm seeing this error: Library not loaded: @rpath/./libgfortran.3.dylib when I created a brand new conda env. All I've done is install numpy on a python=3.5 environment. All I've done is install numpy on a python=3.5 environment. Most of macOS workstations do not have any NVIDIA graphic boards, hence they cannot run CUDA, for MVS part. So compiling and using Meshroom is not exactly straightforward.However, Ryan Baumann has compiled his own Homebrew tap which includes the necessary formulae, and you can use this post to get an idea of how to use them to get up and running.
Fixing 'ImportError: dlopen(/usr/local/lib/python2.7/site-packages/scipy/fftpack/_fftpack.so, 2): Library not loaded: /usr/local/opt/gcc/lib/gcc/5/libgfortran.3.dylib' with scipy installed via homebrew
scipy.fftpack.homebrew.txt
python /Users/admin/rf/gnuradio/gr-dtv/examples/atsc_ctrlport_monitor.py |
python |
import scipy |
import scipy.fftpack |
Traceback (most recent call last): |
File '<stdin>', line 1, in <module> |
File '/usr/local/lib/python2.7/site-packages/scipy/fftpack/__init__.py', line 95, in <module> |
from .basic import * |
File '/usr/local/lib/python2.7/site-packages/scipy/fftpack/basic.py', line 12, in <module> |
from . import _fftpack |
ImportError: dlopen(/usr/local/lib/python2.7/site-packages/scipy/fftpack/_fftpack.so, 2): Library not loaded: /usr/local/opt/gcc/lib/gcc/5/libgfortran.3.dylib |
Referenced from: /usr/local/lib/python2.7/site-packages/scipy/fftpack/_fftpack.so |
Reason: image not found |
scipy installed from: brew install scipy |
hint from https://github.com/Homebrew/homebrew-science/issues/3718 - caused by gcc 5 -> 6 |
library is linking gcc/5, but we have gcc/6 |
sudo install_name_tool -change /usr/local/opt/gcc/lib/gcc/5/libgfortran.3.dylib /usr/local/opt/gcc/lib/gcc/6/libgfortran.3.dylib /usr/local/lib/python2.7/site-packages/scipy/fftpack/_fftpack.so |
sudo install_name_tool -change /usr/local/opt/gcc/lib/gcc/5/libquadmath.0.dylib /usr/local/opt/gcc/lib/gcc/6/libquadmath.0.dylib /usr/local/lib/python2.7/site-packages/scipy/fftpack/_fftpack.so |
sudo install_name_tool -change /usr/local/opt/gcc/lib/gcc/5/libgfortran.3.dylib /usr/local/opt/gcc/lib/gcc/6/libgfortran.3.dylib /usr/local/lib/python2.7/site-packages/scipy/fftpack/convolve.so |
sudo install_name_tool -change /usr/local/opt/gcc/lib/gcc/5/libquadmath.0.dylib /usr/local/opt/gcc/lib/gcc/6/libquadmath.0.dylib /usr/local/lib/python2.7/site-packages/scipy/fftpack/convolve.so |
repeat for other libraries as needed, after fixing, should be able to load: |
$ python |
>>> import scipy |
>>> import scipy.fftpack |
and run: |
$ python /Users/admin/rf/gnuradio/gr-dtv/examples/atsc_ctrlport_monitor.py |
Traceback (most recent call last): |
File '/Users/admin/rf/gnuradio/gr-dtv/examples/atsc_ctrlport_monitor.py', line 147, in <module> |
host = sys.argv[1] |
IndexError: list index out of range |
What Is Dyld
commented Jun 20, 2016
commented Jun 30, 2016
many more.. do all, based on Homebrew/homebrew-science#3718 (comment) |
Mac Os Error Dyld Library Not Loaded Rpath Libgfortran.3.dylib
Sign up for freeto join this conversation on GitHub. Already have an account? Sign in to comment