[hobbit] hobbit and ssl compilation problem

Kenji Lefevre support at ihp.jussieu.fr
Mon Oct 27 13:16:25 CET 2008


	Hi,

I tried to install hobbit server on a centos5.1
host.  I installed
gcc gcc-c++ pcre-devel libpng-devel openssl-devel
openldap-devel rrdtool-devel
and asked for ssl check when running hobbit's configure.

This produced the following line in Makefile
	# OpenSSL settings
	SSLFLAGS = -DBBGEN_SSL
	SSLINCDIR = -I/usr/include
	SSLLIBS = -L/usr/lib -lssl -lcrypto
	RPATHVAL += /usr/lib

but after the make, make install process
the following command
	# su - hobbit
	# ./server/bin/bbtest-net --version
	bbtest-net version 4.2.0
show ssl support is not provided by hobbit.

Even when i put
	SSLINCDIR = -I/usr/include/openssl
in the Makefile
hobbit still not support ssl.

Sorry to bother you, but can someone tell me what are the correct values
in Makefile to make ssl support available knowing the following :

	# rpm -ql openssl-0.9.8b-10.el5
	/etc/pki/CA
	/etc/pki/CA/private
	/etc/pki/tls
	/etc/pki/tls/cert.pem
	/etc/pki/tls/certs
	/etc/pki/tls/certs/Makefile
	/etc/pki/tls/certs/ca-bundle.crt
	/etc/pki/tls/certs/make-dummy-cert
	/etc/pki/tls/misc
	/etc/pki/tls/misc/CA
	/etc/pki/tls/misc/c_hash
	/etc/pki/tls/misc/c_info
	/etc/pki/tls/misc/c_issuer
	/etc/pki/tls/misc/c_name
	/etc/pki/tls/openssl.cnf
	/etc/pki/tls/private
	/lib/libcrypto.so.0.9.8b
	/lib/libcrypto.so.6
	/lib/libssl.so.0.9.8b
	/lib/libssl.so.6
	/usr/bin/openssl
	/usr/lib/openssl
	/usr/lib/openssl/engines
	/usr/lib/openssl/engines/lib4758cca.so
	/usr/lib/openssl/engines/libaep.so
	/usr/lib/openssl/engines/libatalla.so
	/usr/lib/openssl/engines/libchil.so
	/usr/lib/openssl/engines/libcswift.so
	/usr/lib/openssl/engines/libgmp.so
	/usr/lib/openssl/engines/libnuron.so
	/usr/lib/openssl/engines/libsureware.so
	/usr/lib/openssl/engines/libubsec.so

and

	# rpm -ql openssl-devel-0.9.8b-10.el5 | grep -v /usr/share/man/
	/usr/include/openssl
	/usr/include/openssl/aes.h
	/usr/include/openssl/asn1.h
	/usr/include/openssl/asn1_mac.h
	/usr/include/openssl/asn1t.h
	/usr/include/openssl/bio.h
	/usr/include/openssl/blowfish.h
	/usr/include/openssl/bn.h
	/usr/include/openssl/buffer.h
	/usr/include/openssl/cast.h
	/usr/include/openssl/comp.h
	/usr/include/openssl/conf.h
	/usr/include/openssl/conf_api.h
	/usr/include/openssl/crypto.h
	/usr/include/openssl/des.h
	/usr/include/openssl/des_old.h
	/usr/include/openssl/dh.h
	/usr/include/openssl/dsa.h
	/usr/include/openssl/dso.h
	/usr/include/openssl/dtls1.h
	/usr/include/openssl/e_os2.h
	/usr/include/openssl/ebcdic.h
	/usr/include/openssl/engine.h
	/usr/include/openssl/err.h
	/usr/include/openssl/evp.h
	/usr/include/openssl/hmac.h
	/usr/include/openssl/krb5_asn.h
	/usr/include/openssl/kssl.h
	/usr/include/openssl/lhash.h
	/usr/include/openssl/md2.h
	/usr/include/openssl/md4.h
	/usr/include/openssl/md5.h
	/usr/include/openssl/obj_mac.h
	/usr/include/openssl/objects.h
	/usr/include/openssl/ocsp.h
	/usr/include/openssl/opensslconf-i386.h
	/usr/include/openssl/opensslconf.h
	/usr/include/openssl/opensslv.h
	/usr/include/openssl/ossl_typ.h
	/usr/include/openssl/pem.h
	/usr/include/openssl/pem2.h
	/usr/include/openssl/pkcs12.h
	/usr/include/openssl/pkcs7.h
	/usr/include/openssl/pq_compat.h
	/usr/include/openssl/pqueue.h
	/usr/include/openssl/rand.h
	/usr/include/openssl/rc2.h
	/usr/include/openssl/rc4.h
	/usr/include/openssl/ripemd.h
	/usr/include/openssl/rsa.h
	/usr/include/openssl/safestack.h
	/usr/include/openssl/sha.h
	/usr/include/openssl/ssl.h
	/usr/include/openssl/ssl2.h
	/usr/include/openssl/ssl23.h
	/usr/include/openssl/ssl3.h
	/usr/include/openssl/stack.h
	/usr/include/openssl/store.h
	/usr/include/openssl/symhacks.h
	/usr/include/openssl/tls1.h
	/usr/include/openssl/tmdiff.h
	/usr/include/openssl/txt_db.h
	/usr/include/openssl/ui.h
	/usr/include/openssl/ui_compat.h
	/usr/include/openssl/x509.h
	/usr/include/openssl/x509_vfy.h
	/usr/include/openssl/x509v3.h
	/usr/lib/libcrypto.a
	/usr/lib/libcrypto.so
	/usr/lib/libssl.a
	/usr/lib/libssl.so
	/usr/lib/pkgconfig/libcrypto.pc
	/usr/lib/pkgconfig/libssl.pc
	/usr/lib/pkgconfig/openssl.pc

Thanks for your help !

	Kenji



More information about the Xymon mailing list