<p>For anyone who runs into this problem, the newest version of Xcode 5.0.2 and Oct 23 version of command line tools did not install the llvm-g++ file. I rolled back to Xcode 4.5 and installed the first mountain lion command line tool release and this fixed the problem. </p>

CC BY-SA 3.0
2013-12-22T12:07:57.807Z
2013-12-22T12:07:57.807Z
guest
<p>You can also solve these problems by installing dependencies with homebrew <a href="http://brew.sh/" rel="nofollow">http://brew.sh/</a> </p>

<p>it may also fix the problem to run Xcode-select --install in Terminal</p>

CC BY-SA 3.0
2014-01-23T03:23:24.153Z
2014-01-23T03:23:24.153Z
Jay
<p>I'm trying to compile litecoin on macosx 10.8.5, I have Xcode installed along with command line tools and have built all recommended dependencies (boost db48 qt4-mac openssl miniupnpc). </p>

<p>When I run <code>sudo make -f makefile.osx USE_UPNP=-</code> I get the following error:</p>

<pre><code>make[1]: llvm-g++: No such file or directory
make[1]: *** [db/builder.o] Error 1
make: *** [leveldb/libleveldb.a] Error 2
</code></pre>

<p>Any help in this matter would be greatly appreciated, all my google searches have been in vain.</p>

<litecoin><compiling>
Compiling litecoin on Macosx: llvm-g++ not found
guest
# Compiling litecoin on Macosx: llvm-g++ not found

(Asked by: username_0 on 2013-12-22)

I'm trying to compile litecoin on macosx 10.8.5, I have Xcode installed along with command line tools and have built all recommended dependencies (boost db48 qt4-mac openssl miniupnpc). 
When I run sudo make -f makefile.osx USE_UPNP=- I get the following error:
make[1]: llvm-g++: No such file or directory
make[1]: *** [db/builder.o] Error 1
make: *** [leveldb/libleveldb.a] Error 2

Any help in this matter would be greatly appreciated, all my google searches have been in vain.

**Tags:** litecoin, compiling


---

## 2 answers

### Answer by username_0 on 2013-12-22. Score: 1

For anyone who runs into this problem, the newest version of Xcode 5.0.2 and Oct 23 version of command line tools did not install the llvm-g++ file. I rolled back to Xcode 4.5 and installed the first mountain lion command line tool release and this fixed the problem.


---

### Answer by username_1 on 2014-01-23. Score: 0

You can also solve these problems by installing dependencies with homebrew <http://brew.sh/>

it may also fix the problem to run Xcode-select --install in Terminal


---

