- Mar 7, 2019
- 1,112
- 923
how i solved a similar issue on the linux side (the actions runner uses ubuntu 20.04 which has the older libffi.so.7, whille my arch system has the uppdated libffi.so.8, so it would quit instantly) is exactly byI'm not really familiar with Github actions, but if there's a way to copy the gettext libs into the package, and get the package directory in the DYLD_LIBRARY_PATH environment variable, that might fix it.
You must be registered to see the links
. it should be fairly straightforward to do the same on macos. from that error message im guessing we need to include "intl"... as for adding to DYLD_LIBRARY_PATH, well im not sure if its even needed since it should be baked into the executable somehow? we'll seelooks like cx_Freeze has both a bdist_mac and a bdist_dmg command. iirc dmg's are kinda like installers, and thats not how i want to setup f95checker. bdist_mac instead should bundle as a .app...There's also a hassle that every .so library included in the package triggers a security warning and has to be approved manually, because the libraries aren't signed.
I wonder if a different packaging method that packages everything into a single .app would work better for Mac? That might fix both problems.
ill try something out with both these options then