Compile LLVM from source on linux [Stackoverflow]


I’ve downloaded LLVM source code and I’m trying to compile it.

I’ve done the basic:

./configure --prefix=/some/path/
make install

But I’ve another project that depends on it and it seems to be looking for a shared library named:, which is not built.

When I get llvm through synaptic (I’m using Ubuntu), it does install such library on /usr/lib (and llvm root also is installed on /usr/liv/llvm/). My question is: what should I configure so that the code compiled from source generates the

PS: Actually I guess this problem is more general, I’m citing llvm as an example.


./configure --enable-shared --prefix=/some/path/



Leave a Reply

Please log in using one of these methods to post your comment: Logo

You are commenting using your account. Log Out /  Change )

Google+ photo

You are commenting using your Google+ account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )


Connecting to %s