llvm installation

2,272 views
Skip to first unread message

Özge Çelenk

unread,
Jan 6, 2017, 9:12:26 AM1/6/17
to afl-users
Hi all,

I am an Ubuntu user and trying to install llvm for afl ,however I get the following error:

[*] Checking for working 'llvm-config'...
[-] Oops, can't find 'llvm-config'. Install clang or set $LLVM_CONFIG or $PATH beforehand.
    (Sometimes, the binary will be named llvm-config-3.5 or something like that.)
Makefile:67: recipe for target 'test_deps' failed
make: *** [test_deps] Error 1

I can't find where the llvm-config is located, can anyone tell me where should I be looking? After reading the related section in the README file I am not still not sure if I understood what exactly I should be doing to solve this problem , since I am not an experienced linux user , I would be glad if someone could help me out.

Brandon Perry

unread,
Jan 6, 2017, 10:14:14 AM1/6/17
to afl-...@googlegroups.com
On Jan 6, 2017, at 8:12 AM, Özge Çelenk <ozgece...@gmail.com> wrote:

Hi all,

I am an Ubuntu user and trying to install llvm for afl ,however I get the following error:

[*] Checking for working 'llvm-config'...
[-] Oops, can't find 'llvm-config'. Install clang or set $LLVM_CONFIG or $PATH beforehand.
    (Sometimes, the binary will be named llvm-config-3.5 or something like that.)
Makefile:67: recipe for target 'test_deps' failed
make: *** [test_deps] Error 1

LLVM_CONFIG=llvm-config-3.8 make


I can't find where the llvm-config is located, can anyone tell me where should I be looking? After reading the related section in the README file I am not still not sure if I understood what exactly I should be doing to solve this problem , since I am not an experienced linux user , I would be glad if someone could help me out.


--
You received this message because you are subscribed to the Google Groups "afl-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to afl-users+...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Jakub Wilk

unread,
Jan 6, 2017, 12:39:39 PM1/6/17
to afl-...@googlegroups.com
* Özge Çelenk <ozgece...@gmail.com>, 2017-01-06, 06:12:
>I am an Ubuntu user and trying to install llvm for afl

Which Ubuntu version?
If it's 15.10 ("Wily Werewolf") or later, you might want to install
LLVM-enabled AFL from your distro repository. The package name is "afl-clang".

>[-] Oops, can't find 'llvm-config'. Install clang or set $LLVM_CONFIG or $PATH
>beforehand.
[...]
>I can't find where the llvm-config is located,

It's provided by the package "llvm-dev".

--
Jakub Wilk

Özge Çelenk

unread,
Jan 23, 2017, 4:02:48 AM1/23/17
to afl-users
Thanks Brandon, it worked
Reply all
Reply to author
Forward
0 new messages