libdl issues with DUB
Marco Leise
Marco.Leise at gmx.de
Tue Dec 17 07:22:12 PST 2013
Am Tue, 17 Dec 2013 13:41:14 +0100
schrieb "Flamaros" <flamaros.xavier at gmail.com>:
> When I build our project with DUB under linux I get some link
> errors about libdl, that is messing.
> In my main I have the following lines :
>
> version(Posix)
> {
> pragma(lib, "dl");
> }
>
> This works well with MonoD, so it seems like version Posix isn't
> defined with DUB or pragma ignored.
More likely you do a one-step build in Mono-D and compile
single modules through DUB.
Can you post the exact error message please? Does it print
libdl or does it complain about undefined dlopen et altera?
--
Marco
More information about the Digitalmars-d-learn
mailing list