MaurycyLiebner / enve

Flexible, user expandable 2D animation software for Linux and Windows.
https://MaurycyLiebner.github.io/
GNU General Public License v3.0
1.1k stars 83 forks source link

OSX launch fails - missing libnettle #143

Open globalcitizen opened 4 years ago

globalcitizen commented 4 years ago

dmg does not launch on OSX.

Version in use

File __enve-1be1483-x86_64.dmg__ (md5 = f954247fbf684862e475b65ab3b29fa7)

Confirm library present

$ brew search nettle
==> Formulae
nettle ✔
$ brew reinstall nettle
==> Reinstalling nettle
==> Downloading https://homebrew.bintray.com/bottles/nettle-3.4.1.mojave.bottle.tar.gz
==> Downloading from https://akamai.bintray.com/9e/9e7f78a4cc96ca57f75ca1d37cc12c11655b7e0aa7109da4becd0408a1e2ed6b?__gda__=exp=1590335719~h
######################################################################## 100.0%
==> Pouring nettle-3.4.1.mojave.bottle.tar.gz
🍺  /usr/local/Cellar/nettle/3.4.1: 85 files, 2MB

Error anyway

Process:               enve [98370]
Path:                  /Applications/enve.app/Contents/MacOS/enve
Identifier:            com.yourcompany.enve
Version:               0
Code Type:             X86-64 (Native)
Parent Process:        ??? [1]
Responsible:           enve [98370]
User ID:               501

OS Version:            Mac OS X 10.14.6 (18G103)
Report Version:        12
Bridge OS Version:     3.6 (16P6571)

Time Awake Since Boot: 230000 seconds
Time Since Wake:       310 seconds

System Integrity Protection: enabled

Crashed Thread:        0

Exception Type:        EXC_CRASH (SIGABRT)
Exception Codes:       0x0000000000000000, 0x0000000000000000
Exception Note:        EXC_CORPSE_NOTIFY

Termination Reason:    DYLD, [0x1] Library missing

Application Specific Information:
dyld: launch, loading dependent libraries

Dyld Error Message:
  Library not loaded: /usr/local/Cellar/nettle/3.6/lib/libnettle.8.dylib
  Referenced from: /Applications/enve.app/Contents/Frameworks/libhogweed.6.dylib
  Reason: image not found
MaurycyLiebner commented 4 years ago

Sadly, I don't have any compatible hardware to run OS X, and I can neither test nor fix this. Somebody else would have to step in.

globalcitizen commented 4 years ago

OK thanks. I would volunteer myself but have zero experience cross-compiling with OSX, dislike investing time in closed source stacks and have too much else on my plate. Software looks promising anyway, well done. I am so old I remember Autodesk Animator for DOS (by this guy). Many a stickfigure died in animation... apparently the original sources are on Github (background story).

veryprivate commented 4 years ago

Looks like you installed an old version from what I saw. nettle version 3.6 is mentioned in the Dyld Error Message. brew installed version 3.4.1

Currently brew installs version 3.6, which matches the needed version in the error message. brew update brew reinstall nettle

There is a way to install old versions. If versions aren't mentioned in the tap, see here for the process https://gist.github.com/sawant/6ea10e45de7d09e966a1dc6afea3bffb