[Bug 1991525] Re: vim.gtk3 won't run after 22.04 upgrade: “libpng12.so.0: cannot open shared object file”

William Wilson 1991525 at bugs.launchpad.net
Tue Oct 4 18:05:15 UTC 2022


I'm unable to recreate this issue on a jammy system that has been
upgraded from focal. Can you make sure all of your packages are up to
date? After poking through the vim source code there are no references
to libpng12, so it may be some dependency of vim that is out of date
trying to read it.

** Changed in: vim (Ubuntu)
       Status: New => Incomplete

-- 
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, 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:
  Incomplete

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




More information about the foundations-bugs mailing list