Linking Shared/Static library in Freeradius Module

Mustafa Reşit Şahin resitsahin at
Wed Dec 7 15:46:03 CET 2011

I am trying to use   src/modules/rlm_example/Makefile using configure files.

In this makefile stated :

# The RLM_LIBS definition should list ALL required libraries.
# These libraries really should be pulled from the 'config.mak'
# definitions, if at all possible.  These definitions are also
# echoed into another file in ../lib, where they're picked up by
# ../main/Makefile for building the version of the server with
# statically linked modules.  Get it from autoconf.

Which file mentioned with "These definitions are also # echoed into 
another file in ../lib," ?

I could not find this file. As far as i understand, i have to add 
shared/static libraries ( which i link from my new module ) into this 
file . So freeradius can find them.

I consider this because i get the error :

/usr/local/lib/freeradius-2.1.10/ Undefined symbol 

when i run radiusserver and send an autorization message to server.

On 12/06/2011 06:00 PM, Alan DeKok wrote:
> Mustafa Reşit Şahin wrote:
>> I have followed the steps here :
>    Well, it's wrong.  I'm not sure it was ever correct.  I've deleted
> that example from the Wiki.
>    Look at src/modules/rlm_example/Makefile.  It works, and is correct.
> Edit it to build your module.  It's a *lot* simpler.
>    Alan DeKok.
> -
> List info/subscribe/unsubscribe? See

Mustafa Reşit Şahin
Endersys İş Tel: 0216 470 94 23 Dahili:306
Cep Tel:0507 707 68 12

More information about the Freeradius-Users mailing list