Why does my executable not run under bash ?
I've got a command line executable (compiled using nvcc and clang), which works fine when I run it from the command line.
This means it's executed from the tcsh (which is my interactive shell).
However, when I try to run the same executable from the bash , either a bash script or the interactive bash,
it fails with the error message
dyld: Symbol not found: _iconv
Referenced from: /System/Library/PrivateFrameworks/LanguageModeling.framework/Versions/A/Languag eModeling
Expected in: /opt/local/lib/libiconv.2.dylib
in /System/Library/PrivateFrameworks/LanguageModeling.framework/Versions/A/Languag eModeling
But the library is there in /opt/local/lib.
Any hints what I can check will be greatly appreciated.
Best regards,
Gabriel.
MacBook Pro with Retina display, OS X El Capitan (10.11.2), iPhone 6S, always latest iOS