[Issue 20587] New: _rt_loadLibrary symbol not found
d-bugmail at puremagic.com
d-bugmail at puremagic.com
Wed Feb 19 19:51:04 UTC 2020
https://issues.dlang.org/show_bug.cgi?id=20587
Issue ID: 20587
Summary: _rt_loadLibrary symbol not found
Product: D
Version: D2
Hardware: x86_64
OS: Mac OS X
Status: NEW
Severity: blocker
Priority: P1
Component: dmd
Assignee: nobody at puremagic.com
Reporter: jarnold at visionable.com
I'm trying to compile a small test program:
module MacOS.tf;
import std.stdio;
import core.runtime;
void main() {
void* vhandle = Runtime.loadLibrary("igvideo");
}
on Mac OSX Catalina, and I am getting the following error:
(dmd-2.090.1) dmd tf.d
Undefined symbols for architecture x86_64:
"_rt_loadLibrary", referenced from:
__D4core7runtime7Runtime__T11loadLibraryZQoFMxAaZPv in tf.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
This is similar to bug #19801, but a much simpler case.
--
More information about the Digitalmars-d-bugs
mailing list