Setting LDFLAGS, CPPFLAGS, etc, causes configure to fail.
Code: Select all
./configure --prefix=/usr/local/nagios --with-cgiurl=/nagios --with-openssl=/opt/csw/lib --without-ipv6 --without-mysql
Thanks.
Code: Select all
./configure --prefix=/usr/local/nagios --with-cgiurl=/nagios --with-openssl=/opt/csw/lib --without-ipv6 --without-mysql
Code: Select all
/bin/bash ../libtool --tag=CC --mode=link gcc -DNP_VERSION='"1.4.15"' -g -O2 -L. -o check_http check_http.o sslutils.o netutils.o utils.o ../lib/libnagiosplug.a ../gl/libgnu.a -lnsl -lsocket -lresolv -lpthread -ldl
libtool: link: gcc -DNP_VERSION=\"1.4.15\" -g -O2 -o check_http check_http.o sslutils.o netutils.o utils.o -L/usr/local/src/nagios-plugins-1.4.15/plugins ../lib/libnagiosplug.a ../gl/libgnu.a -lnsl -lsocket -lresolv -lpthread -ldl
Undefined first referenced
symbol in file
SSL_load_error_strings sslutils.o
SSL_write sslutils.o
OpenSSL_add_all_algorithms sslutils.o
SSL_set_fd sslutils.o
SSL_free sslutils.o
SSL_read sslutils.o
SSLv23_client_method sslutils.o
SSL_new sslutils.o
SSL_CTX_new sslutils.o
SSL_connect sslutils.o
SSL_shutdown sslutils.o
SSL_CTX_free sslutils.o
SSL_library_init sslutils.o
ld: fatal: symbol referencing errors. No output written to check_http
make[2]: *** [check_http] Error 1
make[2]: Leaving directory `/usr/local/src/nagios-plugins-1.4.15/plugins'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/usr/local/src/nagios-plugins-1.4.15'
make: *** [all] Error 2