Friday, September 29, 2023
 Popular · Latest · Hot · Upcoming
2
rated 0 times [  2] [ 0]  / answers: 1 / hits: 1719  / 7 Months ago, thu, march 16, 2023, 10:26:24

Recently upgraded from 16.04 to 17.10 and when I tried to run tmux it throwing this error.



tmux: error while loading shared libraries: libevent-2.0.so.5: cannot open shared object file: No such file or directory


How Can I solve this?



apt-cache policy tmux results this



  Installed: 2.5-3build1
Candidate: 2.5-3build1
Version table:
*** 2.5-3build1 500
500 http://in.archive.ubuntu.com/ubuntu artful/main amd64 Packages
100 /var/lib/dpkg/status

More From » upgrade

 Answers
2

I had this issue and came to find I had two tmux binaries installed.
My suggestion for simplicity:



apt remove tmux
which tmux


If you have a response the 2nd time, rm it then reinstall


[#9921] Friday, March 17, 2023, 7 Months  [reply] [flag answer]
Only authorized users can answer the question. Please sign in first, or register a free account.
ippalogu

Total Points: 215
Total Questions: 127
Total Answers: 146

Location: Denmark
Member since Tue, Jul 19, 2022
1 Year ago
;