This is (probably) not a bug. Either clang or your system in set up
incorrectly because it can't find the necessary files needed by the
linker (ld).
Are you using the pre-built binaries? If you are it wouldn't surprise
me if they didn't work "out of the box" due to differences between
your system and the system the binaries were built on.
Seeing as you're using Ubuntu (or at least that's what your e-mail
suggests) why don't you just use the packages [1] that are provided?