compiling nagios-plugins-1.4.0-alpha3 on Solaris 9

Winkles, William (Bill) billwinkles at lucent.com
Tue Dec 28 21:08:25 CET 2004


I'm having problems making nagios-plugins-1.4.0-alpha3 on Solaris 9.

 

Any suggestions are appreciated.

 

Thanks.

 

Bill

 

 

 

Configured with:

./configure

 

config.status: creating po/Makefile

                     --with-cgiurl: /nagios/cgi-bin

                --with-nagios-user: nagios

               --with-nagios-group: nagios

               --with-trusted-path: /bin:/sbin:/usr/bin:/usr/sbin

               --with-ping-command: /usr/sbin/ping -n -s %s 56 %d

              --with-ping6-command:

                      --with-lwres: no

                       --with-ipv6: yes

                    --with-openssl: no

      --enable-emulate-getaddrinfo: no

 

Make error:

gcc  -g -O2  -L. -o check_icmp  check_icmp.o  ../intl/libintl.a -liconv
-lgen -l

socket -lcrypto

Undefined                       first referenced

 symbol                             in file

gethostbyaddr                       check_icmp.o  (symbol belongs to
implicit de

pendency /usr/lib/libnsl.so.1)

gethostbyname                       check_icmp.o  (symbol belongs to
implicit de

pendency /usr/lib/libnsl.so.1)

inet_addr                           check_icmp.o  (symbol belongs to
implicit de

pendency /usr/lib/libnsl.so.1)

inet_ntoa                           check_icmp.o  (symbol belongs to
implicit de

pendency /usr/lib/libnsl.so.1)

h_errno                             check_icmp.o  (symbol belongs to
implicit de

pendency /usr/lib/libnsl.so.1)

ld: fatal: Symbol referencing errors. No output written to check_icmp

collect2: ld returned 1 exit status

make[2]: *** [check_icmp] Error 1

make[2]: Leaving directory `/home/billy/nagios-plugins-1.4.0-alpha3/plugins'

make[1]: *** [all-recursive] Error 1

make[1]: Leaving directory `/home/billy/nagios-plugins-1.4.0-alpha3'

make: *** [all] Error 2

 

Configured with:

bash-2.05# ./configure --with-openssl=/usr/local/ssl
--with-trusted-path=/usr/l

ocal/bin:/sbin:/usr/sbin:/bin

 

config.status: creating po/Makefile

                     --with-cgiurl: /nagios/cgi-bin

                --with-nagios-user: nagios

               --with-nagios-group: nagios

               --with-trusted-path: /usr/local/bin:/sbin:/usr/sbin:/bin

               --with-ping-command: /usr/sbin/ping -n -s %s 56 %d

              --with-ping6-command:

                      --with-lwres: no

                       --with-ipv6: yes

                    --with-openssl: yes

      --enable-emulate-getaddrinfo: no

 

Make error:

gcc  -g -O2  -L. -L/usr/local/ssl/lib -o check_http  check_http.o netutils.o
uti

ls.o ../lib/libnagiosplug.a ../lib/libcoreutils.a  -lnsl -lsocket -lresolv
../i

ntl/libintl.a -liconv -lgen -lsocket -lcrypto

Undefined                       first referenced

 symbol                             in file

SSL_load_error_strings              check_http.o

SSL_get_peer_certificate            check_http.o

SSL_write                           check_http.o

SSL_get_error                       check_http.o

SSL_set_fd                          check_http.o

SSL_free                            check_http.o

SSL_read                            check_http.o

SSLv23_client_method                check_http.o

SSL_new                             check_http.o

SSL_CTX_new                         check_http.o

SSL_connect                         check_http.o

SSL_shutdown                        check_http.o

SSL_CTX_free                        check_http.o

SSL_set_cipher_list                 check_http.o

SSL_library_init                    check_http.o

ld: fatal: Symbol referencing errors. No output written to check_http

collect2: ld returned 1 exit status

make[2]: *** [check_http] Error 1

make[2]: Leaving directory `/home/billy/nagios-plugins-1.4.0-alpha3/plugins'

make[1]: *** [all-recursive] Error 1

make[1]: Leaving directory `/home/billy/nagios-plugins-1.4.0-alpha3'

make: *** [all] Error 2

 

 

 

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://www.monitoring-lists.org/archive/users/attachments/20041228/825d3f04/attachment.html>


More information about the Users mailing list