Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Computing > Cisco > Request help with compiling tacacs+ with mysql on Solaris

Reply
Thread Tools

Request help with compiling tacacs+ with mysql on Solaris

 
 
chazaswell chazaswell is offline
Junior Member
Join Date: Aug 2009
Posts: 1
 
      08-13-2009
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.
 
Reply With Quote
 
 
 
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Error when compiling under Solaris etienne C++ 2 07-13-2006 11:59 AM
compiling Python 2.3.3 Solaris 9 x86 question Stefan Python 2 04-25-2004 06:05 AM
Re: Re: compiling Python 2.3.3 Solaris 9 x86 question Holger Joukl Python 1 04-13-2004 01:25 PM
Problem with cc-gcc compiling mod_jk in Solaris 9 AleC Java 1 01-27-2004 10:03 PM
Errors while compiling SWIG wrappers on Solaris Michael Schmitt Python 3 09-10-2003 08:24 PM



Advertisments
 



1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57