Replies: 1 comment
-
Have you tried to make a static library. It should suck the static lib inside the main binary. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Is there a way to distribute an .so file alongside my app?
I tried:
And also
bundle
>externalBin
but I am always getting this error when running my app:Termination Reason: Namespace DYLD, Code 1 Library missing
Library not loaded: librazermacos.so
Referenced from: /Applications/RazerMon.app/Contents/MacOS/RazerMon
Reason: tried: 'librazermacos.so' (relative path not allowed in hardened program), '/System/Volumes/Preboot/Cryptexes/OSlibrazermacos.so' (no such file), 'librazermacos.so' (relative path not allowed in hardened program), '/usr/lib/librazermacos.so' (no such file, not in dyld cache)
(terminated at launch; ignore backtrace)
Here's how my app structure looks:
You can see that the .so file is right besides the "executable".
Any idea how to either install the .so file as part of the installation process or make it so that it recognizes the file?
Beta Was this translation helpful? Give feedback.
All reactions