Hello Thanks again for your time ...
Ok I have tryed many things last weeks but effectively mysql can t be installed with shared libraries on a Jaguar. But anyway , today, I have received our brand new Panther CD. So i m working with it, but I still having some trouble in the installation as static or shared. So what should be the correct configure command to compile it correctly (with dynamic libs without a glitch!) It should be nice to give me some clues about... Thanks you in advance Julien ----- Original Message ----- From: "Andreas Wolf" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Wednesday, November 12, 2003 1:29 AM Subject: Re: OSX Installation Using Mysql > Actually, on a second look, I think the problem is that you try to > configure MySQL > with --disable-shared. > You should have MySQL built _with_ shared libraries (ie. omit the > --disabled-shared option), and > I am not sure Jaguar allows for that. > > Only then can freeRADIUS build the rlm_sql_mysql driver successfully. > This is mentioned > in a compiler warning. Make sure freeRADIUS built the rlm_sql_mysql > driver. > > -Andreas > > > > On Nov 10, 2003, at 11:35 AM, Julien Gabry wrote: > > > Hello, > > > > Thanks you for your fast answer. > > I have tryed your pertinent solutions about dylib, tried also to > > recompile > > rlm-sql dynamically and many other things without any more success. > > > > But anyway I will switch to panther soon. So thanks you very much for > > your > > help > > > PS: sorry for my previous double post > > > > Julien > > > > > > > > ----- Original Message ----- > > From: "Andreas Wolf" <[EMAIL PROTECTED]> > > To: <[EMAIL PROTECTED]> > > Sent: Friday, November 07, 2003 9:05 PM > > Subject: Re: OSX Installation Using Mysql > > > > > >> > >> On Sep 6, 2003, at 9:24 PM, Julien Gabry wrote: > >> > >>> Hello > >>> > >>> I have been able to compile freeradius on mac os X 10.2.8 (jaguar) > >>> > >>> The freeradius is ok I can authentify, everything look great > >>> > >>> I have also install mysql and import all needed database for > >>> dialup_admin. > >>> > >>> But I can't activate the rlm_sql_mysql driver. The error message > >>> that > >>> i get > >>> while launching the check-config script or radiusd with option -X is > >>> : > >>> > >>> 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. > >>> > >>> > >>> I have tryed many things to solve it without success > >>> I have tryed to compile mysql from the source instead of using apple > >>> package > >>> I have try several different path for the configure option > >>> > >>> > >>> ./configure --with-mysql-dir=/usr/local/bin > >>> --with-mysql-lib-dir=/usr/local/ > >>> lib/mysql --with-mysql-include-dir=/usr/local/include/mysql > >>> --disable-shared > >>> > >>> ./configure --with-mysql-dir=/Library/MySQL/bin > >>> --with-mysql-lib-dir=/Librar > >>> y/MySQL/lib/mysql > >>> --with-mysql-include-dir=/Library/MySQL/include/mysql --di > >>> sable-shared > >>> > >>> and many others ... > >>> > >>> I have also tryed to link the lib manually with common OSX tool > >>> (dyld, ld, > >>> libtool, ar, ...) > >>> > >>> So my questions are the following : > >>> > >>> Did someone has been able to use the mysql modules with free radius > >>> on OSX? > >>> > >>> What should be the way to link properly/correctly the rlm_sql_mysql > >>> lib ? > >>> > >>> How can i check that my MySQL is link as static ? > >>> > >>> Thanks you in advance > >>> > >> > >> I bet you are running into the limitations of having build everything > >> statically. > >> Some rlm modules appear to not work well when linked statically on any > >> platform > >> (so I've been told). > >> On Jaguar I also haven't been able to compile freeRADIUS without the > >> --disable-shared option. > >> On Panther freeRadius builds and runs just fine with dynamic libs > >> without a glitch! > >> > >> One thing you may try on Jaguar is to force linking the rlm_sql_mysql > >> library: > >> > >> % setenv DYLD_INSERT_LIBRARIES <path_to_mysqllib> > >> > >> -Andreas > >> > >> > >> - > >> List info/subscribe/unsubscribe? See > > http://www.freeradius.org/list/users.html > >> > > > > > > - > > List info/subscribe/unsubscribe? See > > http://www.freeradius.org/list/users.html > > > > > -------------- > Andreas Wolf > Apple Computer, Inc. > Technologies, AirPort Engineering > > > - > List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html > - List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html