Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. QtWebEngine
  4. Linking issue with simplebrowser, Qt5Positioning and math functions __atan2_finite __acos_finite

Linking issue with simplebrowser, Qt5Positioning and math functions __atan2_finite __acos_finite

Scheduled Pinned Locked Moved Unsolved QtWebEngine
4 Posts 4 Posters 514 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
    JasoNY
    wrote on last edited by
    #1

    Re: [Linking issue with WebEngine](Qt5Positioning and math functions __atan2_finite __acos_finite)

    ubuntu20.04+Qt5.15.2
    when i complie the example project simplebrowser, it show some error:
    ld.lld: error: /opt/Qt/5.15.1/gcc_64/lib/libQt5Positioning.so: undefined reference to __atan2_finite
    ld.lld: error: /opt/Qt/5.15.1/gcc_64/lib/libQt5Positioning.so: undefined reference to __acos_finite
    collect2: error: ld returned 1 exit status

    how can i do??

    jsulmJ JonBJ H 3 Replies Last reply
    0
    • J JasoNY

      Re: [Linking issue with WebEngine](Qt5Positioning and math functions __atan2_finite __acos_finite)

      ubuntu20.04+Qt5.15.2
      when i complie the example project simplebrowser, it show some error:
      ld.lld: error: /opt/Qt/5.15.1/gcc_64/lib/libQt5Positioning.so: undefined reference to __atan2_finite
      ld.lld: error: /opt/Qt/5.15.1/gcc_64/lib/libQt5Positioning.so: undefined reference to __acos_finite
      collect2: error: ld returned 1 exit status

      how can i do??

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

      @JasoNY Is libm library installed?

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

      1 Reply Last reply
      0
      • J JasoNY

        Re: [Linking issue with WebEngine](Qt5Positioning and math functions __atan2_finite __acos_finite)

        ubuntu20.04+Qt5.15.2
        when i complie the example project simplebrowser, it show some error:
        ld.lld: error: /opt/Qt/5.15.1/gcc_64/lib/libQt5Positioning.so: undefined reference to __atan2_finite
        ld.lld: error: /opt/Qt/5.15.1/gcc_64/lib/libQt5Positioning.so: undefined reference to __acos_finite
        collect2: error: ld returned 1 exit status

        how can i do??

        JonBJ Offline
        JonBJ Offline
        JonB
        wrote on last edited by
        #3

        @JasoNY
        If you Google for e.g. __atan2_finite you will find several posts describing this problem with Ubuntu + Qt Positioning. There is also a post in this forum from March 2023, https://forum.qt.io/topic/143529/linking-issue-with-webengine-qt5positioning-and-math-functions-__atan2_finite-__acos_finite, which seems to be unanswered.

        Don't know whether anything in https://github.com/isl-org/Open3D/issues/1909 helps? Or https://www.mail-archive.com/debian-glibc@lists.debian.org/msg59266.html? Might be an issue on glibc version or possibly compile flags?

        1 Reply Last reply
        0
        • J JasoNY

          Re: [Linking issue with WebEngine](Qt5Positioning and math functions __atan2_finite __acos_finite)

          ubuntu20.04+Qt5.15.2
          when i complie the example project simplebrowser, it show some error:
          ld.lld: error: /opt/Qt/5.15.1/gcc_64/lib/libQt5Positioning.so: undefined reference to __atan2_finite
          ld.lld: error: /opt/Qt/5.15.1/gcc_64/lib/libQt5Positioning.so: undefined reference to __acos_finite
          collect2: error: ld returned 1 exit status

          how can i do??

          H Offline
          H Offline
          Haibara
          wrote on last edited by
          #4

          @JasoNY I am facing the same problem, have you resolved it?

          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