[tac_plus] Re: libtacacs.so.1 Error
john heasley
heas at shrubbery.net
Wed Sep 16 17:55:14 UTC 2009
Wed, Sep 16, 2009 at 11:53:43AM -0600, Schmidt, Daniel:
> Ubuntu Hardy, thanks.
>
> dans at dan-laptop:~/tacacs+-F4.0.4.19$ uname -a
> Linux dan-laptop 2.6.24-24-generic #1 SMP Sat Aug 22 01:06:14 UTC 2009
> i686 GNU/Linux
>
> /bin/bash ./libtool --tag=CC --mode=link gcc -g -O2 -pthread -L.
> -L/usr/local/lib -L/lib -o tac_plus acct.o authen.o author.o
-R is missing. I dont understand why that isnt automatic.
> choose_authen.o config.o default_fn.o default_v0_fn.o do_acct.o
> do_author.o dump.o enable.o encrypt.o expire.o hash.o maxsess.o parse.o
> programs.o pw.o pwlib.o regexp.o report.o sendauth.o sendpass.o
> tac_plus.o utils.o -lwrap -ltacacs -lnsl -lcrypt
>
> gcc -g -O2 -pthread -o .libs/tac_plus acct.o authen.o author.o
> choose_authen.o config.o default_fn.o default_v0_fn.o do_acct.o
> do_author.o dump.o enable.o encrypt.o expire.o hash.o maxsess.o parse.o
> programs.o pw.o pwlib.o regexp.o report.o sendauth.o sendpass.o
> tac_plus.o utils.o -L/home/dan/tacacs+-F4.0.4.19 -L/usr/local/lib
> -L/lib -lwrap /home/dan/tacacs+-F4.0.4.19/.libs/libtacacs.so -lnsl
> -lcrypt
>
> creating tac_plus
>
> rm -f tac_convert tac_convert.tmp; \
>
> sed -e 's, at bindir\@,/usr/local/bin,g' -e
> 's, at prefix\@,/usr/local,g' -e 's, at libexecdir\@,/usr/local/libexec,g' -e
> 's, at localstatedir\@,/usr/local/var,g' -e 's, at libdir\@,/usr/local/lib,g'
> -e 's, at pkglibdir\@,/usr/local/lib/tacacs+,g' -e
> 's, at sysconfdir\@,/usr/local/etc,g' -e 's, at PERLV_PATH\@,/usr/bin/perl,g'
> -e 's, at TACPLUS_PIDFILE\@,/var/run/tac_plus.pid,g' -e
> 's, at TACPLUS_LOGFILE\@,/var/log/tac_plus.log,g' ./tac_convert.in
> >tac_convert.tmp; \
>
> mv tac_convert.tmp tac_convert; \
>
> chmod 755 tac_convert
>
> rm -f users_guide users_guide.tmp; \
>
> sed -e 's, at bindir\@,/usr/local/bin,g' -e
> 's, at prefix\@,/usr/local,g' -e 's, at libexecdir\@,/usr/local/libexec,g' -e
> 's, at localstatedir\@,/usr/local/var,g' -e 's, at libdir\@,/usr/local/lib,g'
> -e 's, at pkglibdir\@,/usr/local/lib/tacacs+,g' -e
> 's, at sysconfdir\@,/usr/local/etc,g' -e 's, at PERLV_PATH\@,/usr/bin/perl,g'
> -e 's, at TACPLUS_PIDFILE\@,/var/run/tac_plus.pid,g' -e
> 's, at TACPLUS_LOGFILE\@,/var/log/tac_plus.log,g' ./users_guide.in
> >users_guide.tmp; \
>
> mv users_guide.tmp users_guide
>
> make[1]: Leaving directory `/home/dan/tacacs+-F4.0.4.19'
>
> dans at dan-laptop:~/tacacs+-F4.0.4.19$
>
> -----Original Message-----
> From: john heasley [mailto:heas at shrubbery.net]
> Sent: Wednesday, September 16, 2009 11:48 AM
> To: Schmidt, Daniel
> Cc: tac_plus at shrubbery.net
> Subject: Re: [tac_plus] libtacacs.so.1 Error
>
> Wed, Sep 16, 2009 at 11:22:12AM -0600, Schmidt, Daniel:
> > Anybody else getting this on the new version? 18 works fine.
> >
> > tac_plus: error while loading shared libraries: libtacacs.so.1: cannot
> > open shared object file: No such file or directory
>
> I must be missing something with the libtool set-up. Please post the
> link lines from the make and include o/s info.
More information about the tac_plus
mailing list