Nagios Plugin - compliation error

Andy Shellam andy.shellam-lists at mailnetwork.co.uk
Sat Mar 10 18:42:50 CET 2007


That looks like a lot of missing references to SSL functions.
Check your OpenSSL installation.

Andy.

Nilesh Shastrakar wrote:
> Dear All,
>  
> I have Installed sucessfully Nagios 2.8 and now I am trying to install 
> Nagios-plugins-1.4.6
> but when I call MAKE command I get below error,
> could any one please help how to solve the problem
> before installing I have checked the required softwares and install them
> like gd-devel, libpng-devel, libjpeg-devel
>  
> OS : Centos4.4
> MySQL :
>  
> MySQL-client-5.0.22-0
> MySQL-shared-5.0.22-0
> MySQL-devel-5.0.22-0
> MySQL-bench-5.0.22-0
> MySQL-server-5.0.22-0
> MySQL-shared-compat-4.1.10-0
>  
>  
>  
>  
>  
> make  all-recursive
> make[1]: Entering directory `/root/nagiosinstall/nagios-plugins-1.4.6'
> Making all in gl
> make[2]: Entering directory `/root/nagiosinstall/nagios-plugins-1.4.6/gl'
> make  all-am
> make[3]: Entering directory `/root/nagiosinstall/nagios-plugins-1.4.6/gl'
> make[3]: Nothing to be done for `all-am'.
> make[3]: Leaving directory `/root/nagiosinstall/nagios-plugins-1.4.6/gl'
> make[2]: Leaving directory `/root/nagiosinstall/nagios-plugins-1.4.6/gl'
> Making all in lib
> make[2]: Entering directory `/root/nagiosinstall/nagios-plugins-1.4.6/lib'
> Making all in tests
> make[3]: Entering directory 
> `/root/nagiosinstall/nagios-plugins-1.4.6/lib/tests'
> make[3]: Nothing to be done for `all'.
> make[3]: Leaving directory 
> `/root/nagiosinstall/nagios-plugins-1.4.6/lib/tests'
> make[3]: Entering directory `/root/nagiosinstall/nagios-plugins-1.4.6/lib'
> make[3]: Nothing to be done for `all-am'.
> make[3]: Leaving directory `/root/nagiosinstall/nagios-plugins-1.4.6/lib'
> make[2]: Leaving directory `/root/nagiosinstall/nagios-plugins-1.4.6/lib'
> Making all in plugins
> make[2]: Entering directory 
> `/root/nagiosinstall/nagios-plugins-1.4.6/plugins'
> /bin/sh ../libtool --tag=CC --mode=link gcc  -g -O2  -L. -o 
> check_mysql  check_mysql-check_mysql.o netutils.o utils.o 
> ../lib/libnagiosplug.a ../gl/libgnu.a  -lnsl -lresolv -L/usr/lib/mysql 
> -lmysqlclient -lz -lcrypt -lnsl -lm -lc -lnss_files -lnss_dns -lresolv 
> -lc -lnss_files -lnss_dns -lresolv
> gcc -g -O2 -o check_mysql check_mysql-check_mysql.o netutils.o 
> utils.o  -L/root/nagiosinstall/nagios-plugins-1.4.6/plugins 
> ../lib/libnagiosplug.a ../gl/libgnu.a -L/usr/lib/mysql 
> /usr/lib/mysql/libmysqlclient.a -L/usr/local/lib -lpthread -lz -lcrypt 
> -lnsl -lm -lc -lnss_files -lnss_dns -lresolv
> /usr/lib/mysql/libmysqlclient.a(ssl.o)(.gnu.linkonce.d.__vt_Q25yaSSL7Message+0x8): 
> undefined reference to `__pure_virtual'
> /usr/lib/mysql/libmysqlclient.a(ssl.o)(.gnu.linkonce.d.__vt_Q25yaSSL7Message+0xc): 
> undefined reference to `__pure_virtual'
> /usr/lib/mysql/libmysqlclient.a(ssl.o)(.gnu.linkonce.d.__vt_Q25yaSSL7Message+0x10): 
> undefined reference to `__pure_virtual'
> /usr/lib/mysql/libmysqlclient.a(ssl.o)(.gnu.linkonce.d.__vt_Q25yaSSL7Message+0x14): 
> undefined reference to `__pure_virtual'
> /usr/lib/mysql/libmysqlclient.a(ssl.o)(.gnu.linkonce.d.__vt_Q25yaSSL7Message+0x18): 
> undefined reference to `__pure_virtual'
> /usr/lib/mysql/libmysqlclient.a(cert_wrapper.o)(.text+0x77): In 
> function `yaSSL::x509::~x509(void)':
> : undefined reference to `__builtin_delete'
> /usr/lib/mysql/libmysqlclient.a(cert_wrapper.o)(.text+0x30f): In 
> function `yaSSL::CertManager::~CertManager(void)':
> : undefined reference to `__builtin_delete'
> /usr/lib/mysql/libmysqlclient.a(template_instnt.o)(..gnu.linkonce.t._._Q25mySTLt4list1ZPQ25yaSSL11SSL_SESSION+0x41): 
> In function `mySTL::list<yaSSL::SSL_SESSION *>::~list(void)':
> : undefined reference to `__builtin_delete'
> /usr/lib/mysql/libmysqlclient.a(template_instnt.o)(..gnu.linkonce.t._._Q25mySTLt4list1ZPQ25yaSSL12input_buffer+0x41): 
> In function `mySTL::list<yaSSL::input_buffer *>::~list(void)':
> : undefined reference to `__builtin_delete': undefined reference to 
> `__builtin_delete'
> /usr/lib/mysql/libmysqlclient.a(template_instnt.o)(..gnu.linkonce.t._._Q25mySTLt4list1ZPUc+0x41): 
> more undefined references to `__builtin_delete' follow
> /usr/lib/mysql/libmysqlclient.a(template_instnt.o)(.gnu.linkonce.d.__vt_Q25yaSSL13HandShakeBase+0x8): 
> undefined reference to `__pure_virtual'
> /usr/lib/mysql/libmysqlclient.a(template_instnt.o)(.gnu.linkonce.d.__vt_Q25yaSSL13HandShakeBase+0xc): 
> undefined reference to `__pure_virtual'
> /usr/lib/mysql/libmysqlclient.a(template_instnt.o)(.gnu.linkonce.d.__vt_Q25yaSSL13HandShakeBase+0x10): 
> undefined reference to `__pure_virtual'
> /usr/lib/mysql/libmysqlclient.a(template_instnt.o)(.gnu.linkonce.d.__vt_Q25yaSSL13HandShakeBase+0x14): 
> undefined reference to `__pure_virtual'
> /usr/lib/mysql/libmysqlclient.a(yassl_imp.o)(.text+0x2a62): In 
> function `yaSSL::ServerDHParams::~ServerDHParams(void)':
> : undefined reference to `__builtin_delete'
> /usr/lib/mysql/libmysqlclient.a(yassl_imp.o)(.text+0x4b3b): In 
> function `yaSSL::Connection::~Connection(void)':
> : undefined reference to `__builtin_delete'
> /usr/lib/mysql/libmysqlclient.a(yassl_int.o)(.text+0x32cd): In 
> function `yaSSL::SSL_SESSION::~SSL_SESSION(void)':
> : undefined reference to `__builtin_delete'
> /usr/lib/mysql/libmysqlclient.a(yassl_int.o)(.text+0x348b): In 
> function `yaSSL::Sessions::~Sessions(void)':
> : undefined reference to `__builtin_delete'
> /usr/lib/mysql/libmysqlclient.a(yassl_int.o)(.text+0x37db): In 
> function `yaSSL::SSL_CTX::~SSL_CTX(void)':
> : undefined reference to `__builtin_delete'
> /usr/lib/mysql/libmysqlclient.a(yassl_int.o)(.text+0x3c60): more 
> undefined references to `__builtin_delete' follow
> /usr/lib/mysql/libmysqlclient.a(libtaocrypt_la-asn.o)(.gnu.linkonce.d.__vt_Q28TaoCrypt4HASH+0xc): 
> undefined reference to `__pure_virtual'
> /usr/lib/mysql/libmysqlclient.a(libtaocrypt_la-asn.o)(.gnu.linkonce.d.__vt_Q28TaoCrypt4HASH+0x10): 
> undefined reference to `__pure_virtual'
> /usr/lib/mysql/libmysqlclient.a(libtaocrypt_la-asn.o)(.gnu.linkonce.d.__vt_Q28TaoCrypt4HASH+0x14): 
> undefined reference to `__pure_virtual'
> /usr/lib/mysql/libmysqlclient.a(libtaocrypt_la-asn.o)(.gnu.linkonce.d.__vt_Q28TaoCrypt4HASH+0x18): 
> undefined reference to `__pure_virtual'
> /usr/lib/mysql/libmysqlclient.a(libtaocrypt_la-asn.o)(.gnu.linkonce.d.__vt_Q28TaoCrypt4HASH+0x1c): 
> undefined reference to `__pure_virtual'
> /usr/lib/mysql/libmysqlclient.a(libtaocrypt_la-asn.o)(.gnu.linkonce.d.__vt_Q28TaoCrypt11BER_Decoder+0xc): 
> more undefined references to `__pure_virtual' follow
> /usr/lib/mysql/libmysqlclient.a(libtaocrypt_la-asn.o)(.gnu.linkonce.t._._Q28TaoCrypt13DSA_PublicKey+0xa7): 
> In function `TaoCrypt::DSA_PublicKey::~DSA_PublicKey(void)':
> : undefined reference to `__builtin_delete'
> /usr/lib/mysql/libmysqlclient.a(libtaocrypt_la-random.o)(.text+0x166): 
> In function `TaoCrypt::OS_Seed::~OS_Seed(void)':
> : undefined reference to `__builtin_delete'
> /usr/lib/mysql/libmysqlclient.a(libtaocrypt_la-hash..o)(.gnu.linkonce.d.__vt_Q28TaoCrypt17HASHwithTransform+0x14): 
> undefined reference to `__pure_virtual'
> /usr/lib/mysql/libmysqlclient.a(libtaocrypt_la-hash.o)(.gnu.linkonce.d.__vt_Q28TaoCrypt17HASHwithTransform+0x18): 
> undefined reference to `__pure_virtual'
> /usr/lib/mysql/libmysqlclient.a(libtaocrypt_la-hash.o)(.gnu.linkonce.d.__vt_Q28TaoCrypt17HASHwithTransform+0x1c): 
> undefined reference to `__pure_virtual'
> /usr/lib/mysql/libmysqlclient.a(libtaocrypt_la-hash.o)(.gnu.linkonce.d.__vt_Q28TaoCrypt17HASHwithTransform+0x20): 
> undefined reference to `__pure_virtual'
> /usr/lib/mysql/libmysqlclient.a(libtaocrypt_la-hash.o)(.gnu.linkonce.d.__vt_Q28TaoCrypt17HASHwithTransform+0x24): 
> undefined reference to `__pure_virtual'
> /usr/lib/mysql/libmysqlclient.a(libtaocrypt_la-hash.o)(.gnu.linkonce.d.__vt_Q28TaoCrypt17HASHwithTransform+0x28): 
> more undefined references to `__pure_virtual' follow
> /usr/lib/mysql/libmysqlclient.a(crypto_wrapper.o)(.text+0x16a6): In 
> function `yaSSL::RandomPool::~RandomPool(void)':
> : undefined reference to `__builtin_delete'
> /usr/lib/mysql/libmysqlclient.a(crypto_wrapper.o)(.text+0x20d6): In 
> function `yaSSL::Integer::~Integer(void)':
> : undefined reference to `__builtin_delete'
> /usr/lib/mysql/libmysqlclient.a(crypto_wrapper.o)(.text+0x2476): In 
> function `yaSSL::DiffieHellman::~DiffieHellman(void)':
> : undefined reference to `__builtin_delete'
> /usr/lib/mysql/libmysqlclient.a(crypto_wrapper.o)(.gnu.linkonce.t._._Q35yaSSL3DES7DESImpl+0x37): 
> In function `yaSSL::DES::DESImpl::~DESImpl(void)':
> : undefined reference to `__builtin_delete'
> /usr/lib/mysql/libmysqlclient.a(crypto_wrapper.o)(.gnu.linkonce.t._._Q35yaSSL3AES7AESImpl+0x8e): 
> In function `yaSSL::AES::AESImpl::~AESImpl(void)':
> : undefined reference to `__builtin_delete'
> /usr/lib/mysql/libmysqlclient.a(crypto_wrapper.o)(.gnu.linkonce.t._._Q35yaSSL3RSA7RSAImpl+0x76): 
> more undefined references to `__builtin_delete' follow
> /usr/lib/mysql/libmysqlclient.a(crypto_wrapper.o)(.gnu.linkonce..d.__vt_Q28TaoCrypt9Mode_BASE+0xc): 
> undefined reference to `__pure_virtual'
> /usr/lib/mysql/libmysqlclient.a(crypto_wrapper.o)(.gnu.linkonce.d.__vt_Q25yaSSL4Auth+0x8): 
> undefined reference to `__pure_virtual'
> /usr/lib/mysql/libmysqlclient.a(crypto_wrapper.o)(.gnu.linkonce.d.__vt_Q25yaSSL4Auth+0xc): 
> undefined reference to `__pure_virtual'
> /usr/lib/mysql/libmysqlclient.a(crypto_wrapper.o)(.gnu.linkonce.d.__vt_Q25yaSSL4Auth+0x10): 
> undefined reference to `__pure_virtual'
> /usr/lib/mysql/libmysqlclient.a(crypto_wrapper.o)(.gnu.linkonce.d.__vt_Q25yaSSL10BulkCipher+0x8): 
> undefined reference to `__pure_virtual'
> /usr/lib/mysql/libmysqlclient.a(crypto_wrapper.o)(.gnu.linkonce.d.__vt_Q25yaSSL10BulkCipher+0xc): 
> more undefined references to `__pure_virtual' follow
> /usr/lib/mysql/libmysqlclient.a(crypto_wrapper.o)(.gnu.linkonce..t._._Q28TaoCrypt14RSA_PrivateKey+0x12b): 
> In function `TaoCrypt::RSA_PrivateKey::~RSA_PrivateKey(void)':
> : undefined reference to `__builtin_delete'
> /usr/lib/mysql/libmysqlclient.a(crypto_wrapper.o)(.gnu.linkonce.d.__vt_Q28TaoCrypt8DES_BASE+0xc): 
> undefined reference to `__pure_virtual'
> /usr/lib/mysql/libmysqlclient.a(log.o)(.text+0x31): In function 
> `yaSSL::Log::~Log(void)':
> : undefined reference to `__builtin_delete'
> /usr/lib/mysql/libmysqlclient.a(libtaocrypt_la-algebra.o)(.gnu.linkonce.d.__vt_Q28TaoCrypt23AbstractEuclideanDomain+0xc): 
> undefined reference to `__pure_virtual'
> /usr/lib/mysql/libmysqlclient.a(libtaocrypt_la-algebra.o)(.gnu.linkonce.d.__vt_Q28TaoCrypt23AbstractEuclideanDomain+0x10): 
> undefined reference to `__pure_virtual'
> /usr/lib/mysql/libmysqlclient.a(libtaocrypt_la-algebra.o)(.gnu.linkonce.d.__vt_Q28TaoCrypt23AbstractEuclideanDomain+0x14): 
> undefined reference to `__pure_virtual'
> /usr/lib/mysql/libmysqlclient.a(libtaocrypt_la-algebra.o)(.gnu.linkonce.d.__vt_Q28TaoCrypt23AbstractEuclideanDomain+0x18): 
> undefined reference to `__pure_virtual'
> /usr/lib/mysql/libmysqlclient.a(libtaocrypt_la-algebra.o)(.gnu.linkonce.d.__vt_Q28TaoCrypt23AbstractEuclideanDomain+0x3c): 
> undefined reference to `__pure_virtual'
> /usr/lib/mysql/libmysqlclient.a(libtaocrypt_la-algebra.o)(.gnu.linkonce.d.__vt_Q28TaoCrypt23AbstractEuclideanDomain+0x40): 
> more undefined references to `__pure_virtual' follow
> /usr/lib/mysql/libmysqlclient.a(libtaocrypt_la-file.o)(.text+0x85): In 
> function `TaoCrypt::FileSource::~FileSource(void)':
> : undefined reference to `__builtin_delete'
> /usr/lib/mysql/libmysqlclient.a(libtaocrypt_la-file..o)(.text+0x295): 
> In function `TaoCrypt::FileSink::~FileSink(void)':
> : undefined reference to `__builtin_delete'
> collect2: ld returned 1 exit status
> make[2]: *** [check_mysql] Error 1
> make[2]: Leaving directory 
> `/root/nagiosinstall/nagios-plugins-1.4.6/plugins'
> make[1]: *** [all-recursive] Error 1
> make[1]: Leaving directory `/root/nagiosinstall/nagios-plugins-1.4.6'
> make: *** [all] Error 2
>
> !DSPAM:37,45f28a05103001486464952!
> ------------------------------------------------------------------------
>
> -------------------------------------------------------------------------
> Take Surveys. Earn Cash. Influence the Future of IT
> Join SourceForge.net's Techsay panel and you'll get the chance to share your
> opinions on IT & business topics through brief surveys-and earn cash
> http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
>
> !DSPAM:37,45f28a05103001486464952!
>   
> ------------------------------------------------------------------------
>
> _______________________________________________
> Nagios-users mailing list
> Nagios-users at lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/nagios-users
> ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. 
> ::: Messages without supporting info will risk being sent to /dev/null
>
> !DSPAM:37,45f28a05103001486464952!
>   


-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
Nagios-users mailing list
Nagios-users at lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nagios-users
::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. 
::: Messages without supporting info will risk being sent to /dev/null





More information about the Users mailing list