Hello everyone,
I’m working on a build system which encompasses dependencies
on OpenLDAP. I’ve done a general of the web with Google, searched the
OpenLDAP FAQ, and searched the OpenLDAP mailing lists for how one can determine
the version of OpenLDAP software.
I understand that there are different version numbers for
APIs, software releases, and libraries.
However, I’m confused as to how to programmatically
determine the version of installed binaries and libraries and then reconcile
them with
Perhaps this speaks to a lack of experience with the innards
of OpenLDAP or some of the build tools, so I am asking here for some insight.
All of my examples are on Novell SuSE Linux 9.2, on ia64
architecture, with a build of OpenLDAP 2.3.36. My goal would be to validate
that OpenLDAP version 2.3.36 tools and libraries are installed.
If one tries to deduce the version of a library you would
see this:
If one tries parse the output of bin/ldapsearch –V or
libexec/slapd –V, you can see 2.0.36 – but the output seems to go
to the console. I can’t do something like:
Aha! I think I found one method: includes/ldap_features.h reveals:
Is this the only way?
Thanks for any insight anyone can offer.
…………………………
Mark
Lavi
Web
Producer
SGI
mlavi@sgi.com
tel:
650.933.7707
sgi.com