Roman Medina-Heigl Hernandez wrote:
> One of the simmilar threads I've found is:
> http://lists.cistron.nl/pipermail/freeradius-users/2005-April/042978.html
> 
> But I don't see the solution there.

So I wrote privately to Emil Wilmanski. He kindly provided me with the
following workaround/response:

"there is a problem with libperl... I don't know why is the problem
becouse only on debian it is.
the resolve is to set variable LD_PRELOAD
export LD_PRELOAD=/usr/lib/libperl.so.5.8
or other perl lib. and next run freeradius. "

I tested it and it works :)

I also had a look to rc.radiusd included in FR .tgz. You can find the
following lines:

#
#  If you have issues with OpenSSL, uncomment these next lines.
#
#  Something similar may work for MySQL, and you may also
#  have to LD_PRELOAD libz.so
#
#LD_LIBRARY_PATH=
#LD_RUN_PATH=:
#LD_PRELOAD=libcrypto.so

export LD_LIBRARY_PATH LD_RUN_PATH LD_PRELOAD


So it seems there are some related&known problems with freeradius/shared
libs and it's not Debian's fault. I only had to replace the LD_PRELOAD
line with:
LD_PRELOAD=libperl.so

You'll also need the following Debian packages installed:
ii  libperl-dev    5.8.4-8        Perl library: development files
ii  libperl5.8     5.8.4-8        Shared Perl library

Thread closed :)

Cheers,
-Roman
- 
List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html

Reply via email to