jmdx / cryptosmelt

Mining pool for cryptonote coins, written in Rust
GNU General Public License v3.0
7 stars 3 forks source link

Building errors #1

Open oslet opened 6 years ago

oslet commented 6 years ago

hello my env ubuntu 16.04 amd64

cargo run at the latest step

   Compiling cryptosmelt v0.1.0 (file:///home/oslet/soft/cryptosmelt)
error: linking with `cc` failed: exit code: 1

some details

  = note: /usr/bin/ld: cannot find -lpq
          collect2: error: ld returned 1 exit status

error: aborting due to previous error

error: Could not compile `cryptosmelt`.

To learn more, run the command again with --verbose.

Please help

jmdx commented 6 years ago

Running sudo apt install postgresql libpq-dev git libssl-dev pkg-config will probably fix this error. The ubuntu build script I have been using so far is in /scripts at https://github.com/jmdx/cryptosmelt/blob/master/scripts/ubuntu-cryptosmelt.sh

Cryptosmelt is not very actively maintained though, and doesn't have a UI or wide support for different cryptonote coins. If you are interested in setting up a pool quickly, something like https://github.com/forknote/forknote-pool would probably be a more reliable option at this point. Though if you're just interested in experimenting and/or contributing, that is always appreciated 😃

aion-6368726973 commented 6 years ago

@jmdx it works! thx.