[Issue 19801] New: Linking error: ld: symbol(s) not found for architecture x86_64
d-bugmail at puremagic.com
d-bugmail at puremagic.com
Wed Apr 10 11:17:59 UTC 2019
https://issues.dlang.org/show_bug.cgi?id=19801
Issue ID: 19801
Summary: Linking error: ld: symbol(s) not found for
architecture x86_64
Product: D
Version: D2
Hardware: x86
OS: Mac OS X
Status: NEW
Severity: blocker
Priority: P1
Component: tools
Assignee: nobody at puremagic.com
Reporter: jon.kleiser at icloud.com
I try to install the D REPL. After having done "dub fetch drepl" successfully,
I do "dub run drepl". That job ends like this:
drepl 0.2.1: building configuration "console"...
Running pre-build commands...
Linking...
Undefined symbols for architecture x86_64:
"__D6object__T10RTInfoImplVAmA2i48i60Z4datayG2m", referenced from:
__D42TypeInfo_S3std7variant__T8VariantNVmi32ZQp6__initZ in
libstdx-allocator.a(concurrency_103_72a.o)
"__D6object__T10RTInfoImplVAmA2i80i961Z4datayG2m", referenced from:
__D59TypeInfo_S3std11concurrency__T4ListTSQBbQBa7MessageZQw4Node6__initZ
in libstdx-allocator.a(atomic_ef_466.o)
"_rt_loadLibrary", referenced from:
__D4core7runtime7Runtime__T11loadLibraryZQoFxAaZPv in drepl.o
ld: symbol(s) not found for architecture x86_64
clang: error: linker command failed with exit code 1 (use -v to see invocation)
Error: linker exited with status 1
/Library/D/dmd/bin/dmd failed with exit code 1.
I have tried with both DMD64 D Compiler v2.085.0 and v2.085.1.
I'm running macOS 10.14.4 (the latest).
--
More information about the Digitalmars-d-bugs
mailing list