Xymon Mailing List Archive search

build server on Solaris 11 (SPARC) with LDAP support?

2 messages in this thread

list Richard L. Hamilton · Wed, 24 Feb 2016 00:08:27 -0500 ·
I've never gotten this to work, either using the LDAP libs and include files that come with the system, or those from openCSW.  Has anyone ever done this successfully, and if so, how?
list John Thurston · Wed, 24 Feb 2016 08:19:26 -0900 ·
quoted from Richard L. Hamilton
On 2/23/2016 8:08 PM, Richard L. Hamilton wrote:
I've never gotten this to work, either using the LDAP libs and include files that come with the system, or those from openCSW.  Has anyone ever done this successfully, and if so, how?
My notes on the subject are specific to Solaris 10, but they may be of 
use to you.

 From OpenCSW, I install
nano gmake fping gcc4core pcre libpcre_dev rrdtool librrd4 rrdtool_dev openldap_dev openssl_utils libssl_dev libwrap_dev openldap_client openssl apache2 CSWap2worker
I set my path to
/opt/csw/bin:/opt/csw/sbin:/usr/sbin:/usr/bin:/usr/sfw/bin:/usr/ccs/bin
Using gmake, I end up with a Makefile containing the following stanza:
# OpenLDAP settings
LDAPFLAGS = -DHAVE_LDAP
LDAPINCDIR = -I/opt/csw/include
LDAPLIBS = -L/opt/csw/lib -lldap -llber
RPATHVAL += /opt/csw/lib
DOLDAP = yes
I made those notes a couple of years ago. As I recall, the secret sauce 
was the openldap_dev package.

-- 
    Do things because you should, not just because you can.

John Thurston    XXX-XXX-XXXX
user-ce4d79d99bab@xymon.invalid
Enterprise Technology Services
Department of Administration
State of Alaska