Skip to content

solution to cannot find -lclang #49

@yantaozhao

Description

@yantaozhao

my environment is: Ubuntu 14.04.3 LTS - 64bit

while make linux, error occur:
/usr/bin/ld: cannot find -lclang

look at the makefile:

sudo apt-get install clang
...
cc_lib: $(FILES) *** -lclang

I do this:

cd /usr/lib/x86_64-linux-gnu
sudo ln -s libclang.so.1 libclang.so

then re- make linux
and it works.

hope this can help you.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions