compiling freeradius with oracle support

Alan DeKok aland at deployingradius.com
Sat Aug 30 08:49:48 CEST 2008


Alexandre Chapellon wrote:
> In fact i had to set RLM_SQL_LIBS to -L/opt/oracle/instantclient_11_1/
> -lclntsh -lm
> in the Makefile of rlm_sql_oracle (which is done by configure script
> when it works).

  It wasn't working?

> and create a missing symlink in the oracle instantclient: libclntsh.so
> -> libclntsh.so.11

  That would help, yes.  That was likely the cause of much of the
problems.  I'll bet that if you re-ran configure after making that
change, it would Just Work.

> the problem is, when you use wrapper as dpkg-buildpackage you can't run
> configure first, change one Makefileand then make.... so at the moment
> building without oracle support and have a tar.gz containing oracle
> module (compiled afterwards) seems the only soutions.... it's a bit
> tricky but works and is still helpfull for massive deployement.

  Ah.  Another wrapper layer around the build system makes it even
harder to get it to work.

  Alan DeKok.



More information about the Freeradius-Users mailing list