Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. Installation and Deployment
  4. libgssapi_krb5.so file not found while using Multimedia and MultimediaWidget even though it is present in /usr/lib64
Forum Updated to NodeBB v4.3 + New Features

libgssapi_krb5.so file not found while using Multimedia and MultimediaWidget even though it is present in /usr/lib64

Scheduled Pinned Locked Moved Unsolved Installation and Deployment
6 Posts 3 Posters 540 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.
  • B Offline
    B Offline
    bishal
    wrote on last edited by
    #1

    Following error has occured when trying to run the app which uses Multimedia or MultimediaWidgets of QT. (System: Fedora). Please help :
    app/extra/clion/bin/cmake/linux/x64/bin/cmake --build /home/bishal/Documents/Projects/media_player/cmake-build-debug --target media_player -j 3
    [1/1] Linking CXX executable media_player
    FAILED: media_player
    : && /usr/bin/c++ -g CMakeFiles/media_player.dir/media_player_autogen/mocs_compilation.cpp.o CMakeFiles/media_player.dir/main.cpp.o -o media_player -Wl,-rpath,/opt/Qt/6.7.2/gcc_64/lib /opt/Qt/6.7.2/gcc_64/lib/libQt6MultimediaWidgets.so.6.7.2 /opt/Qt/6.7.2/gcc_64/lib/libQt6Multimedia.so.6.7.2 /opt/Qt/6.7.2/gcc_64/lib/libQt6Network.so.6.7.2 /opt/Qt/6.7.2/gcc_64/lib/libQt6Widgets.so.6.7.2 /opt/Qt/6.7.2/gcc_64/lib/libQt6Gui.so.6.7.2 /opt/Qt/6.7.2/gcc_64/lib/libQt6Core.so.6.7.2 /usr/lib/x86_64-linux-gnu/libGLX.so /usr/lib/x86_64-linux-gnu/libOpenGL.so && :
    /usr/lib/gcc/x86_64-unknown-linux-gnu/13.2.0/../../../../x86_64-unknown-linux-gnu/bin/ld: warning: libgssapi_krb5.so.2, needed by /opt/Qt/6.7.2/gcc_64/lib/libQt6Network.so.6.7.2, not found (try using -rpath or -rpath-link)
    /usr/lib/gcc/x86_64-unknown-linux-gnu/13.2.0/../../../../x86_64-unknown-linux-gnu/bin/ld: /opt/Qt/6.7.2/gcc_64/lib/libQt6Network.so.6.7.2: undefined reference to gss_delete_sec_context@gssapi_krb5_2_MIT' /usr/lib/gcc/x86_64-unknown-linux-gnu/13.2.0/../../../../x86_64-unknown-linux-gnu/bin/ld: /opt/Qt/6.7.2/gcc_64/lib/libQt6Network.so.6.7.2: undefined reference to gss_display_status@gssapi_krb5_2_MIT'
    /usr/lib/gcc/x86_64-unknown-linux-gnu/13.2.0/../../../../x86_64-unknown-linux-gnu/bin/ld: /opt/Qt/6.7.2/gcc_64/lib/libQt6Network.so.6.7.2: undefined reference to GSS_C_NT_HOSTBASED_SERVICE@gssapi_krb5_2_MIT' /usr/lib/gcc/x86_64-unknown-linux-gnu/13.2.0/../../../../x86_64-unknown-linux-gnu/bin/ld: /opt/Qt/6.7.2/gcc_64/lib/libQt6Network.so.6.7.2: undefined reference to gss_init_sec_context@gssapi_krb5_2_MIT'
    /usr/lib/gcc/x86_64-unknown-linux-gnu/13.2.0/../../../../x86_64-unknown-linux-gnu/bin/ld: /opt/Qt/6.7.2/gcc_64/lib/libQt6Network.so.6.7.2: undefined reference to gss_import_name@gssapi_krb5_2_MIT' /usr/lib/gcc/x86_64-unknown-linux-gnu/13.2.0/../../../../x86_64-unknown-linux-gnu/bin/ld: /opt/Qt/6.7.2/gcc_64/lib/libQt6Network.so.6.7.2: undefined reference to gss_release_name@gssapi_krb5_2_MIT'
    /usr/lib/gcc/x86_64-unknown-linux-gnu/13.2.0/../../../../x86_64-unknown-linux-gnu/bin/ld: /opt/Qt/6.7.2/gcc_64/lib/libQt6Network.so.6.7.2: undefined reference to gss_release_buffer@gssapi_krb5_2_MIT' /usr/lib/gcc/x86_64-unknown-linux-gnu/13.2.0/../../../../x86_64-unknown-linux-gnu/bin/ld: /opt/Qt/6.7.2/gcc_64/lib/libQt6Network.so.6.7.2: undefined reference to gss_acquire_cred@gssapi_krb5_2_MIT'
    /usr/lib/gcc/x86_64-unknown-linux-gnu/13.2.0/../../../../x86_64-unknown-linux-gnu/bin/ld: /opt/Qt/6.7.2/gcc_64/lib/libQt6Network.so.6.7.2: undefined reference to `gss_release_cred@gssapi_krb5_2_MIT'
    collect2: error: ld returned 1 exit status
    ninja: build stopped: subcommand failed.

    PS: all libraries are present

    1 Reply Last reply
    0
    • SGaistS Offline
      SGaistS Offline
      SGaist
      Lifetime Qt Champion
      wrote on last edited by
      #2

      Hi and welcome to devnet,

      If a symbol is missing, it might mean that the version of the library you have on your system is widely different than the one used to build Qt.

      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
      • B Offline
        B Offline
        bishal
        wrote on last edited by
        #3

        So, how can i fix this problem. any suggestion please

        1 Reply Last reply
        0
        • SGaistS Offline
          SGaistS Offline
          SGaist
          Lifetime Qt Champion
          wrote on last edited by
          #4

          Which distribution are you using ?
          Multiple possible things:

          • use your distribution provided Qt if it's recent enough for your project
          • build and use your own version of that dependency
          • build Qt yourself
          • change Linux distribution

          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
          • B Offline
            B Offline
            bishal
            wrote on last edited by
            #5

            I am using fedora 40, i installed Qt from its online installer, everthing works and is linked properly, until i use multimedia or multimedia widgets.

            jsulmJ 1 Reply Last reply
            0
            • B bishal

              I am using fedora 40, i installed Qt from its online installer, everthing works and is linked properly, until i use multimedia or multimedia widgets.

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

              @bishal said in libgssapi_krb5.so file not found while using Multimedia and MultimediaWidget even though it is present in /usr/lib64:

              i installed Qt from its online installer,

              You mean you installed Qt using Qt Online Installer?
              If so please try with Qt provided by Fedore like @SGaist suggested.

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

              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