animator icon indicating copy to clipboard operation
animator copied to clipboard

Symbol not found: _gcry_control

Open PejoZmaj opened this issue 3 years ago • 3 comments

Hi,

I have been trying to install this for hours, this is my second day that I am installing all kind of stuff just to start Animator. After a lot of errors have been jump all over the Terminal, I have found most of them online and resolve them, but this one I can't. :(

Can someone please help?

This is error, after I start Yarn. Icon of app pop-up on Dock, but then I get this error and Animator icon in Dock disappears :

=============================================
starting local development
=============================================


=============================================
Note: NOT watching for code changes. To watch for code changes, run yarn watch-all in a new tab.
=============================================

$ /Users/MyComputerName/Downloads/animator-master/node_modules/.bin/electron --inspect=9220 --remote-debugging-port=9222 .
Debugger listening on ws://127.0.0.1:9220/3f30dca8-46ec-4640-8460-36560655b74d
For help see https://nodejs.org/en/docs/inspector
Debugger listening on ws://127.0.0.1:9221/d1641fbd-a542-421d-b2da-44610acb3a2e
For help see https://nodejs.org/en/docs/inspector
dyld: lazy symbol binding failed: Symbol not found: _gcry_control
  Referenced from: /Users/MyComputerName/Downloads/animator-master/node_modules/nodegit/build/Release/nodegit.node
  Expected in: flat namespace

dyld: Symbol not found: _gcry_control
  Referenced from: /Users/MyComputerName/Downloads/animator-master/node_modules/nodegit/build/Release/nodegit.node
  Expected in: flat namespace

✨  Done in 14.14s.

Thanks in advance for any kind of help.

PejoZmaj avatar Oct 05 '21 13:10 PejoZmaj

@PejoZmaj I found this same issue too after running install and setup on 2 different machines with Mac OS (catalina on both). It seems to be a problem with the nodegit package so I tried using a new version but still having the same error. Did you find what was the cause or any solutions so far?

federico-hv avatar Nov 07 '21 04:11 federico-hv

Hi,

No, I just gave up. :(

On 07.11.2021., at 05:16, Federico Hernández @.***> wrote:

@PejoZmaj https://github.com/PejoZmaj I found this same issue too after running install and setup on 2 different machines with Mac OS (catalina on both). It seems to be a problem with the nodegit package so I tried using a new version but still having the same error. Did you find what was the cause or any solutions so far?

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/HaikuTeam/animator/issues/1053#issuecomment-962549365, or unsubscribe https://github.com/notifications/unsubscribe-auth/AEN52TA7ZN52OCTXJM3QHG3UKYDTZANCNFSM5FLZS6JQ. Triage notifications on the go with GitHub Mobile for iOS https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675 or Android https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub.

PejoZmaj avatar Nov 07 '21 12:11 PejoZmaj

@PejoZmaj I get your frustration but don't give up! Animator is an awesome tool and with a little bit of time minor issues should be gone. I was able to solve the problem by upgrading nodegit to the next MINOR version (0.21.0) on the haiku-plumbing folder. The latest version compatible with 8.15.1 ([email protected]) works too. Please try this and let me know if it works for you:

  1. Go into the haiku-plumbing folder -> cd packages/haiku-plumbing
  2. Upgrade nodegit to the next MINOR release -> yarn upgrade [email protected] (I also tried with 0.26.5 which still worked for me but not 0.27.0. Also be aware that yarn upgrade nodegit --latest didn't work for me)
  3. Check if nodegit was updated correctly (Check if version of nodegit on haiku-plumbing/package.json and root/node_modules/nodegit/package.json was updated.
  4. Go back to root -> cd ../../
  5. Run the project again -> yarn go

After that I you should be able to run the app and see something like this on the terminal...

Screen Shot 2021-11-08 at 2 21 05 AM

And you also should be able to see this window...

Screen Shot 2021-11-08 at 2 20 04 AM

federico-hv avatar Nov 08 '21 10:11 federico-hv