Linker error under Ubuntu
solidstate1991
laszloszeremi at outlook.com
Fri May 15 23:49:37 UTC 2020
On Friday, 15 May 2020 at 03:46:57 UTC, evilrat wrote:
>
> Um, pardon the stupid question, but did you just forgot to link
> it? I can't see a mention of it anywhere in both the old json
> and dub.sdl, and I don't see subpackages either. (does it links
> implicitly by the compiler?)
>
> Also if it's digged up somewhere, another possibility is the
> link order issue(you need to put libs in order that adds linker
> symbols for previous libs to consume, for circular dependencies
> you can specify libs multiple times). The MS linker and LLVM
> linkers(not sure about GNU gold) does some work for you so you
> don't have to reorder libs most of the time.
Dub should do the linking by itself.
More information about the Digitalmars-d-learn
mailing list