Skip to content

"Library not loaded" error after updating toolchain on macOS #671

@ashervahalik

Description

@ashervahalik

I updated my CEdev toolchain to the latest version (v13.0), and after doing so, I get this output after running make on any project:

[compiling] src/main.c
dyld[74349]: Library not loaded: /opt/homebrew/opt/zstd/lib/libzstd.1.dylib
  Referenced from: <ECDDC857-27B5-327C-AEA6-F962F738B22A> /Users/[my username]/CEdev/bin/ez80-clang
  Reason: tried: '/opt/homebrew/opt/zstd/lib/libzstd.1.dylib' (code signature in <93A01AC5-B367-3F6D-9B23-AC6404A111A4> '/opt/homebrew/Cellar/zstd/1.5.7/lib/libzstd.1.5.7.dylib' not valid for use in process: mapping process and mapped file (non-platform) have different Team IDs), '/System/Volumes/Preboot/Cryptexes/OS/opt/homebrew/opt/zstd/lib/libzstd.1.dylib' (no such file), '/opt/homebrew/opt/zstd/lib/libzstd.1.dylib' (code signature in <93A01AC5-B367-3F6D-9B23-AC6404A111A4> '/opt/homebrew/Cellar/zstd/1.5.7/lib/libzstd.1.5.7.dylib' not valid for use in process: mapping process and mapped file (non-platform) have different Team IDs), '/opt/homebrew/Cellar/zstd/1.5.7/lib/libzstd.1.5.7.dylib' (code signature in <93A01AC5-B367-3F6D-9B23-AC6404A111A4> '/opt/homebrew/Cellar/zstd/1.5.7/lib/libzstd.1.5.7.dylib' not valid for use in process: mapping process and mapped file (non-platform) have different Team IDs), '/System/Volumes/Preboot/Cryptexes/OS/opt/homebrew/Cellar/zstd/1.5.7/lib/libzstd.1.5.7.dylib' (no such file), '/opt/homebrew/Cellar/zstd/1.5.7/lib/libzstd.1.5.7.dylib' (code signature in <93A01AC5-B367-3F6D-9B23-AC6404A111A4> '/opt/homebrew/Cellar/zstd/1.5.7/lib/libzstd.1.5.7.dylib' not valid for use in process: mapping process and mapped file (non-platform) have different Team IDs)
make: *** [obj/src/main.c.bc] Abort trap: 6

I'm not sure what caused this error (unless I'm just forgetting something), since all I did was copy-paste the new CEdev folder to overwrite the old one. I also double-checked the installation process to make sure everything was still set up properly, and everything seems to be fine.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions