Freeradius 1.0.4 (rlm_perl enabled) and Debian 3.1 (stable - Sarge) (solution)

Roman Medina-Heigl Hernandez roman at
Mon Aug 29 12:13:52 CEST 2005

Roman Medina-Heigl Hernandez wrote:
> One of the simmilar threads I've found is:
> 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/
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


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:

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 :)


More information about the Freeradius-Users mailing list