Client does not work on Ubuntu 17.04

I upgraded to Ubuntu 17.04 from 16.10 and found nextcloud not to be working. So I reinstalled from ppa:nextcloud-devs/client repository. Und get following error when starting NC from terminal:

nextcloud: error while loading shared libraries: cannot open shared object file: No such file or directory.

Problem solved, solution is here: