Last chance to check the "pre" release of 2.1.6
nf-vale
nf-vale at critical-links.com
Fri May 15 21:00:24 CEST 2009
Sorry, my shortcuts are tricky bastards :)
On Friday 15 May 2009 19:52:56 nf-vale wrote:
> On Friday 15 May 2009 15:59:30 Alan DeKok wrote:
> > http://git.freeradius.org/pre/
> >
> > Unless there are issues, it will become 2.1.6 on Monday.
> >
> > Alan DeKok.
> > -
> > List info/subscribe/unsubscribe? See
> > http://www.freeradius.org/list/users.html
>
> Just downloaded and compiled from source in Ubuntu Hardy.
>
> When I tried to start radiusd it complained about:
sudo radiusd -V
radiusd: error while loading shared libraries: libfreeradius-radius-2.1.6.so:
cannot open shared object file: No such file or directory
using strace I see that it is searching for libs in "/usr/lib/i486-linux-gnu"
but lib was installed in "/usr/local/lib" (it didnot looked for libs there):
"sudo strace radiusd -V
execve("/usr/local/sbin/radiusd", ["radiusd", "-V"], [/* 16 vars */]) = 0
brk(0) = 0x8084000
access("/etc/ld.so.nohwcap", F_OK) = -1 ENOENT (No such file or
directory)
mmap2(NULL, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) =
0xb7eea000
access("/etc/ld.so.preload", R_OK)
...
...
...
stat64("/usr/lib/i486-linux-gnu/sse2", 0xbfb4b360) = -1 ENOENT (No such file
or directory)
open("/usr/lib/i486-linux-gnu/cmov/libfreeradius-radius-2.1.6.so", O_RDONLY)
= -1 ENOENT (No such file or directory)
stat64("/usr/lib/i486-linux-gnu/cmov", 0xbfb4b360) = -1 ENOENT (No such file
or directory)
open("/usr/lib/i486-linux-gnu/libfreeradius-radius-2.1.6.so", O_RDONLY) = -1
ENOENT (No such file or directory)
stat64("/usr/lib/i486-linux-gnu", {st_mode=S_IFDIR|0755, st_size=4096, ...}) =
0
writev(2, [{"radiusd", 7}, {": ", 2}, {"error while loading shared libra"...,
36}, {": ", 2}, {"libfreeradius-radius-2.1.6.so", 29}, {": ", 2}, {"cannot
open shared object file", 30}, {": ", 2}, {"No such file or directory", 25},
{"\n", 1}], 10radiusd: error while loading shared libraries:
libfreeradius-radius-2.1.6.so: cannot open shared object file: No such file
or directory
"
I've configure it with:
./configure --with-raddbdir=/etc/raddb216 --with-logdir=/var/log/radius --with-radacctdir=/var/log/radius/radacct --enable-strict-dependencies --without-rlm_counter --without-rlm_dbm --without-rlm_ippool --without-rlm_perl --without-rlm_krb5 --with-openssl --without-rlm_python --without-rlm_sql --with-rlm_eap --with-rlm_eap2 --without-rlm_eap_ikev2 --without-rlm_eap_tnc
I've configured previous versions up to 2.1.3 like that and it all went fine
and never had this problem before.
Meanwhile I linked this directory with correct directory and now it starts
fine.
Nelson Vale
More information about the Freeradius-Users
mailing list