<p>I've been trying to compile litecoin for some time but keep getting an area that reads</p>

<pre><code>(/home/User/Downloads/Litecoin/src/leveldb/libleveldb.a: error adding symbols: Malformed archive
collect2: error: ld returned 1 exit status
makefile.unix:193: recipe for target 'Litecoin' failed
make: *** [Litecoin] Error 1)
</code></pre>

<p>All help will be greatly appreciated!</p>

CC BY-SA 3.0
2017-07-23T03:20:45.370Z
I can't seem to reproduce this when building litecoin's current master on an Ubuntu 16.04 VM. Could you try `make clean && make` ?
Nick ODell
CC BY-SA 3.0
2017-07-26T07:20:16.443Z
Hello, I reinstalled all the necessary dependencies, enabled my virtual machine, and attempted to recompile it. Works just fine now. Thank you again, sir!
Cryptomaniac
<litecoin><compiling><c++>
G++ Trouble compiling litecoin on ubuntu server AMD64 (Version 16.04 Xenial)
Cryptomaniac
# G++ Trouble compiling litecoin on ubuntu server AMD64 (Version 16.04 Xenial)

(Asked by: username_0 on 2017-07-23)

I've been trying to compile litecoin for some time but keep getting an area that reads

```
(/home/User/Downloads/Litecoin/src/leveldb/libleveldb.a: error adding symbols: Malformed archive
collect2: error: ld returned 1 exit status
makefile.unix:193: recipe for target 'Litecoin' failed
make: *** [Litecoin] Error 1)

```

All help will be greatly appreciated!

**Tags:** litecoin, compiling, c++

> **Comments:**
> **username_1**: I can't seem to reproduce this when building litecoin's current master on an Ubuntu 16.04 VM. Could you try `make clean && make` ?  
> **username_0**: Hello, I reinstalled all the necessary dependencies, enabled my virtual machine, and attempted to recompile it. Works just fine now. Thank you again, sir!  

---

## 0 answers

