'cannot open shared object file' while running firefox on linux machine

740 Views Asked by At

I recently installed Firefox v45.0.2 on linux machine. After finishing installation I ran firefox -v command to check version, however this command is giving me following error:

XPCOMGlueLoad error for file /opt/firefox-45.0.2/libxul.so:
libfontconfig.so.1: cannot open shared object file: No such file or directory
Couldn't load XPCOM.

OS : Ubuntu 15.04

Java : 7

Thank you in advance for help.

1

There are 1 best solutions below

2
Knud Larsen On

libfontconfig.so.1: No such file or directory

Well, then install the package 'fontconfig'.

But then again, not easy to know the exact package name when your OS is unknown. So please edit your post to include [OS name and version].