Re: mysql libraries are there BUT not found

2006-07-26 Thread Rob Shepherd

Roger Thomas wrote:

What I have done wrong? Please advise.

--
Roger


I just used --with-mysql-dir=/usr/local/mysql-5.0.21

and it worked.

--
Rob Shepherd | Computer and Network Engineer | Technium CAST | LL57 4HJ
[EMAIL PROTECTED] | 01248 675024 | 07776 210516
- 
List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html


Re: mysql libraries are there BUT not found

2006-07-26 Thread Nicolas Baradakis
Roger Thomas wrote:

 In /usr/local/mysql/lib/mysql I have:
 
 -rw-r--r--1 root mysql   11866 May 15 10:56 libdbug.a
 -rw-r--r--1 root mysql   40304 May 15 10:56 libheap.a
 -rw-r--r--1 root mysql   13536 May 15 10:56 libmerge.a
 -rw-r--r--1 root mysql  313312 May 15 10:56 libmyisam.a
 -rw-r--r--1 root mysql   24982 May 15 10:56 libmyisammrg.a
 -rw-r--r--1 root mysql  480038 May 15 10:57 libmysqlclient.a
 -rwxr-xr-x1 root mysql 879 May 15 10:57 libmysqlclient.la
 lrwxrwxrwx1 root mysql  24 May 15 10:57 libmysqlclient.so - 
 libmysqlclient.so.14.0.0
 lrwxrwxrwx1 root mysql  24 May 15 10:57 libmysqlclient.so.14 
 - libmysqlclient.so.14.0.0
 -rwxr-xr-x1 root mysql  409020 May 15 10:57 
 libmysqlclient.so.14.0.0
 -rw-r--r--1 root mysql  240636 May 15 10:56 libmystrings.a
 -rw-r--r--1 root mysql  256614 May 15 10:56 libmysys.a
 -rw-r--r--1 root mysql   97536 May 15 10:56 libnisam.a
 -rw-r--r--1 root mysql5576 May 15 10:56 libvio.a
 
 What I have done wrong? Please advise.

It looks like you don't have libmysqlclient_r.so, the thread safe
version of the client library.

Either configure MySQL with --enable-thread-safe-client, or configure
FreeRADIUS with --without-threads.

-- 
Nicolas Baradakis

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


Re: mysql libraries are there BUT not found

2006-07-26 Thread Roger Thomas
Quoting Nicolas Baradakis [EMAIL PROTECTED]:

 Roger Thomas wrote:
 
  In /usr/local/mysql/lib/mysql I have:
  
  -rw-r--r--1 root mysql   11866 May 15 10:56 libdbug.a
  -rw-r--r--1 root mysql   40304 May 15 10:56 libheap.a
  -rw-r--r--1 root mysql   13536 May 15 10:56 libmerge.a
  -rw-r--r--1 root mysql  313312 May 15 10:56
 libmyisam.a
  -rw-r--r--1 root mysql   24982 May 15 10:56
 libmyisammrg.a
  -rw-r--r--1 root mysql  480038 May 15 10:57
 libmysqlclient.a
  -rwxr-xr-x1 root mysql 879 May 15 10:57
 libmysqlclient.la
  lrwxrwxrwx1 root mysql  24 May 15 10:57
 libmysqlclient.so - libmysqlclient.so.14.0.0
  lrwxrwxrwx1 root mysql  24 May 15 10:57
 libmysqlclient.so.14 - libmysqlclient.so.14.0.0
  -rwxr-xr-x1 root mysql  409020 May 15 10:57
 libmysqlclient.so.14.0.0
  -rw-r--r--1 root mysql  240636 May 15 10:56
 libmystrings.a
  -rw-r--r--1 root mysql  256614 May 15 10:56 libmysys.a
  -rw-r--r--1 root mysql   97536 May 15 10:56 libnisam.a
  -rw-r--r--1 root mysql5576 May 15 10:56 libvio.a
  
  What I have done wrong? Please advise.
 
 It looks like you don't have libmysqlclient_r.so, the thread safe
 version of the client library.
 
 Either configure MySQL with --enable-thread-safe-client, or
 configure
 FreeRADIUS with --without-threads.
 
 -- 
 Nicolas Baradakis
 
 - 
 List info/subscribe/unsubscribe? See
 http://www.freeradius.org/list/users.html
 


Thank you so much Nicolas.

--
Roger


---
Sign Up for free Email at http://ureg.home.net.my/
---
- 
List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html


mysql libraries are there BUT not found

2006-07-25 Thread Roger Thomas
I received warnings about the unavailability of mysql libraries when I ran 
configure with

-- start of text ---
...
...
configure: warning: mysql libraries not found. Use --with-mysql-lib-dir=path.
configure: warning: sql submodule 'mysql' disabled
configure: warning: silently not building rlm_sql_postgresql.
configure: warning: FAILURE: rlm_sql_postgresql requires:  libpq-fe.h libpq.
configure: warning: oracle headers not found.  Use 
--with-oracle-home-dir=path.
configure: warning: sql submodule 'oracle' disabled
...
...
-- end of text --

Running configure with
# ./configure --with-mysql-lib-dir=/usr/local/mysql/lib/mysql
made no difference. 

In /usr/local/mysql/lib/mysql I have:

-rw-r--r--1 root mysql   11866 May 15 10:56 libdbug.a
-rw-r--r--1 root mysql   40304 May 15 10:56 libheap.a
-rw-r--r--1 root mysql   13536 May 15 10:56 libmerge.a
-rw-r--r--1 root mysql  313312 May 15 10:56 libmyisam.a
-rw-r--r--1 root mysql   24982 May 15 10:56 libmyisammrg.a
-rw-r--r--1 root mysql  480038 May 15 10:57 libmysqlclient.a
-rwxr-xr-x1 root mysql 879 May 15 10:57 libmysqlclient.la
lrwxrwxrwx1 root mysql  24 May 15 10:57 libmysqlclient.so - 
libmysqlclient.so.14.0.0
lrwxrwxrwx1 root mysql  24 May 15 10:57 libmysqlclient.so.14 - 
libmysqlclient.so.14.0.0
-rwxr-xr-x1 root mysql  409020 May 15 10:57 libmysqlclient.so.14.0.0
-rw-r--r--1 root mysql  240636 May 15 10:56 libmystrings.a
-rw-r--r--1 root mysql  256614 May 15 10:56 libmysys.a
-rw-r--r--1 root mysql   97536 May 15 10:56 libnisam.a
-rw-r--r--1 root mysql5576 May 15 10:56 libvio.a


What I have done wrong? Please advise.

--
Roger



---
Sign Up for free Email at http://ureg.home.net.my/
---
- 
List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html