Free(): invalid pointer Aborted

You need to replace /path/to/llvm-config with the actual path to your llvm-config, for example /usr/bin/llvm-config.