digitalmars.D.learn - How do I load dylib (i.e. phobos and druntime for ldc) in Macos
This is more a macos thing than a D thing but still relevant. In another thread I was asking about cleaning up a D dylib for using in Excel. Ldc was suggested though first I have to figure out how to make the phobos and druntime loadable from within the sandbox. (I've posted in a new topic as it was drift from the original question - hope that helps anyone else searching for the same answers). I'm not expecting many relies - unless someone has happened to have solved it. Will post links once I've figured a solution.
Mar 14 2021
On Sunday, 14 March 2021 at 11:40:25 UTC, David wrote:This is more a macos thing than a D thing but still relevant. In another thread I was asking about cleaning up a D dylib for using in Excel. Ldc was suggested though first I have to figure out how to make the phobos and druntime loadable from within the sandbox. (I've posted in a new topic as it was drift from the original question - hope that helps anyone else searching for the same answers). I'm not expecting many relies - unless someone has happened to have solved it. Will post links once I've figured a solution.Solved using install_name_tool and https://medium.com/ donblas/fun-with-rpath-otool-and-install-name-tool-e3e41ae86172
Mar 14 2021