[LLVMdev] llvm-config!

Óscar Fuentes ofv at wanadoo.es
Sun Sep 23 20:15:24 PDT 2012

Reza Sheykhi <hajishey at msu.edu> writes:

> I got the following answers:
> which perl
> /usr/bin/perl
> which llvm-config
> /usr/local/bin/llvm-config
> which llvm-as
> /usr/local/bin/llvm-as
> /usr/bin/llvm-confing --version
> bash: /usr/bin/llvm-confing: No such file or directory

Uh, there is a typo on the command above, it should be

/usr/bin/llvm-config --version

> /usr/local/bin/llvm-config --version
> 2.8

Okay, so lets suppose that something tried to use /usr/bin/llvm-config,
which doesn't exists, when it should use /usr/local/bin/llvm-config.

Do you see the message about the nonexistent /usr/bin/llvm-config when
you try to build or execute the other package that depends on LLVM?
Maybe it has the path to llvm-config hard-coded. Does it provide an
option for declaring where LLVM is installed? If no, you can solve the
problem with symlinks, although it may be tedious, or you may install
LLVM on /usr instead of /usr/local. This is achieved by configuring LLVM
with --prefix=/usr on your LLVM `configure' script invocation.

More information about the llvm-dev mailing list