Hi Zasp, Do you get the rlm_sql_mysql.so? If not, please recompile your freeRadius project with "configure --enable-static". By default, freeRadius use the shared library. Or, you can try to use the environment variable "LD_PRELOAD=/path/your/rlm_sql_mysql".
Jeson [EMAIL PROTECTED] 2003-06-06 >Thanks again. >I have check the Makefile in rlm_sql_mysql directory. It says: > TARGET = rlm_sql_mysql > SRCS = sql_mysql.c >And rlm_sql_mysql.a & rlm_sql_mysql.la are both generated. > >So I think it's not my fault to configure the project. > >>Hi Zasp, >> >> Yes. When you do make, there are no error were report, but look= >> through the information, you will find make do nothing with= >> rlm_sql_mysql. And the TARGET entry in Makefile in the= >> correspond directory is empty. If your configure find the head= >> file and shared library, this entry will be filled with= >> "rlm_sql_mysql". >> >> Please check it. >>=09 >> >> Jeson >>[EMAIL PROTECTED] >>=A1=A12003-06-05 >> >>>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 >>> >>>-----Original Message----- >>>From: [mailto:[EMAIL PROTECTED] >>>Sent: Wednesday, June 04, 2003 8:49 AM >>>To: [EMAIL PROTECTED] >>>Subject: Re: FreeRadius with Mysql under Solaris can't work >>> >>> >>>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: >>>=09=09libdbug.a libmygcc.a libmysqlclient.a libmysqlclient_r.a >>>=09=09libmystrings.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, >>>=09Zasp >>> >>>>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!=09 >>>> >>>> =1B$B!!!!!!!!!!!!!!=1B(J =1B$B!!=1B(JJeson >>>> >>>> >>>>>Hi,all >>>>>=09I want to use freeradius with mysql support under Solaris= >> sparc 2.7. >>>>>I meet the same >>>>>problem as many newbies when I start radiusd: >>>>> >>>>>=09rlm_sql (sql): Could not link driver rlm_sql_mysql: file not= >> found >>>>>=09rlm_sql (sql): Make sure it (and all its dependent= >> libraries!) are in the search path of your system's ld. >>>>>=09radiusd.conf[14]: sql: Module instantiation failed. >>>>> >>>>>=09All methods have been tried but failed. MySQL is working= >> well.=3D 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. >>>>> >>>>>=09When 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 - List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html