https://issues.dlang.org/show_bug.cgi?id=20690
Richard Cattermole <alphaglosi...@gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |alphaglosi...@gmail.com --- Comment #1 from Richard Cattermole <alphaglosi...@gmail.com> --- The dynamic loading facilities such as dlsym and GetProcAddress can be used to look for symbols in the host executable image. As per: https://github.com/dlang/phobos/blob/d5dc0115/std/net/curl.d#L4206 It is configured to do this by default, allowing for static linking into the executable. My guess is that the symbol its looking for has an underscore prepended to its name which is not uncommon. This would cause the issues that you are seeing. The simplest way to confirm, is to compile curl without the leading underscore or to i.e. objdump its symbol table. --