dsimcha wrote: > On 8/6/2011 2:24 PM, Christian Kamm wrote: >> If there's something wrong with the package, please let me know. Bugs in >> LDC should go to http://www.dsource.org/projects/ldc/newticket . > > It seems that, unlike DMD, the search directories aren't configured > right by default. I get this on trying to build hello world after > extracting the tarball and nothing else: > > object.d: Error: module object is in file 'object.d' which cannot be read > import path[0] = /usr/local/bin/../import
The paths should be set up correctly. It probably takes a ldc2.conf from somewhere on your system instead of the one next to the executable. Could you compile with -v and check the "config" line?