> vic ismakaev <[EMAIL PROTECTED]> wrote:
> > I have an iODBC installed on non-standart place(/usr/include/iodbc,
> > /usr/lib/iodbc).
> > Which options should I use in configure script in this case?
> > I tried ./configure --with-odbc-lib-dir=/usr/lib/iodbc
> > --with-odbc-include-dir=/usr/include/iodbc , but that did nothing.
>
>   OK, I've just added a 'configure' script for the iodbc module.
>
>   In the mean time, do:
>
> $ cd src/modules/rlm_sql/drivers/rlm_sql_iodbc/
> $ vi Makefile
>
>   and poke at it until it compiles.
Thanks for configue script. It works fine.But I have one question -
why You use an "-lodbc"?
iODBC.org libs have a name libiodbc*.so(a,la).
May be change "-lodbc" to "-liodbc"?

############Makefile in modules/rlm_sql/drivers/rlm_sql_iodbc #####
# Generated automatically from Makefile.in by configure.
include ../../../../../Make.inc

TARGET         = rlm_sql_iodbc
SRCS           = sql_iodbc.c
HEADERS        = sql_iodbc.h
RLM_SQL_CFLAGS =  -I/usr/include/iodbc $(INCLTDL)
- RLM_SQL_LIBS   =  -L/usr/lib -lodbc -lnsl -lresolv -lpthread  -lpthread
+ RLM_SQL_LIBS   =  -L/usr/lib -liodbc -lnsl -lresolv -lpthread  -lpthread
############################################################

PS Sorry for my english.

Regards
Victor V Ismakaev

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

Reply via email to