Problem in installing/using LDC

Shriramana Sharma samjnaa at gmail.com
Sat Jun 1 02:39:20 PDT 2013


Hello I run a Kubuntu Raring 64 bit system and have downloaded the LDC
0.10.0 binary tar.gz -- I am wondering how to actually install it. I
see the bin, etc, import &c directories -- where should I put them? I
don't want to put them under /usr/ to avoid "polluting" the
directories managed by APT. So I said tar xf
ldc2-0.10.0-linux-x86_64.tar.gz -C /opt and then symlinked ldc2 and
ldmd2 binaries to /usr/bin/.

However when trying to compile a simple D program I get:

ldmd2 01-namaste.d
/usr/bin/ld: fatal error: namaste: open: Is a directory
collect2: error: ld returned 1 exit status
Error: /usr/bin/gcc failed with status: 1

Along with the binary tarball, please include installation
instructions so newbies like me can install and use it. Thank you.

-- 
Shriramana Sharma ஶ்ரீரமணஶர்மா श्रीरमणशर्मा


More information about the digitalmars-d-ldc mailing list