Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. Mobile and Embedded
  4. libtinfo and clang error
Forum Updated to NodeBB v4.3 + New Features

libtinfo and clang error

Scheduled Pinned Locked Moved Solved Mobile and Embedded
3 Posts 2 Posters 455 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.
  • J Offline
    J Offline
    Jasur
    wrote on last edited by
    #1

    Hi all

    Project ERROR: Cannot run target compiler '/home/jasuryuldashev/Android/android-ndk-r17c/toolchains/llvm/prebuilt/linux-x86_64/bin/clang++'. Output:

    ===================
    Maybe you forgot to setup the environment?
    Error while parsing file /home/jasuryuldashev/Qt-Projects/untitled3/untitled3.pro. Giving up.
    Compiler feature detection failure!
    The command "/home/jasuryuldashev/Android/android-ndk-r17c/toolchains/llvm/prebuilt/linux-x86_64/bin/clang -print-search-dirs" terminated with exit code 127.
    /home/jasuryuldashev/Android/android-ndk-r17c/toolchains/llvm/prebuilt/linux-x86_64/bin/clang: error while loading shared libraries: libtinfo.so.5: cannot open shared object file: No such file or directory

    Compiler feature detection failure!
    The command "/home/jasuryuldashev/Android/android-ndk-r17c/toolchains/llvm/prebuilt/linux-x86_64/bin/clang++ -print-search-dirs" terminated with exit code 127.
    /home/jasuryuldashev/Android/android-ndk-r17c/toolchains/llvm/prebuilt/linux-x86_64/bin/clang++: error while loading shared libraries: libtinfo.so.5: cannot open shared object file: No such file or directory

    libncurses5 i have installed and libtinfo.so.5 is present on my system, kits all perfect, only this error appears, what else it could be?

    Regards, Jasur

    jsulmJ 1 Reply Last reply
    0
    • J Jasur

      Hi all

      Project ERROR: Cannot run target compiler '/home/jasuryuldashev/Android/android-ndk-r17c/toolchains/llvm/prebuilt/linux-x86_64/bin/clang++'. Output:

      ===================
      Maybe you forgot to setup the environment?
      Error while parsing file /home/jasuryuldashev/Qt-Projects/untitled3/untitled3.pro. Giving up.
      Compiler feature detection failure!
      The command "/home/jasuryuldashev/Android/android-ndk-r17c/toolchains/llvm/prebuilt/linux-x86_64/bin/clang -print-search-dirs" terminated with exit code 127.
      /home/jasuryuldashev/Android/android-ndk-r17c/toolchains/llvm/prebuilt/linux-x86_64/bin/clang: error while loading shared libraries: libtinfo.so.5: cannot open shared object file: No such file or directory

      Compiler feature detection failure!
      The command "/home/jasuryuldashev/Android/android-ndk-r17c/toolchains/llvm/prebuilt/linux-x86_64/bin/clang++ -print-search-dirs" terminated with exit code 127.
      /home/jasuryuldashev/Android/android-ndk-r17c/toolchains/llvm/prebuilt/linux-x86_64/bin/clang++: error while loading shared libraries: libtinfo.so.5: cannot open shared object file: No such file or directory

      libncurses5 i have installed and libtinfo.so.5 is present on my system, kits all perfect, only this error appears, what else it could be?

      Regards, Jasur

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

      @Jasur said in libtinfo and clang error:

      libncurses5 i have installed and libtinfo.so.5 is present on my system

      You need these libs for Android, not for your system

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

      J 1 Reply Last reply
      0
      • jsulmJ jsulm

        @Jasur said in libtinfo and clang error:

        libncurses5 i have installed and libtinfo.so.5 is present on my system

        You need these libs for Android, not for your system

        J Offline
        J Offline
        Jasur
        wrote on last edited by
        #3

        @jsulm Installing NDK-21 solved my problem, how i understand the problem was NDK-17.

        Regards,
        Jasur

        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 Extensions
        • Unsolved