Another nightly build crash on Mojave

I believe this to be a bug with Avogadro

Environment Information

Avogadro version: nightly build 1.97 (created 4/16/23)
Operating system and version: MacOS 10.14.6

Expected Behavior

Successful launch

Actual Behavior

MacOS error message about missing library (different than previous issue):
Termination Reason: DYLD, [0x1] Library missing

Application Specific Information:
dyld: launch, loading dependent libraries

Dyld Error Message:
Library not loaded: @executable_path/…/Frameworks/liblz4.1.dylib
Referenced from: /Applications/Avogadro2.app/Contents/Frameworks/libarchive.19.dylib
Reason: no suitable image found. Did find:
/Applications/Avogadro2.app/Contents/MacOS/…/Frameworks/liblz4.1.dylib: cannot load ‘liblz4.1.dylib’ (load command 0x80000034 is unknown)
/Applications/Avogadro2.app/Contents/MacOS/…/Frameworks/liblz4.1.dylib: stat() failed with errno=1
/Applications/Avogadro2.app/Contents/MacOS/…/Frameworks/liblz4.1.dylib: cannot load ‘liblz4.1.dylib’ (load command 0x80000034 is unknown)
/Applications/Avogadro2.app/Contents/MacOS/…/Frameworks/liblz4.1.dylib: stat() failed with errno=1

Steps to Reproduce

Download nightly build and launch.
Please upload files if appropriate here (or via file-sharing service like Dropbox or Pastebin)

Thanks for the heads-up! We’ve been tweaking the builds and there will definitely be some issues like this for a bit.

I’ll see what I can do today to fix that.

Okay, the last few nightly builds seem okay?

Can you try this for me: https://nightly.link/OpenChemistry/avogadrolibs/workflows/build_cmake/master/macOS.dmg.zip

Does it still have problems for you?

I’m hoping to release 1.98 this month, so I’d love to know that the builds are working for everyone.

Geoff
I cannot download the nightly build with that link. In fact I wasn’t able to download any of the nightly builds for other OSs. I tried with Safari and Firefox.
Could be just me?

I just clicked and it worked for me…

At the moment, the most recent build for Mac is here:
https://github.com/OpenChemistry/avogadrolibs/suites/12824485942/artifacts/690922503

Geoff
I tried again and it worked. I will note the download was slow so maybe there were some load issues.

Anyway, I get an error at launch. Partial report shown below. To be clear this is for the nightly build:
Process: Avogadro2 [1790]
Path: /Applications/Avogadro2.app/Contents/MacOS/Avogadro2
Identifier: cc.avogadro
Version: ??? (1.97.0)
Code Type: X86-64 (Native)
Parent Process: ??? [1]
Responsible: Avogadro2 [1790]
User ID: 501

Date/Time: 2023-05-11 09:35:40.980 -0700
OS Version: Mac OS X 10.14.6 (18G9323)
Report Version: 12
Bridge OS Version: 5.5 (18P4759a)
Anonymous UUID: 5E8077FD-722D-DAFD-E563-F54BE981F76B

Time Awake Since Boot: 4000 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: @executable_path/…/Frameworks/libGLEW.2.2.dylib
Referenced from: /Applications/Avogadro2.app/Contents/Frameworks/libAvogadroRendering.1.97.0.dylib
Reason: no suitable image found. Did find:
/Applications/Avogadro2.app/Contents/MacOS/…/Frameworks/libGLEW.2.2.dylib: cannot load ‘libGLEW.2.2.dylib’ (load command 0x80000034 is unknown)
/Applications/Avogadro2.app/Contents/MacOS/…/Frameworks/libGLEW.2.2.dylib: stat() failed with errno=1
/Applications/Avogadro2.app/Contents/MacOS/…/Frameworks/libGLEW.2.2.dylib: cannot load ‘libGLEW.2.2.dylib’ (load command 0x80000034 is unknown)
/Applications/Avogadro2.app/Contents/MacOS/…/Frameworks/libGLEW.2.2.dylib: stat() failed with errno=1

Thanks, I’ll take a look - seems like the app bundle is missing some files.