Bugzilla – Bug 3119
Support for building against unixODBC
Last modified: 2005-10-27 13:19:36
You need to
before you can comment on or make changes to this bug.
The server needs to link with -lodbc instead of -liodbc. Should be able to
handle this in the configuration.
Configure and Makefile sources have been modified to support building RLS
against unixODBC. Tested against unixODBC 2.2.8 and 2.2.11.
Created an attachment (id=726) [details]
Patch for Makefile.am
Created an attachment (id=727) [details]
Patch for configure.in
Just to be clear, the fixes (as seen in patches) are commited to CVS HEAD.
Usage instructions, when using ./configure:
Usage instructions, when using gpt-build:
setenv GLOBUS_UNIXODBC_LIBS ...
setenv GLOBUS_UNIXODBC_INCLUDES ...
setenv GLOBUS_IODBC_LIBS ...
setenv GLOBUS_IODBC_INCLUDES ...
If you set some combination of the above, configure will favor IODBC over
UNIXODBC settings and will favor the old IODBC_PATH over the new LIBS and
INCLUDES form. There is no GLOBUS_UNIXODBC_PATH as the new form is the prefered one.