For infos,

the package file installl it correctly, but I still got undefined symbol
dlcompat: Symbol "_rlm_expr"

So I think it's the configuration of my system itself that should be
corrupt.

Are you using a complete panther installation or an update of 10.2.8 to
panther ?

Thanks for your help

PS: great job for the package, I wish to be able to make it work and so
maybe provide you some key info to make your help you make your pkg work on
more Panther version ...

Julien

----- Original Message -----
From: "Julien Gabry" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Tuesday, November 18, 2003 6:54 AM
Subject: Re: OSX Installation Using Mysql


> Ok thanks you very much again Andreas...
>
> in fact I can make it work if I don't use any option on the configure, but
> there is just Mysql module working.
> But for all All other module
>
> radiusd.conf[1186] Failed linking to rlm_expr structure in radiusd.conf:
> dlcompat: Symbol "_rlm_expr" not found
> And the same for all other module (except mysql)
>
> on the other way by disabling shared
> Everything work except mysql ...
>
> so I m working on a way to build static rlm_mysql and dynamic for other
> module (for now without success)
>
> Thanks for your package, I will try it in a few minutes.
>
> (some info about my system )
> mysql 4.0.13 (apple binary)
> Panther 10.3
> Devtools provided on Panther cd 4 (MAC OS X Xcode Tools)
> gcc (GCC) 3.3 20030304 (Apple Computer, Inc. build 1495)
>
> Thanks for your help
>
> ++
> Julien
>
>
> ----- Original Message -----
> From: "Andreas Wolf" <[EMAIL PROTECTED]>
> To: <[EMAIL PROTECTED]>
> Sent: Tuesday, November 18, 2003 6:07 AM
> Subject: Re: OSX Installation Using Mysql
>
>
> >
> > On Nov 17, 2003, at 1:40 PM, Julien Gabry wrote:
> >
> > > 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...
> >
> > Since Panther I simply need to do
> >
> > % ./configure
> > % make
> > % sudo make install
> >
> > (well, you might have to specify the path to the mysql libs and headers
> > depending
> > on your installation).
> >
> > Since snapshots aren't always guaranteed to work on every platform
> > you either have to be patient or make your own modifications to make it
> > work
> > (monitoring the postings here also helps a lot of times).
> > I did the latter for a recent snapshot and it works for me now (yes,
> > incl. MySQL).
> > see
> > http://homepage.mac.com/andreaswolf/public/freeradius_installer.html
> >
> > for the diffs. The modifications are minor.
> >
> > -A
> >
> >
> >
> >
> > > 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
>


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

Reply via email to