All goes well with the configure, using the following: ./configure --with-db --with-mysql --with-mysql-prefix=/usr/sfw --with-mysql-include-dir=/usr/sfw/include/mysql.
But upon make I get the following:
gcc -g -O2 -L/usr/sfw/lib/mysql -o tac_plus -L/usr/sfw/lib/mysql acct.o authen.o author.o config.o choose_authen.o default_fn.o default_v0_fn.o do_acct.o do_author.o dump.o enable.o encrypt.o expire.o hash.o tac_plus.o md5.o packet.o parse.o programs.o pw.o pwlib.o report.o sendauth.o sendpass.o time_limit.o utils.o accesslog.o ext_authen.o tac_pam.o db.o db_ext.o db_null.o db_mysql.o -lmysqlclient -lz -lpam -ldl -lnsl -lpthread -lc -lcrypt
Undefined first referenced
symbol in file
getservbyname tac_plus.o (symbol belongs to implicit dependency /usr/lib/libsocket.so.1)
__xnet_listen tac_plus.o (symbol belongs to implicit dependency /usr/lib/libsocket.so.1)
__xnet_socket tac_plus.o (symbol belongs to implicit dependency /usr/lib/libsocket.so.1)
accept tac_plus.o (symbol belongs to implicit dependency /usr/lib/libsocket.so.1)
setsockopt tac_plus.o (symbol belongs to implicit dependency /usr/lib/libsocket.so.1)
getpeername tac_plus.o (symbol belongs to implicit dependency /usr/lib/libsocket.so.1)
__xnet_bind tac_plus.o (symbol belongs to implicit dependency /usr/lib/libsocket.so.1)
shutdown tac_plus.o (symbol belongs to implicit dependency /usr/lib/libsocket.so.1)
ld: fatal: Symbol referencing errors. No output written to tac_plus
collect2: ld returned 1 exit status
make: *** [tac_plus] Error 1
I'm not sure where to look now and any help would be greatly appreciated.
Thanks.