Maurice, It's possible that your header and lib files aren't in:
/usr/local/mysql/lib /usr/local/mysql/include But are indeed in: /usr/local/mysql/lib/mysql /usr/local/mysql/include/mysql If that's the case, I would symlink directly to those dirs: ln -s /usr/local/mysql/lib/mysql /usr/lib/mysql ln -s /usr/local/mysql/include/mysql /usr/include/mysql Jeremy On Wednesday 06 February 2002 03:10 pm, you wrote: > Maurice, > > Maybe try symlinking those two dirs to commonly looked at places. Example: > > ln -s /usr/local/mysql/include /usr/include/mysql > ln -s /usr/local/mysql/lib /usr/lib/mysql > > Don't know if it will work but you can give it a shot. > > Jeremy > > On Wednesday 06 February 2002 02:14 pm, you wrote: > > Hi Alan > > > > No good luck. > > I have the same problem that was posted by Robert Abbate in 14 Nov 2001. > > Don't find mysql.h., but this library is present in > > /usr/local/mysql/include. > > If i go in dir "rlm_sql_mysql" and i launch ./configure., this is the > > result: > > > > bash-2.03# > > ./configure --disable-shared > > --with-mysql-include-dir=/usr/local/mysql/inclu de/ > > loading cache ./config.cache > > checking for gcc... (cached) gcc > > checking whether the C compiler (gcc ) works... yes > > checking whether the C compiler (gcc ) is a cross-compiler... no > > checking whether we are using GNU C... (cached) yes > > checking whether gcc accepts -g... (cached) yes > > checking how to run the C preprocessor... (cached) gcc -E > > checking for compress in -lz... (cached) yes > > checking for mysql/mysql.h... no > > configure: warning: mysql headers not found. > > Use --with-mysql-include-dir=<path>. > > configure: warning: sql submodule 'mysql' disabled > > creating ./config.status > > creating Makefile > > > > I have no more ideas !! Help me > > > > > -----Messaggio originale----- > > > Da: [EMAIL PROTECTED] > > > [mailto:[EMAIL PROTECTED]]Per conto di Alan DeKok > > > Inviato: mercoledì 6 febbraio 2002 18.23 > > > A: [EMAIL PROTECTED] > > > Oggetto: Re: Always on "rlm_sql: Could not link driver rlm_sql_mysql" > > > > > > "Maurice Foschiatti" <[EMAIL PROTECTED]> wrote: > > > > We have tried to install FreeRadius 0.4 on ur server Sun > > > > > > (Solaris 8.0), > > > > > > > with MySQL as our RDBM (it is installed on /usr/local/mysql, > > > > > > the libraies > > > > > > > are on /usr/local/mysql/lib and /usr/local/mysql/include). It > > > > > > works on the > > > > > > > 'text version', but when we tried to work with mysql it return > > > > > > the 'usual > > > > > > > error': > > > > > > Do you have the *shared* versions of the mysql libraries installed? > > > > > > If all else fails, do: > > > > > > ./configure --disable-shared > > > > > > and you will avoid the problem. > > > > > > Alan DeKok. > > > > > > - > > > 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 - List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html