Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. Qt Creator and other tools
  4. How to fix missed libicui18n.so.74 when adding qmake to Qt Creator?
Qt 6.11 is out! See what's new in the release blog

How to fix missed libicui18n.so.74 when adding qmake to Qt Creator?

Scheduled Pinned Locked Moved Unsolved Qt Creator and other tools
ubuntuqt creatorqmakeerror
4 Posts 3 Posters 76 Views 1 Watching
  • 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.
  • I Offline
    I Offline
    Irimitlad
    wrote last edited by
    #1

    Hello.

    Yesterday, I built Qt 6.11.2 from source on my Ubuntu 24.04 laptop for I wanted to learn Qt Quick and QML (as a C++ dev, I already had some experience with Qt Widgets, but mostly only with their side of the framework). The building went well, and soon I got it done. Yet, I couldn't add this build to Qt Creator 20.0.1, when I was manually adding qmake or qmake6 to Qt Versions within Kits, I got an error:

    The qmake executable /home/tea/Apps/qt-6.11.2/bin/qmake could not be added: "/home/tea/Apps/qt-6.11.2/bin/qmake" produced no output: /home/tea/Apps/qt-6.11.2/bin/qmake: error while loading shared libraries: libicui18n.so.74: cannot open shared object file: No such file or directory.

    Today I've confirmed with apt that I actually do have ICU installed in the system:

    libicu74 is already the newest version (74.2-1ubuntu3.1).
    libicu74 set to manually installed.
    

    The exact library libicui18n.so.74.2 lies in /usr/lib/x86_64-linux-gnu/.

    Right now I don't know what to do to fix that. Maybe, that's me doing anything wrong, or that's another issue. So, any help would be highly appreciated.

    jsulmJ SGaistS 2 Replies Last reply
    0
    • I Irimitlad

      Hello.

      Yesterday, I built Qt 6.11.2 from source on my Ubuntu 24.04 laptop for I wanted to learn Qt Quick and QML (as a C++ dev, I already had some experience with Qt Widgets, but mostly only with their side of the framework). The building went well, and soon I got it done. Yet, I couldn't add this build to Qt Creator 20.0.1, when I was manually adding qmake or qmake6 to Qt Versions within Kits, I got an error:

      The qmake executable /home/tea/Apps/qt-6.11.2/bin/qmake could not be added: "/home/tea/Apps/qt-6.11.2/bin/qmake" produced no output: /home/tea/Apps/qt-6.11.2/bin/qmake: error while loading shared libraries: libicui18n.so.74: cannot open shared object file: No such file or directory.

      Today I've confirmed with apt that I actually do have ICU installed in the system:

      libicu74 is already the newest version (74.2-1ubuntu3.1).
      libicu74 set to manually installed.
      

      The exact library libicui18n.so.74.2 lies in /usr/lib/x86_64-linux-gnu/.

      Right now I don't know what to do to fix that. Maybe, that's me doing anything wrong, or that's another issue. So, any help would be highly appreciated.

      jsulmJ Offline
      jsulmJ Offline
      jsulm
      Lifetime Qt Champion
      wrote last edited by
      #2

      @Irimitlad said in How to fix missed libicui18n.so.74 when adding qmake to Qt Creator?:

      The exact library libicui18n.so.74.2 lies in /usr/lib/x86_64-linux-gnu/.

      and is there libicui18n.so.74 symbolic link in /usr/lib/x86_64-linux-gnu/ pointing to it?
      Is there a reason to build Qt by yourself?

      https://forum.qt.io/topic/113070/qt-code-of-conduct

      1 Reply Last reply
      0
      • I Irimitlad

        Hello.

        Yesterday, I built Qt 6.11.2 from source on my Ubuntu 24.04 laptop for I wanted to learn Qt Quick and QML (as a C++ dev, I already had some experience with Qt Widgets, but mostly only with their side of the framework). The building went well, and soon I got it done. Yet, I couldn't add this build to Qt Creator 20.0.1, when I was manually adding qmake or qmake6 to Qt Versions within Kits, I got an error:

        The qmake executable /home/tea/Apps/qt-6.11.2/bin/qmake could not be added: "/home/tea/Apps/qt-6.11.2/bin/qmake" produced no output: /home/tea/Apps/qt-6.11.2/bin/qmake: error while loading shared libraries: libicui18n.so.74: cannot open shared object file: No such file or directory.

        Today I've confirmed with apt that I actually do have ICU installed in the system:

        libicu74 is already the newest version (74.2-1ubuntu3.1).
        libicu74 set to manually installed.
        

        The exact library libicui18n.so.74.2 lies in /usr/lib/x86_64-linux-gnu/.

        Right now I don't know what to do to fix that. Maybe, that's me doing anything wrong, or that's another issue. So, any help would be highly appreciated.

        SGaistS Offline
        SGaistS Offline
        SGaist
        Lifetime Qt Champion
        wrote last edited by
        #3

        Hi and welcome to devnet,

        Can you also share the output of ldd /home/tea/Apps/qt-6.11.2/bin/qmake ?

        Interested in AI ? www.idiap.ch
        Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

        1 Reply Last reply
        0
        • I Offline
          I Offline
          Irimitlad
          wrote last edited by
          #4

          First, thank you everyone for helping.

          Both libicui18n.so and libicui18n.so.74 in the directory point to libicui18n.so.74.2. The same trio lies in /usr/local/lib/:

          lrwxrwxrwx 1 root root      18 Oct 2 2024 /usr/local/lib/libicui18n.so -> libicui18n.so.74.2
          lrwxrwxrwx 2 root root      18 Aug 9 2024 /usr/local/lib/libicui18n.so.74 -> libicui18n.so.74.2
          -rwxrwxrwx 2 root root 3455304 Aug 9 2024 /usr/local/lib/libicui18n.so.74.2
          lrwxrwxrwx 1 root root      18 Aug 9 2024 /usr/lib/x86_64-linux-gnu/libicui18n.so -> libicui18n.so.74.2
          lrwxrwxrwx 2 root root      18 Aug 9 2024 /usr/lib/x86_64-linux-gnu/libicui18n.so.74 -> libicui18n.so.74.2
          -rwxrwxrwx 2 root root 3455304 Aug 9 2024 /usr/lib/x86_64-linux-gnu/libicui18n.so.74.2
          

          Speaking of my reasons, I built Qt from its Git repo back then working with Widgets. However, that was in 2023 under a commercial license belonging to a company I worked for at the time. Actually, this time with my home laptop ,I tried the online installer first. It just didn't go well, the installer kept getting stuck at 90% of retrieving metadata, the cause of which I don't know, there were no error messages or anything else, and my net connection worked fine, too.

          As for ldd, the paths seem to be correct:

          linux-vdso.so.1 (0x00007457a56c3000)
          libQt6Core.so.6 => /home/tea/Apps/qt-6.11.2/bin/../lib/libQt6Core.so.6 (0x00007457a4e00000)
          libstdc++.so.6 => /usr/lib/x86_64-linux-gnu/libstdc++.so.6 (0x00007457a4a00000)
          libc.so.6 => /usr/lib/x86_64-linux-gnu/libc.so.6 (0x00007457a4600000)
          libicui18n.so.74 => /usr/local/lib/libicui18n.so.74 (0x00007457a4200000)
          libicuuc.so.74 => /usr/lib/x86_64-linux-gnu/libicuuc.so.74 (0x00007457a3e00000)
          libglib-2.0.so.0 => /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0 (0x00007457a4cb7000)
          libz.so.1 => /usr/lib/x86_64-linux-gnu/libz.so.1 (0x00007457a54be000)
          libdouble-conversion.so.3 => /usr/lib/x86_64-linux-gnu/libdouble-conversion.so.3 (0x00007457a4ca2000)
          libb2.so.1 => /usr/lib/x86_64-linux-gnu/libb2.so.1 (0x00007457a4c84000)
          libpcre2-16.so.0 => /usr/lib/x86_64-linux-gnu/libpcre2-16.so.0 (0x00007457a4941000)
          libzstd.so.1 => /usr/lib/x86_64-linux-gnu/libzstd.so.1 (0x00007457a4887000)
          libm.so.6 => /usr/lib/x86_64-linux-gnu/libm.so.6 (0x00007457a4117000)
          libgcc_s.so.1 => /usr/lib/x86_64-linux-gnu/libgcc_s.so.1 (0x00007457a4859000)
          /lib64/ld-linux-x86-64.so.2 (0x00007457a56c5000)
          libicudata.so.74 => /usr/lib/x86_64-linux-gnu/libicudata.so.74 (0x00007457a2000000)
          libpcre2-8.so.0 => /usr/lib/x86_64-linux-gnu/libpcre2-8.so.0 (0x00007457a403f000)
          libgomp.so.1 => /usr/lib/x86_64-linux-gnu/libgomp.so.1 (0x00007457a45aa000)
          
          1 Reply Last reply
          0

          • Login

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