



Turns out I made a typo in my install_name_tool arguments. running install running build running buildpy creating build creating build/lib.macosx-11-arm64-3.9 creating build/lib. The next thing to try is to repair the Photos app library. a patented specialized Mac OS X repair program. I would very much prefer to avoid XCode.Įdit: Oops, I derped. It will scan all System Files, DLLs and Registry Keys that have been damaged by security threats. Also, I'm trying to do all this with the command line. Is what I'm trying to do not possible with the Mac operating system? I'm new to this platform, and am used to things like this working without a hitch on Windows and GNU/Linux. I've tried building the test application with -headerpad_max_install_names and then using install_name_tool to change the path. I've tried using install_name_tool to change the path to the dylib in the executable, nothing changes, same error. I've tried putting the dylib in the executable path itself, same error. I've tried making a lib folder in the executable directory and putting the dylib inside, same error. Referenced from: /Users/Joe/Desktop/./test dylib and compiled the test application with it, but when I run the application I get:ĭyld: Library not loaded. I want to simply build a dynamic library on Mac OS X, and then build an application using that library. I have a very simple question that I've been trying to figure out for the last 6 hours or so.
