This is the log: http://pastebin.com/bGt7MVd2
Anyway, I found the culprit, which is ~/dmd.conf. The content is: [Environment] DFLAGS=-I/opt/dmd-dev/import -I/opt/dmd-dev/phobos -L-L/opt/dmd-dev/lib32/ That's why dmd couldn't locate the 64 bit libs. I should use only 1 dmd.conf, which is located in /opt/dmd-dev/bin. Now -m64 works fine :) On 02/12/2012 09:45 PM, Mike Wey wrote: > On 02/12/2012 03:21 PM, Andre Tampubolon wrote: >> Hmm doesn't work. The same error still applies. >> >> On 02/12/2012 08:36 PM, Mike Wey wrote: >>> On 02/12/2012 09:26 AM, Andre Tampubolon wrote: >>>> And this is my dmd.conf: >>>> [Environment] >>>> DFLAGS=-I/opt/dmd-dev/import -I/opt/dmd-dev/phobos -L-L/opt/dmd-dev/lib32 >>>> -L-L/opt/dmd-dev/lib64 >>> >>> Try adding -L--no-warn-search-mismatch >>> >> > > Can you post the output of dmd when compiling with: "-v" ? >
