-
-
Notifications
You must be signed in to change notification settings - Fork 1.8k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Where to put dylibs when packaging? #5238
Comments
Am I doing wrong here? the dylibs supposed to put in Frameworks directory? or in Resources? libCoreAPI.dylib is an dependency of native module coreAPI_addon.node.
|
Is this still relevant? If so, what is blocking it? Is there anything you can do to help move it forward? This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. |
it was a dylib internal path issue, changed rpath using install_name_tool |
I ran into a similar problem, and it was also related to rpath. Running
The ones with I fixed this by copying the libraries into the |
I am packing an electron app with React, few dylibs, and a native node module.
My packaging structure is
Please note: coreAPI_addon.node module is in Frameworks directory and libCoreAPI.dylib is in MacOS directory
I can run the application only in the command prompt. If I double click open the DesktopApp.app I am getting
When running from command prompt I changed the directory to 'MacOS'. Then it works.
Could you please tell me where to put dylibs when packaging?
package.json
The text was updated successfully, but these errors were encountered: