[prev in list] [next in list] [prev in thread] [next in thread] 

List:       pamldap
Subject:    RE: [pamldap] login: load_modules: can not open module /usr/lib/s
From:       "Chapman, Kyle" <Kyle_Chapman () G1 ! com>
Date:       2001-08-09 21:22:02
[Download RAW message or body]

when compiling make sure you pass in the library search path...
solaris uses -R<path1>:<path2>...<pathn>
tru64 uses -rpath <path1>:...:<pathn>
aix uses -L<path> -L<pathn>        also another flag does this, but i dont
use it

that way you dont have to copy around libraries...


-----Original Message-----
From: Jose Alberto Patiño [mailto:jalbertop@aranea.com.mx]
Sent: Thursday, August 09, 2001 1:26 PM
To: 'Jan Z.'; pamldap@padl.com
Subject: RE: [pamldap] login: load_modules: can not open module
/usr/lib/security/pam_ldap.so (RESOLVED 8-))


Thanks Jan. Your comments really help me to resolve this problem. The
problem, obviously was a Unix problem regarding to Unix shared libraries.
 Not a pam_ldap problem).

I did a ldd -v on /usr/lib/security/pam_ldap.so and I saw that the same
files you mentioned in your mail were missing.

So I copied the files mentioned in /usr/lib

        libldap.so.2 =>  (file not found)
	  liblber.so.2 =>  (file not found)

However, I'm concerned with the built process because I have a lot of
ldap.h, and libldap libraries on my system!!! (Besides I have in the same
machine Oracle Internet Directory installed !!)

Well, at least it's working even though I'm not sure if the pam_ldap.so is
using the right versions of libraries.

Jose Alberto Patino
Future LDAP Administrator
jalbertop@aranea.com.mx







-----Mensaje original-----
De: owner-pamldap@PADL.COM [mailto:owner-pamldap@PADL.COM]En nombre de
Jan Z.
Enviado el: Jueves, 09 de Agosto de 2001 02:44
Para: jalbertop@aranea.com.mx; pamldap@padl.com
Asunto: Re: [pamldap] login: load_modules: can not open module
/usr/lib/security/pam_ldap.so


hello José,

>[pamldap] login: load_modules: can not open module
>/usr/lib/security/pam_ldap.so


check the corresponding library with ldd or ldd -v. I had the same problem
and after a while I saw something like this :

 ldd /usr/lib/security/pam_openldap.so
        libldap.so.2 =>  (file not found)

    liblber.so.2 =>  (file not found)





Just try to copy the corresponding libraries in /usr/lib and recompile the
whole thing.

hope this helps



Jan

[Attachment #3 (text/html)]

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN">
<HTML>
<HEAD>
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=ISO-8859-1">
<META NAME="Generator" CONTENT="MS Exchange Server version 5.5.2653.12">
<TITLE>RE: [pamldap] login: load_modules: can not open module \
/usr/lib/security/pam_ldap.so (RESOLVED 8-))</TITLE> </HEAD>
<BODY>

<P><FONT SIZE=2>when compiling make sure you pass in the library search \
path...</FONT> <BR><FONT SIZE=2>solaris uses \
-R&lt;path1&gt;:&lt;path2&gt;...&lt;pathn&gt;</FONT> <BR><FONT SIZE=2>tru64 uses \
-rpath &lt;path1&gt;:...:&lt;pathn&gt;</FONT> <BR><FONT SIZE=2>aix uses \
-L&lt;path&gt; -L&lt;pathn&gt;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; also another \
flag does this, but i dont use it</FONT> </P>

<P><FONT SIZE=2>that way you dont have to copy around libraries...</FONT>
</P>
<BR>

<P><FONT SIZE=2>-----Original Message-----</FONT>
<BR><FONT SIZE=2>From: Jose Alberto Patiño [<A \
HREF="mailto:jalbertop@aranea.com.mx">mailto:jalbertop@aranea.com.mx</A>]</FONT> \
<BR><FONT SIZE=2>Sent: Thursday, August 09, 2001 1:26 PM</FONT> <BR><FONT SIZE=2>To: \
'Jan Z.'; pamldap@padl.com</FONT> <BR><FONT SIZE=2>Subject: RE: [pamldap] login: \
load_modules: can not open module</FONT> <BR><FONT \
SIZE=2>/usr/lib/security/pam_ldap.so (RESOLVED 8-))</FONT> </P>
<BR>

<P><FONT SIZE=2>Thanks Jan. Your comments really help me to resolve this problem. \
The</FONT> <BR><FONT SIZE=2>problem, obviously was a Unix problem regarding to Unix \
shared libraries.</FONT> <BR><FONT SIZE=2>&nbsp;Not a pam_ldap problem).</FONT>
</P>

<P><FONT SIZE=2>I did a ldd -v on /usr/lib/security/pam_ldap.so and I saw that the \
same</FONT> <BR><FONT SIZE=2>files you mentioned in your mail were missing.</FONT>
</P>

<P><FONT SIZE=2>So I copied the files mentioned in /usr/lib</FONT>
</P>

<P><FONT SIZE=2>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; libldap.so.2 =&gt;&nbsp; \
(file not found)</FONT> <BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <FONT \
SIZE=2>&nbsp; liblber.so.2 =&gt;&nbsp; (file not found)</FONT> </P>

<P><FONT SIZE=2>However, I'm concerned with the built process because I have a lot \
of</FONT> <BR><FONT SIZE=2>ldap.h, and libldap libraries on my system!!! (Besides I \
have in the same</FONT> <BR><FONT SIZE=2>machine Oracle Internet Directory installed \
!!)</FONT> </P>

<P><FONT SIZE=2>Well, at least it's working even though I'm not sure if the \
pam_ldap.so is</FONT> <BR><FONT SIZE=2>using the right versions of libraries.</FONT>
</P>

<P><FONT SIZE=2>Jose Alberto Patino</FONT>
<BR><FONT SIZE=2>Future LDAP Administrator</FONT>
<BR><FONT SIZE=2>jalbertop@aranea.com.mx</FONT>
</P>
<BR>
<BR>
<BR>
<BR>
<BR>
<BR>

<P><FONT SIZE=2>-----Mensaje original-----</FONT>
<BR><FONT SIZE=2>De: owner-pamldap@PADL.COM [<A \
HREF="mailto:owner-pamldap@PADL.COM">mailto:owner-pamldap@PADL.COM</A>]En nombre \
de</FONT> <BR><FONT SIZE=2>Jan Z.</FONT>
<BR><FONT SIZE=2>Enviado el: Jueves, 09 de Agosto de 2001 02:44</FONT>
<BR><FONT SIZE=2>Para: jalbertop@aranea.com.mx; pamldap@padl.com</FONT>
<BR><FONT SIZE=2>Asunto: Re: [pamldap] login: load_modules: can not open \
module</FONT> <BR><FONT SIZE=2>/usr/lib/security/pam_ldap.so</FONT>
</P>
<BR>

<P><FONT SIZE=2>hello José,</FONT>
</P>

<P><FONT SIZE=2>&gt;[pamldap] login: load_modules: can not open module</FONT>
<BR><FONT SIZE=2>&gt;/usr/lib/security/pam_ldap.so</FONT>
</P>
<BR>

<P><FONT SIZE=2>check the corresponding library with ldd or ldd -v. I had the same \
problem</FONT> <BR><FONT SIZE=2>and after a while I saw something like this :</FONT>
</P>

<P><FONT SIZE=2>&nbsp;ldd /usr/lib/security/pam_openldap.so</FONT>
<BR><FONT SIZE=2>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; libldap.so.2 =&gt;&nbsp; \
(file not found)</FONT> </P>

<P><FONT SIZE=2>&nbsp;&nbsp;&nbsp; liblber.so.2 =&gt;&nbsp; (file not found)</FONT>
</P>
<BR>
<BR>
<BR>
<BR>

<P><FONT SIZE=2>Just try to copy the corresponding libraries in /usr/lib and \
recompile the</FONT> <BR><FONT SIZE=2>whole thing.</FONT>
</P>

<P><FONT SIZE=2>hope this helps</FONT>
</P>
<BR>
<BR>

<P><FONT SIZE=2>Jan</FONT>
</P>

</BODY>
</HTML>



[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic