you normally first check your package manager
But i see you are on ms windows ( icon under your name)
and there is NO linux package manager for a windows OS , unless you count mingw or cygwin ( look on the install gui ) .
for example on RHEL you would run
yum provides */libldap.so
and on a red hat system that would tell you what provides that "dynamically linked library " ( shared object)
every major system is different