OSError: dlopen(/Users/ncc-1701-enterprise/Documents/MERFISH_analysis/storm-analysis/storm_analysis/c_libraries/libgrid.dylib, 6): image not found
/Users/ncc-1701-enterprise/Documents/MERFISH_analysis/storm-analysis/storm_analysis/visualizer/
Find the source of the error according to the error track back:
~/Documents/MERFISH_analysis/storm-analysis/storm_analysis/sa_library/loadclib.py in loadCLibrary(library_filename)
62 library_filename = 'lib' + library_filename
63 library_filename += '.dylib'
---> 64 return ctypes.cdll.LoadLibrary(os.path.join(c_lib_path, library_filename)
filename
refers to storm here_analysis/sa_Library/grid.C
seems to generate a .Dylib
file from this file.
A brief description of the. Dylib format:
It’s not a hammer. Anyway, using GCC
to generate a dynamic library .Dylib
will solve the problem!
gcc -c draw_gaussians.c -o draw_gaussians.o
gcc draw_gaussians.o -dynamiclib -o libdraw_gaussians.dylib
#That's it, generate it and move .dylib to the specified folder and you're done, don't hesitate.
#Or both can be integrated into the same command
Similar Posts:
- MERFISH Error: Error4 Library not load.md [How to Solve]
- [Solved] ClassNotFoundException: org.apache.storm.kafka.spout.KafkaSpoutConfig
- [How to Solve] Library not loaded: libmysqlclient.18.dylib
- Solution to the problem of unable to load native Hadoop Library in MAC development
- [Solved] MERFISH_debug Error: codebook = fastaread(codebook);
- Problem overview: the setcharacterencoding() method of httpservletresponse reports an error
- [Solved] IOS12 + Xscode12 Error: Building for iOS Simulator, but linking in dylib built for iOS, file ‘/Users/XXX/Desktop/XXXX/XXX.framework/JSSDK’ for architecture arm64
- [Solved] Captcha Library Error: “OSError: cannot open resource”
- [Solved] “/bin/bash^M: bad interpreter: No such file or directory”