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

Driver fails to build with libmongoc's bundled zlib

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

      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.

            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: