Re: find-and-load-foreign-library and Oracle

Kevin Rosenberg <kevin-HJRc7zDS/[email protected]> Wed, 18 Jul 2007 22:15:26 -0600
Newsgroups gmane.lisp.clsql.devel
Message-ID <[email protected]>
Ricardo Boccato Alves wrote:
> I think it is in the oracle-loader.lisp at the definition of
> *oracle-client-library-filenames*. This variable is passed to
> find-and-load-foreign-library at the method
> clsql-sys:database-type-load-foreign (the last one defined in that file.

Yes, that looks promising. It appears the Oracle backend was left out
when the change was made to use the OS to find libraries in the
default location that the OS will check. However, I'm not sure if
Oracle typically does puts their library directories the list of
library directories that the OS checks. I know they typically use the
ORACLE_HOME enviromental variable as a base to their the library
directories.

If you're using Linux, would you check if Oracle puts their library
directory in /etc/ld.so.conf file or the LD_LIBRARY_PATH. Or, if
you're using Windows, if the Oracle library location is in the PATH
environmental variable.

Thanks for the help!

-- 
Kevin Rosenberg
[email protected]