Skip to content

Building on macos arm through rosetta terminal causes ld: unknown option #107

Description

@maxwalley

I am building this on an arm mac though I am using a rosetta based terminal so am building for x86_64.

I run the following commands

./autogen.sh
./configure --prefix=<build_dest> --with-ogg=<ogg 1.3.5 install location>
make

and I get the following error message:

CC test_sharedbook-sharedbook.o
CCLD test_sharedbook
ld: unknown options: -force_cpusubtype_ALL
clang: error: linker command failed with exit code 1 (use -v to see invocation)
make[3]: *** [test_sharedbook] Error 1
make[2]: *** [all-recursive] Error 1
make[1]: *** [all-recursive] Error 1
make: *** [all] Error 2

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions