We're Moving!

The Vertica Forum is moving to a new OpenText Analytics Database (Vertica) Community.

Join us there to post discussion topics, learn about

product releases, share tips, access the blog, and much more.

Create My New Community Account Now


Error while installing R packages on vertica 7.2 — Vertica Forum

Error while installing R packages on vertica 7.2

Hello,

 

I am trying to install below R packages on vertica 7.2.

 

-xts_0.9-5.tar.gz
-fracdiff_1.4-2.tar.gz
-quadprog_1.5-5.tar.gz
-tseries_0.10-34.tar.gz
-RcppArmadillo_0.3.910.0.tar.gz
-forecast_4.8.tar.gz

 

Content of my install script:

        /opt/vertica/R/bin/R CMD INSTALL  xts_0.9-5.tar.gz

        /opt/vertica/R/bin/R CMD INSTALL  fracdiff_1.4-2.tar.gz
        /opt/vertica/R/bin/R CMD INSTALL  quadprog_1.5-5.tar.gz
        /opt/vertica/R/bin/R CMD INSTALL  tseries_0.10-34.tar.gz
        /opt/vertica/R/bin/R CMD INSTALL  RcppArmadillo_0.3.910.0.tar.gz
        /opt/vertica/R/bin/R CMD INSTALL  forecast_4.8.tar.gz

 

Machine: Red Hat Enterprise Linux Server release 6.5 (Santiago)

However the installation is unsuccessful with below errors:

 

/usr/bin/ld: cannot find -lquadmath
collect2: ld returned 1 exit status
make: *** [xts.so] Error 1
ERROR: compilation failed for package ‘xts’
* removing ‘/opt/vertica/R/library/xts’

 

/usr/bin/ld: cannot find -lquadmath
collect2: ld returned 1 exit status
make: *** [fracdiff.so] Error 1
ERROR: compilation failed for package ‘fracdiff’
* removing ‘/opt/vertica/R/library/fracdiff’

 

/usr/bin/ld: cannot find -lquadmath
collect2: ld returned 1 exit status
make: *** [quadprog.so] Error 1
ERROR: compilation failed for package ‘quadprog’
* removing ‘/opt/vertica/R/library/quadprog’
* installing to library ‘/opt/vertica/R/library’
ERROR: dependency ‘quadprog’ is not available for package ‘tseries’

 

/usr/bin/ld: cannot find -lquadmath
collect2: ld returned 1 exit status
make: *** [RcppArmadillo.so] Error 1
ERROR: compilation failed for package ‘RcppArmadillo’
* removing ‘/opt/vertica/R/library/RcppArmadillo’
* installing to library ‘/opt/vertica/R/library’
ERROR: dependencies ‘tseries’, ‘fracdiff’, ‘RcppArmadillo’ are not available for package ‘forecast’
* removing ‘/opt/vertica/R/library/forecast’

 

Experts and users, please advice what could have been the problem with 7.2 version of vertica and the above mentioned libraries.

 

Thanks in advance.

 

Amarnath

 

 

 

 

 

Leave a Comment

BoldItalicStrikethroughOrdered listUnordered list
Emoji
Image
Align leftAlign centerAlign rightToggle HTML viewToggle full pageToggle lights
Drop image/file