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

Undefined _clock_gettime symbol on MacOS Sierra

    • Type: Icon: Bug Bug
    • Resolution: Done
    • Priority: Icon: Major - P3 Major - P3
    • None
    • Affects Version/s: 1.1.9, 1.2.0-alpha3
    • Component/s: None
    • Labels:
      None
    • Environment:
      Mac OS Sierra
      PHP 7.0.12

      Since an upgrade from sierra the mongo extension throws an error:

      dyld: lazy symbol binding failed: Symbol not found: _clock_gettime
      Referenced from: /usr/local/opt/php70-mongodb/mongodb.so
      Expected in: /usr/lib/libSystem.B.dylib

      dyld: Symbol not found: _clock_gettime
      Referenced from: /usr/local/opt/php70-mongodb/mongodb.so
      Expected in: /usr/lib/libSystem.B.dylib

      It seems this is related to an update of xcode as some other software seem to have this error too like ffmpeg.

      Related bug report on homebrew is here:
      https://github.com/Homebrew/homebrew-php/issues/3737

            Assignee:
            jmikola@mongodb.com Jeremy Mikola
            Reporter:
            cdekok Chris de Kok
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: