We will be migrating from Ask to Discourse on the first week of August, read the details here

Ask Your Question

on Ubuntu 20.04 LTS undefined symbol: png_set_option, version PNG16_0

asked 2020-05-04 15:08:13 +0200

dome.joyce gravatar image

Hello there, libreoffice refuse to start even in --safe-mode on my just updated ubuntu 20.04 LTS system. LibreOffice_6.4.3.2_Linux_x86-64_deb/DEBS$ libreoffice --safe-mode /usr/lib/libreoffice/program/soffice.bin: symbol lookup error: /usr/lib/libreoffice/program/libmergedlo.so: undefined symbol: png_set_option, version PNG16_0

Any time I try to run it, it starts the recovery of old documents without success, both trying to start or cancel the recovery process. Can you please help me to fix this error?

Many thanks

edit retag flag offensive close merge delete



Where did you get that from (TDF = libreoffice.org download or from PPA)? I'm asking because default Ubuntu repository still install 6.4.2 - just checked)

Opaque gravatar imageOpaque ( 2020-05-04 15:37:40 +0200 )edit

Seeing it's installed under /usr/lib/libreoffice/ it should be some Ubuntu source (PPA), so ask the friendly package maintainer.

erAck gravatar imageerAck ( 2020-05-04 18:18:19 +0200 )edit

I download from both libreoffice.org and from PPA. Both with no lucky

dome.joyce gravatar imagedome.joyce ( 2020-05-04 19:08:18 +0200 )edit

1 Answer

Sort by » oldest newest most voted

answered 2020-05-04 22:52:50 +0200

Opaque gravatar image


the following procedure worked for me on Ubuntu:

Completely remove anything related to LibreOffice

  • dpkg --list | awk '/ii/&&/libreoffice/||/libobasis/{print $2}' | sudo xargs apt purge -y ure
  • sudo apt autoremove -y
  • sudo rm -r /usr/lib/libreoffice/*

Note: Don't care about libobasis appearing here. I do use the command regularly to de-install TDF packages as well


  • sudo apt install libreoffice
  • Depending on you locale you may want to install sudo apt libreoffice-l10n-<countrycode>
  • Depending on you locale you may want to install sudo apt libreoffice-help-<countrycode> (Offline Help)

May be this will help you as well.

Hope that helps.

If the answer helped to solve your problem, please click the check mark (✔) next to the answer.

edit flag offensive delete link more


It does not solve in my case. Any suggestion?

dome.joyce gravatar imagedome.joyce ( 2020-05-06 13:39:49 +0200 )edit

Hmm - what does ls -l /lib/x86_64-linux-gnu/libpng* show?

Opaque gravatar imageOpaque ( 2020-05-06 13:54:54 +0200 )edit

ls: cannot access '/lib/x86_64-linux-gnu/libpng*': No such file or directory

but trying to install libpng--dev it returns sudo apt install libpng-dev [sudo] password for joyce: Reading package lists... Done Building dependency tree
Reading state information... Done libpng-dev is already the newest version (1.6.37-2).

dome.joyce gravatar imagedome.joyce ( 2020-05-07 10:21:11 +0200 )edit

Force the installation using reinstall instead of install

Opaque gravatar imageOpaque ( 2020-05-07 15:37:33 +0200 )edit
Login/Signup to Answer

Question Tools

1 follower


Asked: 2020-05-04 15:08:13 +0200

Seen: 403 times

Last updated: May 04 '20