stunnel libwrap compile problem

From: John Christian (potus98@yahoo.com)
Date: Fri Oct 07 2005 - 08:21:20 EDT


Hi gurus...

I'm setting up a centralized log server for all of my Solaris 9 hosts. Kim's
article at http://www.sun.com/bigadmin/features/articles/syslog_ng.html is
providing much of the guidence. I plan to use syslog-ng, but would like to have
stunnel in place first. http://www.sunfreeware.com does not have a pre-rolled
stunnel for Solaris 9.

I'm receiving the error below when trying to compile stunnel-4.12 on Solaris 9.
My two questions are: A) Can you offer any tips on overcoming the stunnel
compile error below? B) Is there a more common alternative to stunnel when
using syslog-ng or is stunnel pretty much what most people use?

ERROR:

[snip]
gcc -g -O2 -Wall -Wshadow -Wcast-align -Wpointer-arith -I/usr/local/ssl/include
-o stunnel client.o log.o options.o protocol.o network.o resolver.o ssl.o
sthreads.o stunnel.o pty.o -lz -lsocket -lnsl -L/usr/local/ssl/lib -lssl
-lcrypto -lwrap
Undefined first referenced
 symbol in file
allow_severity /usr/sfw/lib/libwrap.so
deny_severity /usr/sfw/lib/libwrap.so
ld: fatal: Symbol referencing errors. No output written to stunnel
collect2: ld returned 1 exit status
make[1]: *** [stunnel] Error 1
make[1]: Leaving directory `/var/spool/src/stunnel-4.12/src'
make: *** [all-recursive] Error 1

I'm using GNU's make 3.80 and gcc 3.4.2.
My environment variable LD_LIBRARY_PATH is:
LD_LIBRARY_PATH=/usr/openwin/lib:/usr/dt/lib:/usr/local/lib:/usr/local/ssl/lib:/usr/sfw/lib

Thanks for taking the time to share any direct solutions or hints that will
help me find a solution. I'll post a summary if resolved.

-John
Tired of spam? Yahoo! Mail has the best spam protection around
http://mail.yahoo.com
_______________________________________________
sunmanagers mailing list
sunmanagers@sunmanagers.org
http://www.sunmanagers.org/mailman/listinfo/sunmanagers



This archive was generated by hypermail 2.1.7 : Wed Apr 09 2008 - 23:32:15 EDT