Linuxdeployqt error the host system is too new

i trying to create a appimage for my Linux system. Using qt-creator i have completed the programing and ran the app successfully . but when i am trying to make it appimage using linuxdeployQt i am ...

i trying to create a appimage for my Linux system. Using qt-creator i have completed the programing and ran the app successfully . but when i am trying to make it appimage using linuxdeployQt i am facing some errors

linuxdeployqt 5 (commit 37631e5), build 631 built on 2019-01-25 22:47:58 UTC ERROR:
The host system is too new.
Please run on a system with a glibc version no newer than what comes with the oldest still-   
supported mainstream distribution, which currently is glibc 2.20. 
This is so that the resulting bundle will work on most still-supported Linux distributions.
For more information, please see
https://github.com/probonopd/linuxdeployqt/issues/340

i don’t know what this issue is. when i visit the website, it is not clear also. So anyone familiar with this kind please put your help here.

asked Mar 17, 2020 at 7:25

Bgg's user avatar

It means that your glibc is too new.

That’s correct, to work around this issue while using linuxdeployqt you have to choose as build environment an older system such as Centos 6 or Ubuntu 14.04.

As an alternative, you can use appimage-builder which allows producing AppImages on newer systems.

answered Apr 1, 2020 at 18:22

Alexis's user avatar

AlexisAlexis

5512 silver badges8 bronze badges

1

It means that your glibc is too new. I think it is supported glibc version comes with Ubuntu 14.04 as it is mentioned in herr https://github.com/probonopd/linuxdeployqt/issues/340. I have faced the same problem and still struggling to solve this issue.

answered Mar 18, 2020 at 6:10

neutri's user avatar

neutrineutri

371 silver badge9 bronze badges

This topic has been deleted. Only users with topic management privileges can see it.

  • Hi,

    I am trying to build an AppImage for my app which is made using Qt. When I run the AppImage of linuxdeployqt from this site:
    https://github.com/probonopd/linuxdeployqt/releases

    I get the following error:
    «linuxdeployqt (commit deebf70), build 38 built on 2022-12-15 18:06:02 UTC
    ERROR: The host system is too new.
    Please run on a system with a glibc version no newer than what comes with the oldest
    currently still-supported mainstream distribution (Ubuntu Bionic), which is glibc 2.27.
    This is so that the resulting bundle will work on most still-supported Linux distributions.
    For more information, please see
    https://github.com/probonopd/linuxdeployqt/issues/340
    «

    If this tool does not work what is the other official way to build AppImages for your Qt app?

  • @HFT_developer said in How to create AppImage using linuxdeployqt?:

    In my virtual machine do I need Qt and clone the repository and basically do everything I would do on my normal linux boot?

    Yes.

  • It does work, the error message tells you precisely what to do and why not doing it is wrong: if you run it on too-new system, the AppImage will not work on older system (defeating the whole purpose of having an AppImage). Install some older Linux (can be in a virtual machine or container) and run linuxdeployqt there.
    Also, click the link the tool prints, it provides a lot of explanations and some workarounds, including links to other tools (which you are asking about).

  • @sierdzio How do I run an older version of linux on the current pc which is already booting linux? Can docker containers work on linux or is using a virtual machine better for creating appimage?

  • @HFT_developer said in How to create AppImage using linuxdeployqt?:

    Can docker containers work on linux

    Of course :)

    @sierdzio How do I run an older version of linux on the current pc which is already booting linux? Can docker containers work on linux or is using a virtual machine better for creating appimage?

    Pick whatever you like. For initial setup I’d probably start with a virtual machine because it’s a bit easier to work with a GUI. But if you’re already familiar with this stuff and only need some solution to generate packages — docker is better then. Faster and easier to integrate into CI.

  • @sierdzio okay I’ve finally managed to setup Ubuntu 18.04(Bionic) on vitual box. When I use the linuxdeployqt tool do I need to compile on virtual machine or just transfer the executable from my pc to the virtual machine?

  • @HFT_developer said in How to create AppImage using linuxdeployqt?:

    @sierdzio okay I’ve finally managed to setup Ubuntu 18.04(Bionic) on vitual box. When I use the linuxdeployqt tool do I need to compile on virtual machine or just transfer the executable from my pc to the virtual machine?

    Compile there, to make sure GLibc compatibility.

  • @sierdzio In the meantime, I managed to deploy my App on windows that was fairly easy. I used windeployqt tool which was already inside the bin folder of Qt installation.

    Now for Linux, I tried using shared folder to share the executable from Ubuntu 22.04(my regular boot) to 18.04(in VM) but when I use linuxdeployqt it does not work. In my virtual machine do I need Qt and clone the repository and basically do everything I would do on my normal linux boot?

  • @HFT_developer said in How to create AppImage using linuxdeployqt?:

    In my virtual machine do I need Qt and clone the repository and basically do everything I would do on my normal linux boot?

    Yes.

  • Recommend Projects

    • React photo

      React

      A declarative, efficient, and flexible JavaScript library for building user interfaces.

    • Vue.js photo

      Vue.js

      🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

    • Typescript photo

      Typescript

      TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

    • TensorFlow photo

      TensorFlow

      An Open Source Machine Learning Framework for Everyone

    • Django photo

      Django

      The Web framework for perfectionists with deadlines.

    • Laravel photo

      Laravel

      A PHP framework for web artisans

    • D3 photo

      D3

      Bring data to life with SVG, Canvas and HTML. 📊📈🎉

    Recommend Topics

    • javascript

      JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

    • web

      Some thing interesting about web. New door for the world.

    • server

      A server is a program made to process requests and deliver data to clients.

    • Machine learning

      Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

    • Visualization

      Some thing interesting about visualization, use data art

    • Game

      Some thing interesting about game, make everyone happy.

    Recommend Org

    • Facebook photo

      Facebook

      We are working to build community through open source technology. NB: members must have two-factor auth.

    • Microsoft photo

      Microsoft

      Open source projects and samples from Microsoft.

    • Google photo

      Google

      Google ❤️ Open Source for everyone.

    • Alibaba photo

      Alibaba

      Alibaba Open Source for everyone

    • D3 photo

      D3

      Data-Driven Documents codes.

    • Tencent photo

      Tencent

      China tencent open source team.

    Понравилась статья? Поделить с друзьями:

    Читайте также:

  • Linux ошибки сети
  • Movie recording has been stopped automatically как исправить
  • Linux как изменить пароль пользователя mysql
  • Mouse sys faceit error
  • Linux как изменить имя суперпользователя

  • 0 0 голоса
    Рейтинг статьи
    Подписаться
    Уведомить о
    guest

    0 комментариев
    Старые
    Новые Популярные
    Межтекстовые Отзывы
    Посмотреть все комментарии