Freeradius with either LDAP or Mysql Error lib not found

Muhammad Nadeem mnadeem8327 at gmail.com
Fri Mar 8 09:10:16 CET 2013


Ok man..
set LD_LIBRARY_PATH to your mysql drivers,,
like for oracle it will be SET PATH=LD_LIBRARY_PATH=$ORACLE_HOME/lib


On Fri, Mar 8, 2013 at 1:02 PM, Iftakhul Anwar <anwar at meruvian.org> wrote:

> I've installed mysql-server on my system even before i installed
> freeradius server.
>
> Any another tips to solve this ?
>
>
> On Fri, Mar 8, 2013 at 2:59 PM, Muhammad Nadeem <mnadeem8327 at gmail.com>wrote:
>
>> Fri Mar  8 13:44:46 2013 : Error: Could not link driver rlm_sql_mysql:
>> rlm_sql_mysql.so: cannot open shared object file: No such file or directory
>> >>It seems that your mysql drivers have not been installed successfully,
>> thanks to freeradius, it has the option to install mysql server along free
>> radius . (use this command sudo apt-get install mysql-server (somthing
>> like that if not work,, google it).
>> Hopefully problem will be solve
>>
>>
>> On Fri, Mar 8, 2013 at 12:51 PM, Iftakhul Anwar <anwar at meruvian.org>wrote:
>>
>>>  Hi All
>>>
>>> I just try to config freeradius using either Mysql or LDAP.
>>>
>>> But i get same error like bellow :
>>>
>>> [errror Mysq]
>>>
>>>  Fri Mar  8 13:44:46 2013 : Error: Could not link driver rlm_sql_mysql:
>>> rlm_sql_mysql.so: cannot open shared object file: No such file or directory
>>> Fri Mar  8 13:44:46 2013 : Error: Make sure it (and all its dependent
>>> libraries!) are in the search path of your system's ld.
>>> Fri Mar  8 13:44:46 2013 : Error: /usr/local/etc/raddb/sql.conf[22]:
>>> Instantiation failed for module "sql"
>>> Fri Mar  8 13:44:46 2013 : Error:
>>> /usr/local/etc/raddb/sites-enabled/default[177]: Failed to find "sql" in
>>> the "modules" section.
>>> Fri Mar  8 13:44:46 2013 : Error:
>>> /usr/local/etc/raddb/sites-enabled/default[69]: Errors parsing authorize
>>> section.
>>>
>>> i've read in some article that it's solved by installed  mysql-devel
>>> package.
>>> In this case i've installed  libmysqlclient-dev on my ubuntu 12.04
>>>
>>> But still get same error.
>>>
>>> It's also happen on my freeradius ldap?
>>>
>>> [error LDAP]
>>> /usr/local/etc/raddb/modules/ldap[29]: Failed to link to module
>>> 'rlm_ldap': rlm_ldap.so: cannot open shared object file: No such file or
>>> directory
>>> /usr/local/etc/raddb/sites-enabled/default[305]: Failed to find "ldap"
>>> in the "modules" section.
>>> /usr/local/etc/raddb/sites-enabled/default[305]: Failed to parse "ldap"
>>>
>>> How i can solve this issue ?
>>>
>>> Thanks
>>>
>>> --
>>> *M.Iftakhul Anwar*
>>> Meruvian Integrator
>>> High Performance Computing / Cloud Computing (HPC/CC)
>>>
>>>
>>> Office Phone  : 021-93586577
>>> Mobile Phone : 085215331477
>>> Blog               :  http://blog.mervpolis.com/roller/anwar
>>> FB                 :  http://www.facebook.com/troya.adromeda
>>> Website         : www.meruvian.org
>>>
>>>
>>> -
>>> List info/subscribe/unsubscribe? See
>>> http://www.freeradius.org/list/users.html
>>>
>>
>>
>>
>> --
>> Best Regards
>> Muhammad Nadeem
>> Muhammad Ali Jinnah University
>>
>> -
>> List info/subscribe/unsubscribe? See
>> http://www.freeradius.org/list/users.html
>>
>
>
>
> --
> *M.Iftakhul Anwar*
> Meruvian Integrator
> High Performance Computing / Cloud Computing (HPC/CC)
>
>
> Office Phone  : 021-93586577
> Mobile Phone : 085215331477
> Blog               :  http://blog.mervpolis.com/roller/anwar
> FB                 :  http://www.facebook.com/troya.adromeda
> Website         : www.meruvian.org
>
>
> -
> List info/subscribe/unsubscribe? See
> http://www.freeradius.org/list/users.html
>



-- 
Best Regards
Muhammad Nadeem
Muhammad Ali Jinnah University
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freeradius.org/pipermail/freeradius-users/attachments/20130308/a89aa8af/attachment.html>


More information about the Freeradius-Users mailing list