Hi,
I used the following commands to install protobuf on my MacBook Pro of Mac OS X, Sierra
$ ./configure
$ make
$ make check
$ sudo make install
$ sudo ldconfig
the first 4 commands were successful, but the last command got error message:
sudo: ldconfig: command not found
Thanks
David
"sudo ldconfig" is used on Linux to update shared library cache so the newly installed protobuf library can be correctly found. Mac OS X doesn't seem to have this shared library cache problem and you can safely ignore it (protobuf is ready to use after "sudo make install").
@tianqig On Macos, try this instead of sudo ldconfig :
$ sudo update_dyld_shared_cache
Most helpful comment
"sudo ldconfig" is used on Linux to update shared library cache so the newly installed protobuf library can be correctly found. Mac OS X doesn't seem to have this shared library cache problem and you can safely ignore it (protobuf is ready to use after "sudo make install").