Public bug reported: After upgrading a system running Ubuntu 20.04 to 22.04, vim.gtk3 no longer runs:
$ vim.gtk3 vim.gtk3: error while loading shared libraries: libpng12.so.0: cannot open shared object file: No such file or directory (vim.basic still runs fine). These are the vim packages we have installed, and their versions: vim:amd64/jammy-security 2:8.2.3995-1ubuntu2.1 uptodate vim-common:all/jammy-security 2:8.2.3995-1ubuntu2.1 uptodate vim-gtk3:amd64/jammy-security 2:8.2.3995-1ubuntu2.1 uptodate vim-gui-common:all/jammy-security 2:8.2.3995-1ubuntu2.1 uptodate vim-runtime:all/jammy-security 2:8.2.3995-1ubuntu2.1 uptodate vim-tiny:amd64/jammy-security 2:8.2.3995-1ubuntu2.1 uptodate Previously I did have a PPA of Vim installed from http://ppa.launchpad.net/jonathonf/vim/ubuntu — but that has been purged, and as you can see all the vim packages now installed are official Ubuntu jammy versions. libpng12 isn't in Ubuntu any more, so I think the problem is that vim is trying to use it, not that it's missing. Attached is strace output of the failure. ** Affects: vim (Ubuntu) Importance: Undecided Status: New ** Attachment added: "strace of the failure" https://bugs.launchpad.net/bugs/1991525/+attachment/5620716/+files/vim.gtk3.strace ** Description changed: After upgrading a system running Ubuntu 20.04 to 22.04, vim.gtk3 no longer runs: - $ vim.gtk3 - vim.gtk3: error while loading shared libraries: libpng12.so.0: cannot open shared object file: No such file or directory + $ vim.gtk3 + vim.gtk3: error while loading shared libraries: libpng12.so.0: cannot open shared object file: No such file or directory (vim.basic still runs fine). These are the vim packages we have installed, and their versions: - vim:amd64/jammy-security 2:8.2.3995-1ubuntu2.1 uptodate - vim-common:all/jammy-security 2:8.2.3995-1ubuntu2.1 uptodate - vim-gtk3:amd64/jammy-security 2:8.2.3995-1ubuntu2.1 uptodate - vim-gui-common:all/jammy-security 2:8.2.3995-1ubuntu2.1 uptodate - vim-runtime:all/jammy-security 2:8.2.3995-1ubuntu2.1 uptodate - vim-tiny:amd64/jammy-security 2:8.2.3995-1ubuntu2.1 uptodate + vim:amd64/jammy-security 2:8.2.3995-1ubuntu2.1 uptodate + vim-common:all/jammy-security 2:8.2.3995-1ubuntu2.1 uptodate + vim-gtk3:amd64/jammy-security 2:8.2.3995-1ubuntu2.1 uptodate + vim-gui-common:all/jammy-security 2:8.2.3995-1ubuntu2.1 uptodate + vim-runtime:all/jammy-security 2:8.2.3995-1ubuntu2.1 uptodate + vim-tiny:amd64/jammy-security 2:8.2.3995-1ubuntu2.1 uptodate Previously I did have a PPA of Vim installed from - http://ppa.launchpad.net/jonathonf/vim/ubuntu — but that has been purged, and - as you can see all the vim packages now installed are official Ubuntu jammy - versions. + http://ppa.launchpad.net/jonathonf/vim/ubuntu — but that has been + purged, and as you can see all the vim packages now installed are + official Ubuntu jammy versions. - libpng12 isn't in Ubuntu any more, so I think the problem is that vim is trying - to use it, not that it's missing. + libpng12 isn't in Ubuntu any more, so I think the problem is that vim is + trying to use it, not that it's missing. - Here's some strace output leading up to the failure: - - openat(AT_FDCWD, "/lib/x86_64-linux-gnu/libwayland-client.so.0", O_RDONLY|O_CLOEXEC) = 3 - read(3, "\177ELF\2\1\1\0\0\0\0\0\0\0\0\0\3\0>\0\1\0\0\0\0\0\0\0\0\0\0\0"..., 832) = 832 - newfstatat(3, "", {st_mode=S_IFREG|0644, st_size=64776, ...}, AT_EMPTY_PATH) = 0 - close(3) = 0 - openat(AT_FDCWD, "/lib/x86_64-linux-gnu/libXext.so.6", O_RDONLY|O_CLOEXEC) = 3 - read(3, "\177ELF\2\1\1\0\0\0\0\0\0\0\0\0\3\0>\0\1\0\0\0\0\0\0\0\0\0\0\0"..., 832) = 832 - newfstatat(3, "", {st_mode=S_IFREG|0644, st_size=81640, ...}, AT_EMPTY_PATH) = 0 - close(3) = 0 - openat(AT_FDCWD, "/lib/x86_64-linux-gnu/libthai.so.0", O_RDONLY|O_CLOEXEC) = 3 - read(3, "\177ELF\2\1\1\0\0\0\0\0\0\0\0\0\3\0>\0\1\0\0\0\0\0\0\0\0\0\0\0"..., 832) = 832 - newfstatat(3, "", {st_mode=S_IFREG|0644, st_size=41152, ...}, AT_EMPTY_PATH) = 0 - close(3) = 0 - openat(AT_FDCWD, "/lib/x86_64-linux-gnu/libpthread.so.0", O_RDONLY|O_CLOEXEC) = 3 - read(3, "\177ELF\2\1\1\0\0\0\0\0\0\0\0\0\3\0>\0\1\0\0\0\0\0\0\0\0\0\0\0"..., 832) = 832 - newfstatat(3, "", {st_mode=S_IFREG|0644, st_size=21448, ...}, AT_EMPTY_PATH) = 0 - close(3) = 0 - openat(AT_FDCWD, "/lib/x86_64-linux-gnu/libpixman-1.so.0", O_RDONLY|O_CLOEXEC) = 3 - read(3, "\177ELF\2\1\1\0\0\0\0\0\0\0\0\0\3\0>\0\1\0\0\0\0\0\0\0\0\0\0\0"..., 832) = 832 - newfstatat(3, "", {st_mode=S_IFREG|0644, st_size=694448, ...}, AT_EMPTY_PATH) = 0 - close(3) = 0 - openat(AT_FDCWD, "/lib/x86_64-linux-gnu/libfreetype.so.6", O_RDONLY|O_CLOEXEC) = 3 - read(3, "\177ELF\2\1\1\0\0\0\0\0\0\0\0\0\3\0>\0\1\0\0\0\0\0\0\0\0\0\0\0"..., 832) = 832 - newfstatat(3, "", {st_mode=S_IFREG|0644, st_size=813128, ...}, AT_EMPTY_PATH) = 0 - close(3) = 0 - openat(AT_FDCWD, "/lib/x86_64-linux-gnu/glibc-hwcaps/x86-64-v3/libpng12.so.0", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory) - newfstatat(AT_FDCWD, "/lib/x86_64-linux-gnu/glibc-hwcaps/x86-64-v3", 0x7ffed6f04e90, 0) = -1 ENOENT (No such file or directory) - openat(AT_FDCWD, "/lib/x86_64-linux-gnu/glibc-hwcaps/x86-64-v2/libpng12.so.0", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory) - newfstatat(AT_FDCWD, "/lib/x86_64-linux-gnu/glibc-hwcaps/x86-64-v2", 0x7ffed6f04e90, 0) = -1 ENOENT (No such file or directory) - openat(AT_FDCWD, "/lib/x86_64-linux-gnu/tls/haswell/x86_64/libpng12.so.0", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory) - newfstatat(AT_FDCWD, "/lib/x86_64-linux-gnu/tls/haswell/x86_64", 0x7ffed6f04e90, 0) = -1 ENOENT (No such file or directory) - openat(AT_FDCWD, "/lib/x86_64-linux-gnu/tls/haswell/libpng12.so.0", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory) - newfstatat(AT_FDCWD, "/lib/x86_64-linux-gnu/tls/haswell", 0x7ffed6f04e90, 0) = -1 ENOENT (No such file or directory) - openat(AT_FDCWD, "/lib/x86_64-linux-gnu/tls/x86_64/libpng12.so.0", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory) - newfstatat(AT_FDCWD, "/lib/x86_64-linux-gnu/tls/x86_64", 0x7ffed6f04e90, 0) = -1 ENOENT (No such file or directory) - openat(AT_FDCWD, "/lib/x86_64-linux-gnu/tls/libpng12.so.0", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory) - newfstatat(AT_FDCWD, "/lib/x86_64-linux-gnu/tls", 0x7ffed6f04e90, 0) = -1 ENOENT (No such file or directory) - openat(AT_FDCWD, "/lib/x86_64-linux-gnu/haswell/x86_64/libpng12.so.0", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory) - newfstatat(AT_FDCWD, "/lib/x86_64-linux-gnu/haswell/x86_64", 0x7ffed6f04e90, 0) = -1 ENOENT (No such file or directory) - openat(AT_FDCWD, "/lib/x86_64-linux-gnu/haswell/libpng12.so.0", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory) - newfstatat(AT_FDCWD, "/lib/x86_64-linux-gnu/haswell", 0x7ffed6f04e90, 0) = -1 ENOENT (No such file or directory) - openat(AT_FDCWD, "/lib/x86_64-linux-gnu/x86_64/libpng12.so.0", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory) - openat(AT_FDCWD, "/lib/tls/libpng12.so.0", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory) - newfstatat(AT_FDCWD, "/lib/tls", 0x7ffed6f04e90, 0) = -1 ENOENT (No such file or directory) - openat(AT_FDCWD, "/lib/haswell/x86_64/libpng12.so.0", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory) - newfstatat(AT_FDCWD, "/lib/haswell/x86_64", 0x7ffed6f04e90, 0) = -1 ENOENT (No such file or directory) - openat(AT_FDCWD, "/lib/haswell/libpng12.so.0", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory) - newfstatat(AT_FDCWD, "/lib/haswell", 0x7ffed6f04e90, 0) = -1 ENOENT (No such file or directory) - openat(AT_FDCWD, "/lib/x86_64/libpng12.so.0", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory) - newfstatat(AT_FDCWD, "/lib/x86_64", 0x7ffed6f04e90, 0) = -1 ENOENT (No such file or directory) - openat(AT_FDCWD, "/lib/libpng12.so.0", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory) - newfstatat(AT_FDCWD, "/lib", {st_mode=S_IFDIR|0755, st_size=4096, ...}, 0) = 0 - openat(AT_FDCWD, "/usr/lib/glibc-hwcaps/x86-64-v3/libpng12.so.0", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory) - newfstatat(AT_FDCWD, "/usr/lib/glibc-hwcaps/x86-64-v3", 0x7ffed6f04e90, 0) = -1 ENOENT (No such file or directory) - openat(AT_FDCWD, "/usr/lib/glibc-hwcaps/x86-64-v2/libpng12.so.0", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory) - newfstatat(AT_FDCWD, "/usr/lib/glibc-hwcaps/x86-64-v2", 0x7ffed6f04e90, 0) = -1 ENOENT (No such file or directory) - openat(AT_FDCWD, "/usr/lib/tls/haswell/x86_64/libpng12.so.0", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory) - newfstatat(AT_FDCWD, "/usr/lib/tls/haswell/x86_64", 0x7ffed6f04e90, 0) = -1 ENOENT (No such file or directory) - openat(AT_FDCWD, "/usr/lib/tls/haswell/libpng12.so.0", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory) - newfstatat(AT_FDCWD, "/usr/lib/tls/haswell", 0x7ffed6f04e90, 0) = -1 ENOENT (No such file or directory) - openat(AT_FDCWD, "/usr/lib/tls/x86_64/libpng12.so.0", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory) - newfstatat(AT_FDCWD, "/usr/lib/tls/x86_64", 0x7ffed6f04e90, 0) = -1 ENOENT (No such file or directory) - openat(AT_FDCWD, "/usr/lib/tls/libpng12.so.0", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory) - newfstatat(AT_FDCWD, "/usr/lib/tls", 0x7ffed6f04e90, 0) = -1 ENOENT (No such file or directory) - openat(AT_FDCWD, "/usr/lib/haswell/x86_64/libpng12.so.0", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory) - newfstatat(AT_FDCWD, "/usr/lib/haswell/x86_64", 0x7ffed6f04e90, 0) = -1 ENOENT (No such file or directory) - openat(AT_FDCWD, "/usr/lib/haswell/libpng12.so.0", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory) - newfstatat(AT_FDCWD, "/usr/lib/haswell", 0x7ffed6f04e90, 0) = -1 ENOENT (No such file or directory) - openat(AT_FDCWD, "/usr/lib/x86_64/libpng12.so.0", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory) - newfstatat(AT_FDCWD, "/usr/lib/x86_64", 0x7ffed6f04e90, 0) = -1 ENOENT (No such file or directory) - openat(AT_FDCWD, "/usr/lib/libpng12.so.0", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory) - newfstatat(AT_FDCWD, "/usr/lib", {st_mode=S_IFDIR|0755, st_size=4096, ...}, 0) = 0 - writev(2, [{iov_base="vim.gtk3", iov_len=8}, {iov_base=": ", iov_len=2}, {iov_base="error while loading shared libra"..., iov_len=36}, {iov_base=": ", iov_len=2}, {iov_base="libpng12.so.0", iov_len=13}, {iov_base=": ", iov_len=2}, {iov_base="cannot open shared object fi> - ) = 121 exit_group(127) + Attached is strace output of the failure. -- You received this bug notification because you are a member of Ubuntu Touch seeded packages, which is subscribed to vim in Ubuntu. https://bugs.launchpad.net/bugs/1991525 Title: vim.gtk3 won't run after 22.04 upgrade: “libpng12.so.0: cannot open shared object file” Status in vim package in Ubuntu: New Bug description: After upgrading a system running Ubuntu 20.04 to 22.04, vim.gtk3 no longer runs: $ vim.gtk3 vim.gtk3: error while loading shared libraries: libpng12.so.0: cannot open shared object file: No such file or directory (vim.basic still runs fine). These are the vim packages we have installed, and their versions: vim:amd64/jammy-security 2:8.2.3995-1ubuntu2.1 uptodate vim-common:all/jammy-security 2:8.2.3995-1ubuntu2.1 uptodate vim-gtk3:amd64/jammy-security 2:8.2.3995-1ubuntu2.1 uptodate vim-gui-common:all/jammy-security 2:8.2.3995-1ubuntu2.1 uptodate vim-runtime:all/jammy-security 2:8.2.3995-1ubuntu2.1 uptodate vim-tiny:amd64/jammy-security 2:8.2.3995-1ubuntu2.1 uptodate Previously I did have a PPA of Vim installed from http://ppa.launchpad.net/jonathonf/vim/ubuntu — but that has been purged, and as you can see all the vim packages now installed are official Ubuntu jammy versions. libpng12 isn't in Ubuntu any more, so I think the problem is that vim is trying to use it, not that it's missing. Attached is strace output of the failure. To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/vim/+bug/1991525/+subscriptions -- Mailing list: https://launchpad.net/~touch-packages Post to : touch-packages@lists.launchpad.net Unsubscribe : https://launchpad.net/~touch-packages More help : https://help.launchpad.net/ListHelp