Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. Installation and Deployment
  4. Installer cannot find libfontconfig on ubuntu 16.04
Qt 6.12 LTS is out! See what's new in the release blog

Installer cannot find libfontconfig on ubuntu 16.04

Scheduled Pinned Locked Moved Solved Installation and Deployment
6 Posts 3 Posters 5.5k Views
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • G Offline
    G Offline
    gaylord
    wrote on last edited by
    #1

    Hello. I'm trying to install Qt no a fresh ubuntu 16.04 install. When I run the installer, I get this error:
    ./qt-unified-linux-x86-2.0.5-2-online.run: error while loading shared libraries: libfontconfig.so.1: cannot open shared object file: No such file or directory

    I have libfontconfig.so.1 installed at: /usr/lib/x86_64-linux-gnu/libfontconfig.so.1
    and libfontconfig1-dev at: /usr/share/doc/libfontconfig1-dev

    It seems I have a library path issue. Can anyone help me figure out what to do to resolve this? Thanks.

    aha_1980A 1 Reply Last reply
    0
    • G gaylord

      Hello. I'm trying to install Qt no a fresh ubuntu 16.04 install. When I run the installer, I get this error:
      ./qt-unified-linux-x86-2.0.5-2-online.run: error while loading shared libraries: libfontconfig.so.1: cannot open shared object file: No such file or directory

      I have libfontconfig.so.1 installed at: /usr/lib/x86_64-linux-gnu/libfontconfig.so.1
      and libfontconfig1-dev at: /usr/share/doc/libfontconfig1-dev

      It seems I have a library path issue. Can anyone help me figure out what to do to resolve this? Thanks.

      aha_1980A Offline
      aha_1980A Offline
      aha_1980
      Lifetime Qt Champion
      wrote on last edited by aha_1980
      #2

      @gaylord

      Do you really need to use a 32 Bit Linux operating system?

      Qt stopped delivering binaries for 32 Bit Linux after 5.5 (so the installer is already some years old); if you want to have the "latest&greatest" you should rather use a 64 Bit Linux.

      Of course you can also install the Qt version that is included in your Ubuntu repositories.

      Qt has to stay free or it will die.

      1 Reply Last reply
      0
      • hskoglundH Offline
        hskoglundH Offline
        hskoglund
        wrote on last edited by hskoglund
        #3

        Hi, qt-unified-linux-x86-2.0.5-2-online.run is the "latest & greatest" if you try to download from https://www.qt.io/download-qt-installer by clicking on the Download button for 64-bit Linux :-(

        aha_1980A 1 Reply Last reply
        2
        • hskoglundH hskoglund

          Hi, qt-unified-linux-x86-2.0.5-2-online.run is the "latest & greatest" if you try to download from https://www.qt.io/download-qt-installer by clicking on the Download button for 64-bit Linux :-(

          aha_1980A Offline
          aha_1980A Offline
          aha_1980
          Lifetime Qt Champion
          wrote on last edited by
          #4

          @hskoglund said in Installer cannot find libfontconfig on ubuntu 16.04:

          Hi, qt-unified-linux-x86-2.0.5-2-online.run is the "latest & greatest" if you try to download from https://www.qt.io/download-qt-installer by clicking on the Download button for 64-bit Linux :-(

          Ah, now I see @gaylord is using a 64 Bit OS.

          So it looks like the Download page has some problems...

          Qt has to stay free or it will die.

          aha_1980A 1 Reply Last reply
          0
          • aha_1980A aha_1980

            @hskoglund said in Installer cannot find libfontconfig on ubuntu 16.04:

            Hi, qt-unified-linux-x86-2.0.5-2-online.run is the "latest & greatest" if you try to download from https://www.qt.io/download-qt-installer by clicking on the Download button for 64-bit Linux :-(

            Ah, now I see @gaylord is using a 64 Bit OS.

            So it looks like the Download page has some problems...

            aha_1980A Offline
            aha_1980A Offline
            aha_1980
            Lifetime Qt Champion
            wrote on last edited by
            #5

            @gaylord @hskoglund

            It looks the correct download is here: https://download.qt.io/official_releases/online_installers/qt-unified-linux-x64-online.run

            Maybe they got the link on the web page wrong ;)

            Qt has to stay free or it will die.

            1 Reply Last reply
            1
            • G Offline
              G Offline
              gaylord
              wrote on last edited by
              #6

              Thanks everyone. The link from aha_1980 does give me the latest, 64-bit download. I've sent qt a message indicating that the links on the linux download page need to be updated, and specify separate 32 and 64-bit downloads.

              1 Reply Last reply
              1

              • Login

              • Login or register to search.
              • First post
                Last post
              0
              • Categories
              • Recent
              • Tags
              • Popular
              • Users
              • Groups
              • Search
              • Get Qt
              • Unsolved