LinusU / node-appdmg

💾 Generate your app dmgs
MIT License
1.68k stars 152 forks source link

dyld: lazy symbol binding failed: Symbol not found: #185

Open markmorris opened 4 years ago

markmorris commented 4 years ago

Soon as i attempt to package...

Had a similar post with a similar error before this is indeed different.

dyld: lazy symbol binding failed: Symbol not found: __ZN2v816FunctionTemplate3NewEPNS_7IsolateEPFvRKNS_20FunctionCallbackInfoINS_5ValueEEEENS_5LocalIS4_EENSA_INS_9SignatureEEEiNS_19ConstructorBehaviorENS_14SideEffectTypeE
  Referenced from: /Users/Musicline/Desktop/Electron Packager/source code/electron-packager/node_modules/macos-alias/build/Release/volume.node
  Expected in: flat namespace

Could really do with some help on this, having so many problems with this specially when packaged in electron.

Mac OS: 10.13.6 appdmg: 0.6.0 node: 10.16

Would be willing to share any source code etc.

ALSO WILLING TO PAY FOR SOMEONE TO HELP ME WORK THE ISSUE OUT, SERIOUS! SPENT 2 DAYS ON THIS!

markmorris commented 4 years ago

Willing to do anything to get this working, what version of node is everyone using to get this working perfect? I really dont understand how this can be so broken.

markmorris commented 4 years ago

Issue is related to node 10.x.x downgraded node to 8.x.x and downgraded the electron version to 2.x.x (which comes build with node 8), now working fine no issues. Other than a warning N-API warning for being experimental.

The main issue here is having to compile on a specific version of node, because electron comes with a custom fork of node and if the versions dont quite match you will come into issues. Im having to use electron 2.0.x to get this working which is very old now.