CheckResolv.m4 fails to link libresolv when detecting res_nsearch

XMLWordPrintableJSON

    • Type: Bug
    • Resolution: Fixed
    • Priority: Critical - P2
    • 1.14.2
    • Affects Version/s: 1.9.0
    • Component/s: None
    • None
    • None
    • None
    • None
    • None
    • None
    • None
    • None

      Some users have reported the following error when building and loading the extension on Ubuntu 22.04:

      <process>: symbol lookup error: /usr/lib/php/20210902/mongodb.so: undefined symbol: ns_initparse
      

      I expect this may be caused by CheckResolv.m4 failing to detect that -lresolv is necessary on that platform.

              Assignee:
              Jeremy Mikola
              Reporter:
              Jeremy Mikola
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Created:
                Updated:
                Resolved: