ubuntu 14.04 升级到 16.04 curl 报错

ubuntu 14.04 升级到 16.04 curl 报错

1
2
3
4
5
root@test:~# curl
curl: error while loading shared libraries: librtmp.so.0: cannot open shared object file: No such file or directory
root@test:~# sudo ln -s /usr/lib/x86_64-linux-gnu/librtmp.so.1 /usr/lib/x86_64-linux-gnu/librtmp.so.0
root@test:~# curl
curl: try 'curl --help' or 'curl --manual' for more information