Skip to content
Prev 366915 / 398506 Next

Help Installing RODBC with custom header locations

Hi Marc,

Thank you so much for your response. I'll keep in mind R-SIG-DB for future reference.

Just to close this loop, what ultimately did the trick was:

1. Setting the following environment variables
LD_LIBRARY_PATH=/gpfs/grid/progress/lib:$LD_LIBRARY_PATH
ODBCINI=/gpfs/grid/progress/odbc.ini
ODBCINST=/gpfs/grid/progress/odbcinst.ini

2. Running this install command `install.packages("RODBC", configure.args = "--with-odbc-include=/gpfs/grid/progress/include/ --with-odbc-lib=/gpfs/grid/progress/lib/")`

Thank you for your help and have a good day,
Ivan G.


-----Original Message-----
From: Marc Schwartz [mailto:marc_schwartz at me.com] 
Sent: Wednesday, February 01, 2017 10:31 AM
To: Ivan Gomez <igomez at zencos.com>
Cc: R-help <r-help at r-project.org>
Subject: Re: [R] Help Installing RODBC with custom header locations
Hi,

For future reference, this subject matter should go to R-SIG-DB:

  https://stat.ethz.ch/mailman/listinfo/r-sig-db


You can use an invocation along the lines of:

install.packages("RODBC",
                 configure.args = "--with-odbc-include=/gpfs/grid/progress/include/")

where the 'configure.args' argument has the FULL path to the header files.

There is detailed installation information in the vignette for the package on CRAN:

  https://cran.r-project.org/web/packages/RODBC/vignettes/RODBC.pdf


Regards,

Marc Schwartz