Uploaded image for project: 'PHP Driver: Extension'
  1. PHP Driver: Extension
  2. PHPC-2152

CheckResolv.m4 fails to link libresolv when detecting res_nsearch

    • Type: Icon: Bug Bug
    • Resolution: Fixed
    • Priority: Icon: Critical - P2 Critical - P2
    • 1.14.2
    • Affects Version/s: 1.9.0
    • Component/s: 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:
            jmikola@mongodb.com Jeremy Mikola
            Reporter:
            jmikola@mongodb.com Jeremy Mikola
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: