Monday, April 29, 2024
 Popular · Latest · Hot · Upcoming
2
rated 0 times [  2] [ 0]  / answers: 1 / hits: 1746  / 1 Year 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, 1 Year  [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
2 Years ago
ippalogu questions
Tue, Jan 4, 22, 21:49, 2 Years ago
Tue, Sep 21, 21, 09:12, 3 Years ago
Wed, May 19, 21, 02:24, 3 Years ago
Mon, Dec 27, 21, 01:44, 2 Years ago
;