error while loading shared libraries for qtreator

  • Hi,

    I use xubuntu version 20.10 and I want to manual install Qt with online installer from qt.

    If I try to start the new installed QtCreator I will get the error message:

    error while loading shared libraries cannot open shared object file: No such file or directory

    I installed Qt in /opt/Extern/Entwicklung/Qt/ and set the variable

    export LD_LIBRARY_PATH=/opt/Extern/Entwicklung/Qt/Tools/QtCreator/lib/qtcreator/
    export PATH=/opt/Extern/Entwicklung/Qt/Tools/QtCreator/bin:$PATH

    But qtcreator couldn't be started.

    Where is the problem (or my mistake)? I think to set LD_LIBRAY_PATH should enough.

    Thank you for your help

  • Ok. I found the error. I set the g+s mode on my installation directory. After I removed the setguid bit I can start qtcreator without any problems.


  • Lifetime Qt Champion

    This post is deleted!

Log in to reply