Skip to content

Linker error when running quickstart instructions on MacOS #623

@protoben

Description

@protoben

When attempting to run the quickstart instructions on an M1 Mac, I get a linker error as follows:

Undefined symbols for architecture arm64:
            "__HEAP_PTR", referenced from:
                _sys_alloc in foo-caf35af4958fbbe0.foo.8bcdfdeca794c93c-cgu.0.rcgu.o
          ld: symbol(s) not found for architecture arm64
          clang: error: linker command failed with exit code 1 (use -v to see invocation)

The quickstart instructions worked fine when I tried them on a Linux host.

The exact commands I ran were

% cargo +nightly install --git https://github.com/a16z/jolt --force --bins jolt
% jolt new foo
% cd foo
% cargo run --release

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