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

Driver fails to build with libmongoc's bundled zlib

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Critical - P2
    • Resolution: Fixed
    • Affects Version/s: 1.4.0-beta1
    • Fix Version/s: 1.4.0-RC1, 1.4.0
    • Component/s: None
    • Labels:
      None

      Description

      The driver currently fails to compile if configure attempts to use libmongoc's bundled version of zlib, since the src/libmongoc/src/zlib-1.2.11/ directory is not added as an include path. Even if the the build were to complete (e.g. it finds zlib.h in some common path) an undefined symbol error would likely result since the driver is neither linked to zlib nor do we compile the bundled version's sources.

      This was noticed while compiling the driver with Alpine Linux for PHPC-888.

        Attachments

          Issue Links

            Activity

              People

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

                Dates

                Created:
                Updated:
                Resolved: