dmd or phobos were broken in ubuntu 16.10 d-apt

tcak via Digitalmars-d digitalmars-d at puremagic.com
Fri Oct 21 01:02:59 PDT 2016


On Friday, 21 October 2016 at 04:16:38 UTC, mogu wrote:
> [...]

Yes, we (I and one another person on this forum) have the same 
problem.

As a temporary solution, while compiling your program, add

-defaultlib=libphobos2.so -fPIC

This solved my problem on Ubuntu 16.10. But with one problem. 
Now, while
you are copying your executable to another computer, you need to 
copy
libphobos2.so (in my case libphobos2.so.17) to that computer's 
/usr/lib
as well.


More information about the Digitalmars-d mailing list