Uploaded image for project: 'Qt'
  1. Qt
  2. QTBUG-74844

[FreeBSD] QDnsLookup fails with error "Resolver functions not found"

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • P3: Somewhat important
    • 5.12
    • 5.12.1
    • Network: DNS
    • None
    • FreeBSD, Qt installed with "pkg".
    • Other
    • 8eeb5150ed99914e252a84f1637f179e3de04659

    Description

      Greetings,

       

      The problem is exactly as explained in the summary, I also created a simple program to reproduce it: https://github.com/davidebeatrici/qdnslookup_test

       

      According to FreeBSD's manual page, the required functions are in libc: https://www.freebsd.org/cgi/man.cgi?query=res_query&sektion=3&apropos=0&manpath=freebsd

       

      However, Qt only tries to load the symbols from LIBRESOLV_SO (if defined) and resolv:

      https://code.qt.io/cgit/qt/qtbase.git/tree/src/network/kernel/qdnslookup_unix.cpp#n90

       

      Best regards,

      Davide

      Attachments

        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

        Activity

          People

            davidebeatrici davidebeatrici
            davidebeatrici davidebeatrici
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes