Really? This issue is here on forum many times, can you pleas read last few post? Just by name.

Sent from my Samsung device.
 
---- Original message ----
From: Ozan (ONS) via Digitalmars-d-learn <digitalmars-d-learn@puremagic.com>
Sent: 03/11/2016 15:55:24
To: digitalmars-d-learn@puremagic.com
Subject: Compilation phobos errors with DMD 2.071,2.072 or dub

Hi,

with a fresh Ubuntu 16.10 installation using "Hello, World" I got 
a list of following errors like:
/usr/bin/ld: 
/usr/lib/x86_64-linux-gnu/libphobos2.a(thread_256_713.o): 
relocation R_X86_64_32 against symbol 
`_D6object9Throwable7__ClassZ' can not be used when making a 
shared object; recompile with -fPIC

Example: Using dmd 2.071 and dub; dub init appName; compile 
appName with dub.
Or direct with dmd

What I'm missing? Any hints?

Thanks & Regards, Ozan