www.digitalmars.com         C & C++   DMDScript  

digitalmars.D - DUB: shared libraries missing, after upgrade to ubuntu 16.04

reply Nafees <nafees.hassan outlook.com> writes:
I recently upgraded to ubuntu 16.04 LTS from 14.04 LTS. I 
formatted the whole HDD, when I reinstalled all my stuff, DUB 
won't work. When I type "dub" into the terminal, this is what 
shows up: "dub: error while loading shared libraries: 
librtmp.so.0: cannot open shared object file: No such file or 
directory"

This wasn't happening with 14.04, and I have no idea where to get 
these libraries. Google didn't help much either. I found the 
librtmp.so.1, renamed it to librtmp.so.0, but then DUB couldn't 
find another library.
How can I get DUB to work again?
May 05 2016
parent Joseph Rushton Wakeling <joseph.wakeling webdrake.net> writes:
On Thursday, 5 May 2016 at 12:48:04 UTC, Nafees wrote:
 I recently upgraded to ubuntu 16.04 LTS from 14.04 LTS. I 
 formatted the whole HDD, when I reinstalled all my stuff, DUB 
 won't work. When I type "dub" into the terminal, this is what 
 shows up: "dub: error while loading shared libraries: 
 librtmp.so.0: cannot open shared object file: No such file or 
 directory"

 This wasn't happening with 14.04, and I have no idea where to 
 get these libraries. Google didn't help much either. I found 
 the librtmp.so.1, renamed it to librtmp.so.0, but then DUB 
 couldn't find another library.
 How can I get DUB to work again?
How did you install dub? The latest stable release is actually in the Ubuntu 16.04 repositories, so if you didn't install that way, you might want to try it.
May 06 2016