Last chance to check the "pre" release of 2.1.6
http://git.freeradius.org/pre/ Unless there are issues, it will become 2.1.6 on Monday. Alan DeKok.
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:
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
nf-vale wrote:
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
It looks like you don't have /usr/local/lib in your dynamic linker path. There isn't much we can do to fix that.
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
Why is it searching in /usr/lib/i486-linux-gnu/ as opposed to just /usr/lib? Which OS is this?
I've configured previous versions up to 2.1.3 like that and it all went fine and never had this problem before.
Still, I think it's a fairly esoteric problem. If your linker is *only* looking in those paths, then you should either fix the linker to look in the directory you configured for FreeRADIUS, *or* configure FreeRADIUS to put libraries inthe directory your linker users. Alan DeKok.
nf-vale wrote:
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
It looks like you don't have /usr/local/lib in your dynamic linker path. There isn't much we can do to fix that.
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
Why is it searching in /usr/lib/i486-linux-gnu/ as opposed to just /usr/lib? Which OS is this?
I've configured previous versions up to 2.1.3 like that and it all went fine and never had this problem before.
Still, I think it's a fairly esoteric problem. If your linker is *only* looking in those paths, then you should either fix the linker to look in the directory you configured for FreeRADIUS, *or* configure FreeRADIUS to put libraries inthe directory your linker users.
Alan DeKok.
Put /usr/local/lib in /etc/ld.so.conf. Run ldconfig after install. Ivan Kalik Kalik Informatika ISP
On Saturday 16 May 2009 11:01:00 Ivan Kalik wrote:
nf-vale wrote:
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
It looks like you don't have /usr/local/lib in your dynamic linker path. There isn't much we can do to fix that.
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
Why is it searching in /usr/lib/i486-linux-gnu/ as opposed to just /usr/lib? Which OS is this?
I've configured previous versions up to 2.1.3 like that and it all went fine and never had this problem before.
Still, I think it's a fairly esoteric problem. If your linker is *only* looking in those paths, then you should either fix the linker to look in the directory you configured for FreeRADIUS, *or* configure FreeRADIUS to put libraries inthe directory your linker users.
Alan DeKok.
Put /usr/local/lib in /etc/ld.so.conf. Run ldconfig after install.
I've already have that dir in the path: $>cat /etc/ld.so.conf include /etc/ld.so.conf.d/*.conf and in /etc/ld.so.conf.d/libc.conf I have: $>cat /etc/ld.so.conf.d/libc.conf # libc default configuration /usr/local/lib It works with for other versions.
Ivan Kalik Kalik Informatika ISP
- List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html
nf-vale wrote:
I've already have that dir in the path:
$>cat /etc/ld.so.conf include /etc/ld.so.conf.d/*.conf
and in /etc/ld.so.conf.d/libc.conf I have:
$>cat /etc/ld.so.conf.d/libc.conf # libc default configuration /usr/local/lib
Except that the linker isn't searching /usr/local/lib. The strace output you posted shows that.
It works with for other versions.
I re-generated some of the configure scripts. I would suspect that would explain it. However, the linker on your system is clearly *not* searching in the directory where the libfreeradius-radius library is installed. So I'm OK with *not* fixing FreeRADIUS to work around this issue. Alan DeKok.
On Saturday 16 May 2009 07:30:49 you wrote:
nf-vale wrote:
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
It looks like you don't have /usr/local/lib in your dynamic linker path. There isn't much we can do to fix that.
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
Why is it searching in /usr/lib/i486-linux-gnu/ as opposed to just /usr/lib? Which OS is this?
Ubuntu Hardy (kernel 2.6.24-24)
I've configured previous versions up to 2.1.3 like that and it all went fine and never had this problem before.
Still, I think it's a fairly esoteric problem. If your linker is *only* looking in those paths, then you should either fix the linker to look in the directory you configured for FreeRADIUS, *or* configure FreeRADIUS to put libraries inthe directory your linker users.
The solutio for this is obviously simple, but I reported it anyway because it didn't happened with the previous versions.
Alan DeKok.
participants (3)
-
Alan DeKok -
Ivan Kalik -
nf-vale