yb85 / scantailor-advanced-osx

Homebrew formula and App bundler for Scantailor (Advanced)
150 stars 6 forks source link

missing libbrotlicommon #16

Closed atomotic closed 2 years ago

atomotic commented 2 years ago
➜   pwd
/Applications/ScanTailor (Advanced).app/Contents/MacOS

➜   uname -a    
Darwin xxxxx.local 21.4.0 Darwin Kernel Version 21.4.0: Fri Mar 18 00:46:32 PDT 2022; root:xnu-8020.101.4~15/RELEASE_ARM64_T6000 arm64 arm64 MacBookPro18,4 Darwin

➜   ./ScanTailor
dyld[73346]: Library not loaded: @loader_path/libbrotlicommon.1.dylib
  Referenced from: /Applications/ScanTailor (Advanced).app/Contents/Frameworks/libbrotlidec.1.dylib
  Reason: tried: '/Applications/ScanTailor (Advanced).app/Contents/Frameworks/libbrotlicommon.1.dylib' (no such file), '/usr/local/lib/libbrotlicommon.1.dylib' (no such file), '/usr/lib/libbrotlicommon.1.dylib' (no such file)
[1]    73346 abort      ./ScanTailor
yb85 commented 2 years ago

It seems that the brew brotli package uses loader_path dependencies instead of full path, so the bundler misses the include !

I’ll try to fix the issue soon

On Sun 8 May 2022 at 12:51, raffaele messuti @.***> wrote:

➜ pwd

/Applications/ScanTailor (Advanced).app/Contents/MacOS

➜ uname -a

Darwin xxxxx.local 21.4.0 Darwin Kernel Version 21.4.0: Fri Mar 18 00:46:32 PDT 2022; root:xnu-8020.101.4~15/RELEASE_ARM64_T6000 arm64 arm64 MacBookPro18,4 Darwin

➜ ./ScanTailor

dyld[73346]: Library not loaded: @loader_path/libbrotlicommon.1.dylib

Referenced from: /Applications/ScanTailor (Advanced).app/Contents/Frameworks/libbrotlidec.1.dylib

Reason: tried: '/Applications/ScanTailor (Advanced).app/Contents/Frameworks/libbrotlicommon.1.dylib' (no such file), '/usr/local/lib/libbrotlicommon.1.dylib' (no such file), '/usr/lib/libbrotlicommon.1.dylib' (no such file)

[1] 73346 abort ./ScanTailor

— Reply to this email directly, view it on GitHub https://github.com/yb85/scantailor-advanced-osx/issues/16, or unsubscribe https://github.com/notifications/unsubscribe-auth/AI3EVRYC2VNAONSQIH43OH3VI6MEZANCNFSM5VLYGWWQ . You are receiving this because you are subscribed to this thread.Message ID: @.***>

yb85 commented 2 years ago

FYI : https://github.com/Homebrew/discussions/discussions/2330

On Sun 8 May 2022 at 13:01, Yann Barbotin @.***> wrote:

It seems that the brew brotli package uses loader_path dependencies instead of full path, so the bundled misses the include !

I’ll try to fix the issue soon

On Sun 8 May 2022 at 12:51, raffaele messuti @.***> wrote:

➜ pwd

/Applications/ScanTailor (Advanced).app/Contents/MacOS

➜ uname -a

Darwin xxxxx.local 21.4.0 Darwin Kernel Version 21.4.0: Fri Mar 18 00:46:32 PDT 2022; root:xnu-8020.101.4~15/RELEASE_ARM64_T6000 arm64 arm64 MacBookPro18,4 Darwin

➜ ./ScanTailor

dyld[73346]: Library not loaded: @loader_path/libbrotlicommon.1.dylib

Referenced from: /Applications/ScanTailor (Advanced).app/Contents/Frameworks/libbrotlidec.1.dylib

Reason: tried: '/Applications/ScanTailor (Advanced).app/Contents/Frameworks/libbrotlicommon.1.dylib' (no such file), '/usr/local/lib/libbrotlicommon.1.dylib' (no such file), '/usr/lib/libbrotlicommon.1.dylib' (no such file)

[1] 73346 abort ./ScanTailor

— Reply to this email directly, view it on GitHub https://github.com/yb85/scantailor-advanced-osx/issues/16, or unsubscribe https://github.com/notifications/unsubscribe-auth/AI3EVRYC2VNAONSQIH43OH3VI6MEZANCNFSM5VLYGWWQ . You are receiving this because you are subscribed to this thread.Message ID: @.***>

yb85 commented 2 years ago

@atomotic : i updated the release (20220508) to include the missing library. could you please confirm it solves the problem ?

atomotic commented 2 years ago

🎉 thanks! it works. tested on x64. on aarch64 I've recompiled using the brew formula.