Thanks to Jeson.

The MYSQL package is downloaded from sunfreeware and installed directly by pkgadd 
command.
I am sure there are development header and lib included. Files in the lib directory 
are as follows:
                libdbug.a  libmygcc.a  libmysqlclient.a  libmysqlclient_r.a
                libmystrings.a         libmysys.a

By the way, I had ever compiled and installed mysql 3.23.52 from source package. 

When I do install freeradius with configure, make and make install,
there is no error reported. So I don't think it's the reason. 

Am I right?

Best,
        Zasp

>Hi,
>
>  Please make sure you have the MySQL development package, FreeRADIUS compile the 
> rlm_sql_mysql module need the include >file from MySQL development package.
>
>  Enjoy it!    
>
>            Jeson
>
>
>>Hi,all
>>      I want to use freeradius with mysql support under Solaris sparc 2.7. I meet 
>> the same 
>>problem as many newbies when I start radiusd:
>>
>>      rlm_sql (sql): Could not link driver rlm_sql_mysql: file not found
>>      rlm_sql (sql): Make sure it (and all its dependent libraries!) are in the 
>> search path of your system's ld.
>>      radiusd.conf[14]: sql: Module instantiation failed. 
>>
>>      All methods have been tried but failed. MySQL is working well.=
>> I try to compile freeradius under gcc 3.2.3 as FAQ says "configure 
>> --disable-shared", 
>> or set proper LD_LIBRARY_PATH variable, or copy the dynamic lib files to /usr/lib. 
>> But the problem keeps here. 
>>
>>      When I do use rlm_unix not rlm_sql_mysql for authentication, it works well. 
>>  I have been confused for several days. Maybe anyone can help me?  Thanks :)




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

Reply via email to