cpp-linter / clang-tools-static-binaries

static-linked versions of clang tools for Linux, Mac OS X and Windows
The Unlicense
4 stars 1 forks source link

`clang-tidy-18_macosx-amd64` - Reason: tried: '/usr/lib/libz.1.dylib' (no such file) #41

Open shenxianpeng opened 3 weeks ago

shenxianpeng commented 3 weeks ago

clang-tidy-18_macosx-amd64 does not work with the following error:

== Output clang-tidy version
dyld[2478]: dyld cache '(null)' not loaded: syscall to map cache into shared region failed
dyld[2478]: Library not loaded: /usr/lib/libz.1.dylib
  Referenced from: <980D2CD9-DF64-3A52-AECE-A3C0AA0F34C3> /Users/runner/work/clang-tools-static-binaries/clang-tools-static-binaries/clang-tidy-18_macosx-amd64
  Reason: tried: '/usr/lib/libz.1.dylib' (no such file), '/System/Volumes/Preboot/Cryptexes/OS/usr/lib/libz.1.dylib' (no such file), '/usr/lib/libz.1.dylib' (no such file, no dyld cache), '/usr/local/lib/libz.1.dylib' (no such file)
/Users/runner/work/_temp/11de33bc-ef8e-4eb7-86ee-0262623b372e.sh: line 15:  2[47](https://github.com/cpp-linter/clang-tools-static-binaries/actions/runs/11002996709/job/30551153993#step:3:48)8 Abort trap: 6           ./clang-tidy-18_macosx-amd64 --version

For more details see: https://github.com/cpp-linter/clang-tools-static-binaries/actions/runs/11002996709/job/30551153993

Same issue to https://github.com/muttleyxd/clang-tools-static-binaries/issues/32

shenxianpeng commented 1 day ago

Note to myself - some docs need to look: