So the OpenLDAP one looks better. In fact it seems like PHP doesn't even support the Solaris version (PHP and Solaris don't always work well together as it is...).

Unfortunately PHP's configure script isn't terribly flexible when it comes to stuff like this. The way forward I'm looking at is to put all the OpenLDAP files into one central location, with a /lib for libraries and /include for headers. You could compile OpenLDAP yourself, or create a temporary directory with symlinks to the appropriate locations

I built BerkeleyDB.5.0 without hitch, and now it's in /usr/local/BerkeleyDB.5.0

Now, trying to build OpenLDAP (again, I tried doing this weeks ago but now I'm determined to get this going), I'm running into a problem (which is probably outside of the scope of this forum) but I can't compile it.

Ok, after compiling an older version of Berkeley DB (4.6.21), openldap compiled fine, and now PHP compiles with LDAP!

Now it's off to configuring that mess... But hey requinix, I want to thank you for slowing me down in order to take the time to figure it out... Panic and rushing is the worst thing for a programmer, and you just have to slow down and work methodically.

Plus hey, I'm new to the forum so I look forward to helping other people out.

The error basically means that you're linking against two different libraries for the same purpose. When building, it should be trying to link with either OpenLDAP's liblber.so or your existing liblber-2.4.so - not both. Since -llber will be the former, and the one you want, you need to deal with whatever is adding the -llber-2.4. Uninstalling whatever provided /usr/lib/amd64/liblber-2.4.so may take care of it.

You might have the same problem with -lldap and -lldap_r-2.4 - I'm not sure what the libldap_r one is but a quick search suggests there will be conflicts with libldap.

Who is online

Users browsing this forum: No registered users and 1 guest

You cannot post new topics in this forumYou cannot reply to topics in this forumYou cannot edit your posts in this forumYou cannot delete your posts in this forumYou cannot post attachments in this forum