while trying to build dstep (a tool to convert C header files to D modules):
$ dub Running pre-generate commands for dstep... Performing "debug" build using dmd for x86_64. dstep 0.2.2+commit.121.gf55746e: building configuration "default"... Linking... /usr/bin/ld: cannot find -lclang collect2: error: ld returned 1 exit status --- errorlevel 1 dmd failed with exit code 1.
Had all the clang libs (including the *-dev packages) installed but it did not change. Here was the solution:
$sudo su - #cd /usr/lib/x86_64-linux-gnu #ln -s libclang.so.1 libclang.so