filecoin-project/replication-game

The game should not require postgresql to be played

Open

#16 aperta il 6 feb 2019

Vedi su GitHub
 (3 commenti) (0 reazioni) (0 assegnatari)Rust (5 fork)auto 404
enhancementgood first issue

Metriche repository

Star
 (59 star)
Metriche merge PR
 (Metriche PR in attesa)

Descrizione

When trying to build on ubuntu, I got a linker error:

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

I was able to fix it by creating symlink:

➜  replication-game-server git:(porcuquine) ✗ sudo ln -s /usr/lib/x86_64-linux-gnu/libpq.so.5 /usr/lib/libpq.so

Maybe this should be documented. Even better, it should be possible to build and run the client without installing Postgres or any of the server dependencies.

Guida contributor