LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   Where to get libldap.so ?? (https://www.linuxquestions.org/questions/linux-newbie-8/where-to-get-libldap-so-903087/)

sheelavantar 09-14-2011 09:20 PM

Where to get libldap.so ??
 
I need libldap.so for pam_ldap compilation.

Kindly let me know where can i get this library code, so that i can compile it for my architecture.

Thank you.

John VV 09-14-2011 10:48 PM

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
Code:

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

hans51 09-14-2011 10:53 PM

libldap.so is contained in the package
openldap2-devel
and also in
acroread - Adobe Reader for PDF Files

then after installing any of above,
make sure the path to the .so files is in your
/etc/ld.so.conf

then in bash run
ldconfig

jdkaye 09-14-2011 11:00 PM

Please tell us what distro you're using. On Debian based system your package would be called: libldap2-dev
ciao,
jdk


All times are GMT -5. The time now is 03:48 PM.