Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. General and Desktop
  4. Cannot find library (Qt5.2.1 + Fedora 20 64-bit)
Forum Updated to NodeBB v4.3 + New Features

Cannot find library (Qt5.2.1 + Fedora 20 64-bit)

Scheduled Pinned Locked Moved General and Desktop
12 Posts 4 Posters 5.3k 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.
  • S Offline
    S Offline
    Sockeye
    wrote on last edited by
    #1

    Just did the fresh install of Qt5.2.1 on Fedora 20 64-bit, when build my old project (it built before) it can’t find libraries:

    /usr/bin/ld: cannot find -lxslt
    /usr/bin/ld: cannot find -lgio-2.0
    /usr/bin/ld: cannot find -lgstapp-0.10
    /usr/bin/ld: cannot find -lgstinterfaces-0.10
    /usr/bin/ld: cannot find -lgstpbutils-0.10
    /usr/bin/ld: cannot find -lgstvideo-0.10
    /usr/bin/ld: cannot find -lgstbase-0.10
    /usr/bin/ld: cannot find -lgstreamer-0.10
    /usr/bin/ld: cannot find -lgobject-2.0
    /usr/bin/ld: cannot find -lgmodule-2.0
    /usr/bin/ld: cannot find -lxml2
    /usr/bin/ld: cannot find -lgthread-2.0
    /usr/bin/ld: cannot find -lglib-2.0
    collect2: error: ld returned 1 exit status
    make: *** [CubeTimer] Error 1
    22:35:40: The process “/usr/bin/make” exited with code 2.
    Error while building/deploying project xxx (kit: Desktop Qt 5.2.1 GCC 64bit)
    When executing step ‘Make’

    Any help, please?

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

      Hi,

      You are missing at least the gstreamer dev packages on your system. Just install them and you should be good to go

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

        [quote author="SGaist" date="1396940834"]Hi,

        You are missing at least the gstreamer dev packages on your system. Just install them and you should be good to go[/quote]

        Thanks a lot, I installed gstreamer-devel package, and the error message is less:

        /usr/bin/ld: cannot find -lxslt
        /usr/bin/ld: cannot find -lgstapp-0.10
        /usr/bin/ld: cannot find -lgstinterfaces-0.10
        /usr/bin/ld: cannot find -lgstpbutils-0.10
        /usr/bin/ld: cannot find -lgstvideo-0.10
        collect2: error: ld returned 1 exit status

        which package should I install for this?

        Thanks!

        1 Reply Last reply
        0
        • S Offline
          S Offline
          Sockeye
          wrote on last edited by
          #4

          Solved! Thank you so much!

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

            libxslt-dev

            The others are also gstreamer related packages, I don't have the corresponding name at hand but you should easily find them using your package manager

            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
            • E Offline
              E Offline
              EverydayDiesel
              wrote on last edited by
              #6

              I am getting the same error
              :-1: error: cannot find -lGL

              yum install libxslt-dev
              No package libxslt-dev available.
              Error: Nothing to do

              but I did install
              yum install libxslt-devel

              but it still gives me the same error

              1 Reply Last reply
              0
              • E Offline
                E Offline
                EverydayDiesel
                wrote on last edited by
                #7

                I am getting the same error
                :-1: error: cannot find -lGL

                yum install libxslt-dev
                No package libxslt-dev available.
                Error: Nothing to do

                but I did install
                yum install libxslt-devel

                but it still gives me the same error

                1 Reply Last reply
                0
                • E Offline
                  E Offline
                  EverydayDiesel
                  wrote on last edited by
                  #8

                  If anyone is looking to do this then "yum install qt-creator" worked for me

                  1 Reply Last reply
                  0
                  • E Offline
                    E Offline
                    EverydayDiesel
                    wrote on last edited by
                    #9

                    If anyone is looking to do this then "yum install qt-creator" worked for me

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

                      It's not the same, the -lGL error is about missing the OpenGL development libraries

                      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
                      • SGaistS Offline
                        SGaistS Offline
                        SGaist
                        Lifetime Qt Champion
                        wrote on last edited by
                        #11

                        It's not the same, the -lGL error is about missing the OpenGL development libraries

                        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
                        • P Offline
                          P Offline
                          Pragya
                          wrote on last edited by
                          #12

                          I got the same error in Ubuntu 14.04. I fixed it by installing qtbase5-dev .

                          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