-----Original Message-----
From: Deramus, Chris
Sent: Sunday, December 14, 2003 11:09 PM
To: '[EMAIL PROTECTED]'
Subject: RE: MySQL Help!Chris,
Thanks for the input, however, when I updated the configure script with your extra code configure would not find lmysqlclient and prompted that I specify the path to the library files by using --with-mysql-lib= When I put in the path to the MySQL library files, it still would not find lmysqlclient.
Any other thoughts? If I get it I'll be sure to let you know what it was, thanks so much.
Chris DeRamus
OCIO VPN Administrator
SAIC
-----Original Message-----
From: Chris Parker [mailto:[EMAIL PROTECTED]]
Sent: Friday, December 12, 2003 5:14 PM
To: [EMAIL PROTECTED]
Subject: Re: MySQL Help!
At 03:42 PM 12/12/2003, Rob Genovesi wrote:
>oh boy, I remember kicking this around for ever as well ...
>
>My solution was to 1) be sure you have development rpms installed and
>2)
>do not use "--disable-shared" when running configure. I don't know
>exactly why this changed things, but compiling with shared libraries it
>was able to find and use all the necessary mysql libs and includes.
>
>I installed the following MySQL rpms (Redhat) :
> MySQL-devel-4.0.16-0
> MySQL-shared-compat-4.0.16-0
> MySQL-client-4.0.16-0
> MySQL-server-4.0.16-0Aha. Mysql4 changes some stuff. On Solaris we had to change some of the Makefiles manually to get all of the appropriate libs included to build the rlm_mysql driver built. It may be the same on RH as well.
Helpfully, MySQL 3 build syntax is not totally workable with MySQL 4 at least as far as FR is concerned.
-Chris
--
\\\|||/// \ StarNet Inc. \ Chris Parker
\ ~ ~ / \ WX *is* Wireless! \ Director, Engineering
| @ @ | \ http://www.starnetwx.net \ (847) 963-0116
oOo---(_)---oOo--\------------------------------------------------------
\ Wholesale Internet Services - http://www.megapop.net
-
List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html
Title: Message
To
all,
I finall got it,
go figure it was a very obvious answer. I simply re-configured FreeRADIUS using
./configure --with-static-modules="sql sql_mysql" command. When I executed a
make, it errored out saying it could not find ../modules/rlm_sql_mysql. I simply
made a symbolic link to include the rlm_sql_mysql sub-directory in the
../modules/ directory and re-ran make. Everything works great now,
thanks!
Cordially,
Chris
DeRamus
OCIO VPN
Administrator
SAIC