Bug 3119 - Support for building against unixODBC
: Support for building against unixODBC
Status: RESOLVED FIXED
: Replica Location
RLS
: development
: PC Linux
: P3 enhancement
: ---
Assigned To:
:
:
:
:
  Show dependency treegraph
 
Reported: 2005-04-08 18:16 by
Modified: 2005-10-27 13:19 (History)


Attachments
Patch for Makefile.am (582 bytes, patch)
2005-10-26 20:51, Rob S
Details
Patch for configure.in (2.04 KB, patch)
2005-10-26 20:51, Rob S
Details


Note

You need to log in before you can comment on or make changes to this bug.


Description From 2005-04-08 18:16:47

    
------- Comment #1 From 2005-04-08 18:17:56 -------
The server needs to link with -lodbc instead of -liodbc. Should be able to
handle this in the configuration.
------- Comment #2 From 2005-10-26 20:48:01 -------
Configure and Makefile sources have been modified to support building RLS
Server
against unixODBC. Tested against unixODBC 2.2.8 and 2.2.11.
------- Comment #3 From 2005-10-26 20:51:00 -------
Created an attachment (id=726) [details]
Patch for Makefile.am
------- Comment #4 From 2005-10-26 20:51:25 -------
Created an attachment (id=727) [details]
Patch for configure.in
------- Comment #5 From 2005-10-26 20:52:01 -------
Just to be clear, the fixes (as seen in patches) are commited to CVS HEAD.
------- Comment #6 From 2005-10-27 13:19:36 -------
Usage instructions, when using ./configure:

--with-unixODBC-libs=...
--with-unixODBC-includes=...
--with-iodbc-libs=...
--with-iodbc-includes=...

Usage instructions, when using gpt-build:

setenv GLOBUS_UNIXODBC_LIBS ...
setenv GLOBUS_UNIXODBC_INCLUDES ...
or
setenv GLOBUS_IODBC_LIBS ...
setenv GLOBUS_IODBC_INCLUDES ...
and
unsetenv GLOBUS_IODBC_PATH

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.