[hobbit] Hobbit on Solaris Working
James Wade
jkwade at futurefrontiers.com
Fri Nov 3 16:10:11 CET 2006
Henrik,
I used the -R option in the Makefile to get it working:
RRDLIBS = -L/usr/local/rrdtool-1.0.49/lib -R/usr/local/rrdtool-1.0.49/lib
-lrrd -L/usr/local/lib -R/usr/local/lib -lpng
PCRELIBS = -L/usr/local/lib -R/usr/local/lib -lpcre
SSLLIBS = -L/usr/local/ssl/lib -R/usr/local/ssl/lib -lssl -lcrypto
I also had problems compling LDAP. For that I removed all the
entries in the build/ldap.sh file that tried to source where the
ldap libraries were and I implicitly put it in:
echo "Checking for LDAP ..."
LDAPLIB="/usr/local/lib"
LDAPINC="/usr/local/include"
#
if test -f $LDAPLIB/liblber.a
then
LDAPLBER=-llber
fi
if test -f $LDAPLIB/liblber.so
then
LDAPLBER=-llber
fi
Even if I used the --ldapinclude DIRECTORY or
the --ldaplib DIRECTORY when running configure.server
LDAP would still not compile correctly until I just
did the fix action above.
The problem was that it was sourcing the Solaris 9 ldap
version in /usr/lib, /usr/include until I hard coded
it. The Solaris 9 version doesn't have some of the headers
in ldap.h that test-ldap.c needs; you have to either load
the solaris freeware version of openldap or compile it
and install it in /usr/local, then change the ldap.sh file
as above.
Thanks...James
-----Original Message-----
From: Henrik Stoerner [mailto:henrik at hswn.dk]
Sent: Friday, November 03, 2006 12:57 AM
To: hobbit at hswn.dk
Subject: Re: [hobbit] Hobbit on Solaris Working
On Thu, Nov 02, 2006 at 03:04:06PM -0800, Great Dilla wrote:
> if you want to skip adding things to library/linker variables like
> LD_LIBRARY_PATH, you might want to run crle ( crle -u -v -i
> /usr/local/lib:LIBRARY_DIR:LIBRARY_DIR ).. -v turns on verbose so you
> know what is happening.
Thanks, I've added this to the "Hobbit Tips" doc.
Regards,
Henrik
To unsubscribe from the hobbit list, send an e-mail to
hobbit-unsubscribe at hswn.dk
More information about the Xymon
mailing list