RE: RedHat Enterprise 2.1, FreeRadius 0.9.3 with MySQL

2003-12-12 Thread Deramus, Chris
Here's the output from the box, as you can see I have the development
package. Any other thoughts?

[EMAIL PROTECTED] -rpm -qa | grep mysql
mysqlclient9-3.23.22-8
mysql-devel-3.23.58-1.72
mysql-3.23.58-1.72
php-mysql-4.1.2-2.1.6
mysql-server-3.23.58-1.72
mod_auth_mysql-1.11-1

Thanks!

Chris DeRamus


-Original Message-
From: NetNITCO Systems Administration [mailto:[EMAIL PROTECTED] 
Sent: Thursday, December 11, 2003 5:26 PM
To: [EMAIL PROTECTED]
Subject: Re: RedHat Enterprise 2.1, FreeRadius 0.9.3 with MySQL


On Thu, 2003-12-11 at 16:00, Deramus, Chris wrote:
 To all --
 
 I recently upgraded my development RADIUS box which was running RedHat 
 8.0 to RedHat Enterprise Linux 2.1 ES. This was a fresh install which 
 included all Mysql related packages contained on the CD's. It was 
 noted that the Enterprise installation did not contain a Mysql-devel 
 package, I am assuming it is now bundled in with one of the other 
 rpm's. I tested SQL queries from both web applications and command 
 line and everything seemed to be a go so I then configured freeradius.
 
I believe you are mistaken.  The current MySQL development package for RHEL
ES 2.1 is mysql-devel-3.23.58-1.72.

You can grab the package from the RHEL installation media, or, you can
download the SRPM from a Red Hat mirror and rebuild the package:

ftp://redhat.netnitco.net/pub/mirrors/redhat/updates/enterprise/2.1ES/en/os/
SRPMS/mysql-3.23.58-1.72.src.rpm

 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[4]: sql: Module instantiation failed.
 
You'll get this until you compile FreeRADIUS with the MySQL development
libraries installed.



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


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


RE: RedHat Enterprise 2.1, FreeRadius 0.9.3 with MySQL

2003-12-12 Thread NetNITCO Systems Administration
On Fri, 2003-12-12 at 08:18, Deramus, Chris wrote:
 Here's the output from the box, as you can see I have the development
 package. Any other thoughts?
 
 [EMAIL PROTECTED] -rpm -qa | grep mysql
 mysqlclient9-3.23.22-8
 mysql-devel-3.23.58-1.72
 mysql-3.23.58-1.72
 php-mysql-4.1.2-2.1.6
 mysql-server-3.23.58-1.72
 mod_auth_mysql-1.11-1
 

Recompile with options:

--with-rlm-sql-lib-dir=/usr/lib/mysql
--with-rlm-sql-include-dir=/usr/include/mysql

Give that a try.

--Josh Snyder, Linux/UNIX Systems Administrator
NetNITCO Internet Services
[EMAIL PROTECTED]
http://www.netnitco.net



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


RE: RedHat Enterprise 2.1, FreeRadius 0.9.3 with MySQL

2003-12-12 Thread Deramus, Chris
I also mis-typed my message. The package that I was talking about was
mysql-shared not mysql-devel. I do not think you need mysql-shared though,
or do you?

Thanks,

Chris DeRamus
OCIO VPN Administrator
SAIC


-Original Message-
From: NetNITCO Systems Administration [mailto:[EMAIL PROTECTED] 
Sent: Thursday, December 11, 2003 5:26 PM
To: [EMAIL PROTECTED]
Subject: Re: RedHat Enterprise 2.1, FreeRadius 0.9.3 with MySQL


On Thu, 2003-12-11 at 16:00, Deramus, Chris wrote:
 To all --
 
 I recently upgraded my development RADIUS box which was running RedHat 
 8.0 to RedHat Enterprise Linux 2.1 ES. This was a fresh install which 
 included all Mysql related packages contained on the CD's. It was 
 noted that the Enterprise installation did not contain a Mysql-devel 
 package, I am assuming it is now bundled in with one of the other 
 rpm's. I tested SQL queries from both web applications and command 
 line and everything seemed to be a go so I then configured freeradius.
 
I believe you are mistaken.  The current MySQL development package for RHEL
ES 2.1 is mysql-devel-3.23.58-1.72.

You can grab the package from the RHEL installation media, or, you can
download the SRPM from a Red Hat mirror and rebuild the package:

ftp://redhat.netnitco.net/pub/mirrors/redhat/updates/enterprise/2.1ES/en/os/
SRPMS/mysql-3.23.58-1.72.src.rpm

 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[4]: sql: Module instantiation failed.
 
You'll get this until you compile FreeRADIUS with the MySQL development
libraries installed.



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


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


RE: RedHat Enterprise 2.1, FreeRadius 0.9.3 with MySQL

2003-12-12 Thread Deramus, Chris
Title: RE: RedHat Enterprise 2.1, FreeRadius 0.9.3  with MySQL





I have check the FreeRADIUS FAQ and followed the instructions. My ld.so.conf file has been setup correcly and is pointing the respective library dependencies and it still is giving me the same error. I have also attempted ./configure --disable-shared and still no go. I know I do not need mysql-shared, I am honestly stumped.

Sorry to keep this thread going, I just can't seem to find much documentation on any extra steps required when running this new distro of RedHat.

Thanks,


Chris DeRamus



-Original Message-
From: NetNITCO Systems Administration [mailto:[EMAIL PROTECTED]] 
Sent: Thursday, December 11, 2003 5:26 PM
To: [EMAIL PROTECTED]
Subject: Re: RedHat Enterprise 2.1, FreeRadius 0.9.3 with MySQL



On Thu, 2003-12-11 at 16:00, Deramus, Chris wrote:
 To all --
 
 I recently upgraded my development RADIUS box which was running RedHat 
 8.0 to RedHat Enterprise Linux 2.1 ES. This was a fresh install which 
 included all Mysql related packages contained on the CD's. It was 
 noted that the Enterprise installation did not contain a Mysql-devel 
 package, I am assuming it is now bundled in with one of the other 
 rpm's. I tested SQL queries from both web applications and command 
 line and everything seemed to be a go so I then configured freeradius.
 
I believe you are mistaken. The current MySQL development package for RHEL ES 2.1 is mysql-devel-3.23.58-1.72.


You can grab the package from the RHEL installation media, or, you can download the SRPM from a Red Hat mirror and rebuild the package:

ftp://redhat.netnitco.net/pub/mirrors/redhat/updates/enterprise/2.1ES/en/os/SRPMS/mysql-3.23.58-1.72.src.rpm


 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[4]: sql: Module instantiation failed.
 
You'll get this until you compile FreeRADIUS with the MySQL development libraries installed.




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





Re: RedHat Enterprise 2.1, FreeRadius 0.9.3 with MySQL

2003-12-11 Thread NetNITCO Systems Administration
On Thu, 2003-12-11 at 16:00, Deramus, Chris wrote:
 To all --
 
 I recently upgraded my development RADIUS box which was running RedHat
 8.0 to RedHat Enterprise Linux 2.1 ES. This was a fresh install which
 included all Mysql related packages contained on the CD's. It was
 noted that the Enterprise installation did not contain a Mysql-devel
 package, I am assuming it is now bundled in with one of the other
 rpm's. I tested SQL queries from both web applications and command
 line and everything seemed to be a go so I then configured freeradius.
 
I believe you are mistaken.  The current MySQL development package for
RHEL ES 2.1 is mysql-devel-3.23.58-1.72.

You can grab the package from the RHEL installation media, or, you can
download the SRPM from a Red Hat mirror and rebuild the package:

ftp://redhat.netnitco.net/pub/mirrors/redhat/updates/enterprise/2.1ES/en/os/SRPMS/mysql-3.23.58-1.72.src.rpm

 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[4]: sql: Module instantiation failed. 
 
You'll get this until you compile FreeRADIUS with the MySQL development
libraries installed.



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