title: /sbin/ldconfig: No such file or directory when install paho on mac
body: <p>when I try to install paho step by step referring <a href="https://www.banym.de/mac/build-paho-mqtt-c-library-on-mac-os-x" rel="nofollow">Build Paho MQTT c library on Mac OS X</a>, error message show as following.</p>
  
  <pre><code>Alex:org.eclipse.paho.mqtt.c Alex$ sudo make install
  mkdir -p build/output/samples
  mkdir -p build/output/test
  echo OSTYPE is Darwin
  OSTYPE is Darwin
  install -m 644  build/output/libpaho-mqtt3c.so.1.0 /usr/local/lib
  install -m 644  build/output/libpaho-mqtt3cs.so.1.0 /usr/local/lib
  install -m 644  build/output/libpaho-mqtt3a.so.1.0 /usr/local/lib
  install -m 644  build/output/libpaho-mqtt3as.so.1.0 /usr/local/lib
  install  build/output/MQTTVersion /usr/local/bin
  /sbin/ldconfig /usr/local/lib
  make: /sbin/ldconfig: No such file or directory
  make: *** [install] Error 1
  </code></pre>
  
  <p>Does anyone have any idea about this? Thanks!</p>
  
  <p>[update]</p>
  
  <pre><code>Alex:org.eclipse.paho.mqtt.c Alex$ sudo make install
  mkdir -p build/output/samples
  mkdir -p build/output/test
  echo OSTYPE is Darwin
  OSTYPE is Darwin
  install -m 644  build/output/libpaho-mqtt3c.so.1.0 /usr/local/lib
  install -m 644  build/output/libpaho-mqtt3cs.so.1.0 /usr/local/lib
  install -m 644  build/output/libpaho-mqtt3a.so.1.0 /usr/local/lib
  install -m 644  build/output/libpaho-mqtt3as.so.1.0 /usr/local/lib
  install  build/output/MQTTVersion /usr/local/bin
  # /sbin/ldconfig /usr/local/lib
  ln -s libpaho-mqtt3c.so.1 /usr/local/lib/libpaho-mqtt3c.so
  ln -s libpaho-mqtt3cs.so.1 /usr/local/lib/libpaho-mqtt3cs.so
  ln -s libpaho-mqtt3a.so.1 /usr/local/lib/libpaho-mqtt3a.so
  ln -s libpaho-mqtt3as.so.1 /usr/local/lib/libpaho-mqtt3as.so
  install -m 644 src/MQTTAsync.h /usr/local/include
  install -m 644 src/MQTTClient.h /usr/local/include
  install -m 644 src/MQTTClientPersistence.h /usr/local/include
  </code></pre>
  
  <p>Does it mean that installation is finish?</p>