Linker issues with -ledit (Ubuntu 14.10)

Before getting to my question, I'm a bit new to Linux. Anyway I am trying to make my project on Ubuntu, I just upgraded from LLVM 3.4 to LLVM 3.5. When I try to run the project, I get the following linker error:

felix@felix-dev:~/Dev/jayfor$ make clang `llvm-config --cflags` -Wall -Iincludes/ -g src/*.c -c src/*.c clang++ *.o `llvm-config --libs --system-libs --cflags --ldflags core analysis executionengine jit interpreter native` -o j4 /usr/bin/ld: cannot find -ledit clang: error: linker command failed with exit code 1 (use -v to see invocation) make: *** [all] Error 1

I searched my problem and asked some friends on IRC to no avail. When I run edit

in terminal it says nothing about not being able to find the command and I saw that I should apt-get

libedit2

, which I did and it still didn't fix my problem.

Here's a link to the Makefile .

+3


source to share


1 answer


It turns out I just needed to apt-get the package libedit-dev

.



+10


source







All Articles