tmux failed to start, missing library

Bug #1725032 reported by knz
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
tmux (Ubuntu)
Expired
Undecided
Unassigned

Bug Description

Just upgraded Ubuntu from 17.04 to 17.10.

tmux fails to start and the dynamic linker reports:

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

It looks like the tmux binary was linked against libevent 2.0 but ubuntu 17.10 only provides 2.2.

knz (knz)
description: updated
Revision history for this message
Christian Ehrhardt  (paelzer) wrote :

Hi knz,
in an Artful system as of today I can't reproduce your issue.
It is working fine.

# ldd /usr/bin/tmux
        linux-vdso.so.1 => (0x00007ffe41ff0000)
        libutil.so.1 => /lib/x86_64-linux-gnu/libutil.so.1 (0x00007f95420f4000)
        libutempter.so.0 => /usr/lib/x86_64-linux-gnu/libutempter.so.0 (0x00007f9541ef1000)
        libtinfo.so.5 => /lib/x86_64-linux-gnu/libtinfo.so.5 (0x00007f9541cc8000)
        libevent-2.1.so.6 => /usr/lib/x86_64-linux-gnu/libevent-2.1.so.6 (0x00007f9541a76000)
        libresolv.so.2 => /lib/x86_64-linux-gnu/libresolv.so.2 (0x00007f954185c000)
        libc.so.6 => /lib/x86_64-linux-gnu/libc.so.6 (0x00007f954147c000)
        libpthread.so.0 => /lib/x86_64-linux-gnu/libpthread.so.0 (0x00007f954125d000)
        /lib64/ld-linux-x86-64.so.2 (0x00007f9542584000)

The version of the tmux package is at 2.5-3build1.

It's depends are on:
$ apt cache show tmux | grep Depends:
Depends: libc6 (>= 2.14), libevent-2.1-6 (>= 2.1.8-stable), libtinfo5 (>= 6), libutempter0 (>= 1.1.5)

And libevent is on
dpkg -l libevent-2.1-6
=> 2.1.8-stable-4

Could you please recheck after a full update/upgrade and then:
1. compare the package versions I referenced on your system and report them here
2. report the ldd of tmux in your case
3. check where your tmux comes from via $ apt-cache policy tmux

Changed in tmux (Ubuntu):
status: New → Incomplete
Revision history for this message
Launchpad Janitor (janitor) wrote :

[Expired for tmux (Ubuntu) because there has been no activity for 60 days.]

Changed in tmux (Ubuntu):
status: Incomplete → Expired
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.