title: dyld: lazy symbol binding failed: Symbol not found: _clock_gettime - in mongodb laravel
body: <p>I am using Laravel 5.4 version to implement mongodb CRUD operation using <a href="https://github.com/jenssegers/laravel-mongodb" rel="noreferrer">link</a>. I am using Mac OS El Captain 10.11. I have installed mongodb.so extension with php version 7.1.16</p>
  
  <p>While i am trying getting eloquent connection it throws me <strong>ERR_EMPTY_RESPONSE</strong></p>
  
  <p>I have digg in details an found following error log in Apache during restart the MAMP server</p>
  
  <pre><code> Mon Aug 28 10:22:14 2017] [notice] Graceful restart requested, doing restart
  [Mon Aug 28 10:22:15 2017] [notice] Digest: generating secret for digest authentication ...
  [Mon Aug 28 10:22:15 2017] [notice] Digest: done
  [Mon Aug 28 10:22:15 2017] [notice] Apache/2.2.31 (Unix) mod_wsgi/3.5 
   Python/2.7.13 PHP/7.1.1 mod_ssl/2.2.31 OpenSSL/1.0.2j DAV/2 
  mod_fastcgi/2.4.6 mod_perl/2.0.9 Perl/v5.24.0 configured -- resuming normal operations
  [Mon Aug 28 10:22:15 2017] [notice] FastCGI: process manager initialized (pid 4233)
  dyld: lazy symbol binding failed: Symbol not found: _clock_gettime
  Referenced from: 
  /Applications/MAMP/bin/php/php7.1.1/lib/php/extensions/no-debug-non-zts-20160303/mongodb.so
  Expected in: /usr/lib/libSystem.B.dylib
  
  dyld: Symbol not found: _clock_gettime
  Referenced from: 
  /Applications/MAMP/bin/php/php7.1.1/lib/php/extensions/no-debug-non-zts-20160303/mongodb.so
  Expected in: /usr/lib/libSystem.B.dylib
  
  dyld: lazy symbol binding failed: Symbol not found: _clock_gettime
  Referenced from: 
   /Applications/MAMP/bin/php/php7.1.1/lib/php/extensions/no-debug-non-zts-20160303/mongodb.so
   Expected in: /usr/lib/libSystem.B.dylib
  
  dyld: Symbol not found: _clock_gettime
  Referenced from: 
  /Applications/MAMP/bin/php/php7.1.1/lib/php/extensions/no-debug-non-zts-20160303/mongodb.so
   Expected in: /usr/lib/libSystem.B.dylib
  </code></pre>
  
  <p>This screenshot shows the details of mongodb extension
  <a href="https://i.stack.imgur.com/VksIl.png" rel="noreferrer"><img src="https://i.stack.imgur.com/VksIl.png" alt="enter image description here"></a>
  I have searched online for error <code>dyld: lazy symbol binding failed: Symbol not found: _clock_gettime</code> and found this <a href="https://stackoverflow.com/a/39674711/1578380">answer</a>. I have applied all steps which i mentioned, but unable to fix the issue.</p>
  
  <p>Please someone help me to get rid of this.</p>