I found that I had a nss_ldap package installed from something I was trying to do earlier. I uninstalled it, reinstalled the openldap client, and then rebuilt the php package, and php ldap support started working.
I guess there was a conflict between the two packages? I'm just excited that I got it working. Now I am able to password protect my php pages with MVS ldap server authentication, which is tied to RACF. Pretty Cool! Thanks for you help, Russell Jones ANPAC -----Original Message----- From: Linux on 390 Port [mailto:[EMAIL PROTECTED] On Behalf Of Mark Post Sent: Friday, October 24, 2008 5:13 PM To: LINUX-390@VM.MARIST.EDU Subject: Re: Add LDAP support to PHP >>> On 10/13/2008 at 4:30 PM, in message <[EMAIL PROTECTED]> , "Jones, Russell" <[EMAIL PROTECTED]> wrote: > I am back to getting this error at apache startup: > > PHP Warning: Unknown(): Unable to load dynamic library > '/usr/lib/php/extensions/php_ldap.so' - > /usr/lib/php/extensions/php_ldap.so: cannot open shared object file: No > such file or directory in Unknown on line 0 > > The php build does not seem to be creating the php_ldap.so module. I am > not sure where to get it or how to create it. > > I am using the "--with-ldap=shared,/usr" parameter on the > php_configure(). This is happening because you had a problem when you installed the openldap-client package, and then removed it. You can't build LPAP support into PHP unless you have the openldap-client package installed first. If you really, really want to do this, you'll need to work on figuring out what is going wrong with openlpap-client installed so it can be fixed. Mark Post ---------------------------------------------------------------------- For LINUX-390 subscribe / signoff / archive access instructions, send email to [EMAIL PROTECTED] with the message: INFO LINUX-390 or visit http://www.marist.edu/htbin/wlvindex?LINUX-390 ---------------------------------------------------------------------- For LINUX-390 subscribe / signoff / archive access instructions, send email to [EMAIL PROTECTED] with the message: INFO LINUX-390 or visit http://www.marist.edu/htbin/wlvindex?LINUX-390