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