Yes. 
As you say, I have altered the MySQL include directory location under Solaris 7, 
otherwise it can't compile
correctly.

Now I can't go on the project with MySQL support. I have been discouraged by this 
unsolved problem.
>
>If I remember correctly the development package for MySQL that comes from sunfreeware 
>puts the files in the
> wrong location for freeradius to look for them.  You can specify the location of the 
> files
> or you can download the source and install from that. Solaris 8 and 9 fixed the
> location problem without having ro specify.
>
>Gene Parks
>VIP Direct
>
>
>
>>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?
>>
>>
>>>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.
>>>
>>>
>>>>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