Freeradius rlm_perl with Custom Perl
onurgursoygyte at gmail.com
Thu Nov 19 06:11:18 CET 2020
this configure option (--with-perl=<foorPathto>/bin/perl) is working.
Many Many Thanks Again,
Have a Great Day and Healthy Day
Onur GURSOY <onurgursoygyte at gmail.com>, 18 Kas 2020 Çar, 10:48 tarihinde
> Hello Bjørn,
> Hmm this answer is very good.
> In this way, in checking Perl section freeradius will see
> <pathtomyperl>/bin/Perl and its configuration, right ?
> That is excellent
> I hope it will be work.
> Thank you again,
> With best regards.
> On Wed, Nov 18, 2020, 10:25 Bjørn Mork <bjorn at mork.no> wrote:
>> Onur GURSOY <onurgursoygyte at gmail.com> writes:
>> > You have to fix the linker to use that library instead of the system
>> >> Edit src/modules/rlm_perl/all.mk, and set TGT_LDLIBS to that path:
>> >> TGT_LDLIBS :=
>> >> libperl.so
>> >> And rebuild.
>> > Thanks for your answer. It's good point. So, Is there a configuration
>> > option for build. Why im saying this: because all.mk is produced after
>> > ./configure operation ? If yes first i have to configure radius and
>> then i
>> > have to change all.mk files.
>> I believe you should be able to do
>> ./configure --with-perl=/path/to/local/bin/perl
>> PERL=/path/to/local/bin/perl ./configure
>> Completely untested.... The cflags and ldlibs will be looked up using
>> $PERL -MExtUtils::Embed -e ccopts
>> $PERL -MExtUtils::Embed -e ldopts
>> which should Just Work as long as your alternate perl installation is
R&D Engineer in Embedded Systems
Master Student at Gebze Institute Of Technology
Department Of Electronic Engineering
GSM : 0(545) 764 7653
e-mail: onurgursoygyte at gmail.com
More information about the Freeradius-Users