Having trouble compiling D on Ubuntu 16.10

Dechcaudron via Digitalmars-d digitalmars-d at puremagic.com
Sun Oct 30 05:50:16 PDT 2016


On Sunday, 30 October 2016 at 11:40:01 UTC, Mike Parker wrote:
> On Sunday, 30 October 2016 at 11:25:30 UTC, Dechcaudron wrote:
>
>
>>
>> Anybody has any idea why this is happening? Is the only 
>> solution to downgrade to Ubuntu 16.04 to be able to work in 
>> the meantime?
>>
>> Thanks beforehand :)
>
> Try adding `-fPIC -defaultlib=libphobos2.so` to your dmd.conf. 
> And see the following links:
>
> http://forum.dlang.org/thread/tppsgztsbsdrtkpcbtak@forum.dlang.org
>
> https://issues.dlang.org/show_bug.cgi?id=5278

Thanks Mike, changing dmd.config did the trick. I'll learn the 
details from the discussion you linked.


More information about the Digitalmars-d mailing list