undefined symbol: _Dmain when loading library at runtime on Linux

David Nadlinger code at klickverbot.at
Sun Sep 29 16:40:45 PDT 2013


The short answer is: Shared D libraries, especially dynamically loading 
them, is not supported by LDC. We are going implement this once upstream 
druntime actually supports runtime loading (2.064). So, even the 
versions that "work fine" do so just by accident. There are much bigger 
problems that this, even with compile-time linked shared libraries.

dlfcn - you mean libdl?

David


More information about the digitalmars-d-ldc mailing list