Error In Solve.defaultrgb Lapack Routines Cannot Be Loaded
communities company blog Stack Exchange Inbox Reputation and Badges sign up log in tour help Tour Start here for a quick overview of the site Help Center Detailed answers to any questions you might have Meta Discuss the workings and policies of this site About Us Learn more about Stack Overflow the company Business Learn more about hiring developers or posting ads with us Ask Ubuntu Questions Tags Users Badges Unanswered Ask Question _ Ask Ubuntu is a question and answer site for Ubuntu users and developers. Join them; it only takes a minute: Sign up Here's how it works: Anybody can ask a question Anybody can answer The best answers are voted up and rise to the top Compiling old versions of R (2.11 or older) on Ubuntu 13.10 (or newer)? up vote 1 down vote favorite I am trying to compile an old version of R (2.11.1, specifically). "Why?", you might ask. Well, I have a program I am trying to run (that was not written by me, but I am hoping to use in my research) that was written in "old" R, and the program writer has specifically mentioned that R-2.11.1 or older must be used. I have run ./configure with no obvious errors (the entire output being far too long to post here, but I have been warned that I cannot make PDF, DVI, or HTML versions of the help pages, which I'm not too concerned about). Next, when I pass the make command, I am met with the following error (after a long stream of successful commands): Warning in solve.default(rgb): unable to load shared library '/home/sbowerma/Programs/R-2.11.1/modules//lapack.so': /home/sbowerma/Programs/R-2.11.1/lib/libRlapack.so: undefined symbol: _gfortran_compare_string Error in solve.default(rgb) : lapack routines cannot be loaded Error: unable to load R code in package 'grDevices' Execution halted However, I have confirmed that the library lapack.so is, in fact, in the exact position it is supposed to be. 13.10 14.04 compiling r share|improve this question edited Jun 9 '14 at 20:59 user.dz 23.1k952106 asked Jun 9 '14 at 19:44 Sam 62 add a comment| 1 Answer 1 active oldest votes up vote 0 down vote The R-2.11.1 build process appears to compile its own versions of the BLAS and LAPACK libraries (as R-2.11.1/lib/libRblas.so and R-2.11.1/lib/libRlapack.so) by default - even if system versions of these libraries are available. For reasons I was not able to determine, these locally-built libs do not seem to proper
here for a quick overview of the site Help Center Detailed answers to any questions you might have Meta Discuss the workings and policies of this site About Us Learn more about Stack Overflow the company Business Learn more about hiring developers or posting ads with us Stack Overflow Questions Jobs Documentation Tags Users Badges Ask Question x Dismiss Join the Stack Overflow Community Stack Overflow is a community of 4.7 million programmers, just like you, helping each other. Join them; it only takes a minute: Sign up R lapack routines cannot be loaded up vote 3 http://askubuntu.com/questions/481022/compiling-old-versions-of-r-2-11-or-older-on-ubuntu-13-10-or-newer down vote favorite I usually ran different statistical analysis in R with routines that use lapack like gam() lm(), etc but after several updates of libraries the following error appears: library(mgcv) This is mgcv 1.7-22. For overview type 'help("mgcv-package")'. model <- with(chlaR,gam(ClorMAX ~ s(DegDay_NM))) Error en eigen(St, symmetric = TRUE) : lapack routines cannot be loaded Además: Mensajes de aviso perdidos In eigen(St, symmetric = TRUE) : http://stackoverflow.com/questions/13476736/r-lapack-routines-cannot-be-loaded unable to load shared object '/usr/lib/R/modules//lapack.so': /usr/lib/R/modules//lapack.so: undefined symbol: dpstrf_ The version information is: platform i686-pc-linux-gnu arch i686 os linux-gnu system i686, linux-gnu status major 2 minor 15.2 year 2012 month 10 day 26 svn rev 61015 language R I am using Ubuntu 12.04.1 LTS UPDATE: I have checked the lapack.so library leonardo@LyP:~$ ldd /usr/lib/R/modules/lapack.so linux-gate.so.1 => (0x009ec000) libR.so => /usr/lib/libR.so (0x0023a000) liblapack.so.3gf => /usr/lib/liblapack.so.3gf (0x00ba3000) libblas.so.3gf => /usr/lib/libblas.so.3gf (0x00186000) ... checking the object leonardo@LyP:~$ R CMD objdump -T /usr/lib/liblapack.so.3gf|grep dpstrf 00327f10 g DF .text 000024d4 Base dpstrf_ but R CMD ldd /usr/lib/R/modules/lapack.so linux-gate.so.1 => (0x009f5000) libR.so => /usr/lib/R/lib/libR.so (0x00110000) liblapack.so.3gf => /usr/lib/R/lib/liblapack.so.3gf (0x009f6000) libblas.so.3gf => /usr/lib/R/lib/libblas.so.3gf (0x11eef000) R links to another library and searching for the object: leonardo@LyP:~$ R CMD objdump -T /usr/lib/R/lib/liblapack.so.3gf|grep dpstrf gives empty Any ideas? r ubuntu-12.04 lapack share|improve this question edited Apr 25 at 9:11 Llopis 1,9081027 asked Nov 20 '12 at 15:41 Leosar 6541921 Does R CMD objdump -T /usr/lib/liblapack.so.3gf|grep dpstrf say something sensible? Also, though I doubt it's the problem, you want to R CMD ldd /usr/lib/R/modules/lapack.so to get ldd to run in the environment that R sets up. –Martin Morgan Nov 24 '12 at 21:25 it find the
issue with ld.gold Status: CLOSED NOT REPRODUCIBLE Alias: https://groups.google.com/d/topic/sage-devel/VGuP7lBq46Y None Product: R Classification: Unclassified Component: Installation (show other bugs) Version: R 2.14.1 Hardware: x86_64/x64/amd64 (64-bit) Linux-Ubuntu Importance: P5 enhancement Assignee: R-core URL: Depends on: Blocks: Reported: 2012-02-15 23:44 UTC by Brandon error in Modified: 2015-12-14 13:48 UTC (History) CC List: 0 users See Also: Attachments Add an attachment (proposed patch, testcase, etc.) Note You need to log in before you can comment on or make changes to this bug. Description Brandon 2012-02-15 23:44:19 UTC error in solve.defaultrgb On a clean install of Ubuntu 11.10 x86_64 using ld.gold, the compile fails with: .... byte-compiling package 'grDevices' Warning in solve.default(rgb) : unable to load shared object '/home/bghill/Downloads/R-2.14.1/modules//lapack.so': /home/bghill/Downloads/R-2.14.1/lib/libRlapack.so: undefined symbol: _gfortran_compare_string Error in solve.default(rgb) : lapack routines cannot be loaded Error: unable to load R code in package 'grDevices' Execution halted make[4]: *** [../../../library/grDevices/R/grDevices.rdb] Error 1 make[4]: Leaving directory `/home/bghill/Downloads/R-2.14.1/src/library/grDevices' make[3]: *** [all] Error 2 make[3]: Leaving directory `/home/bghill/Downloads/R-2.14.1/src/library/grDevices' make[2]: *** [R] Error 1 make[2]: Leaving directory `/home/bghill/Downloads/R-2.14.1/src/library' make[1]: *** [R] Error 1 make[1]: Leaving directory `/home/bghill/Downloads/R-2.14.1/src' make: *** [R] Error 1 ldd reports: $ ldd lib/libRlapack.so linux-vdso.so.1 => (0x00007fff7e9ff000) libRblas.so => not found libpthread.so.0 => /lib/x86_64-linux-gnu/libpthread.so.0 (0x00007fa2cf8a2000) libc.so.6 => /lib/x86_64-linux-gnu/libc.so.6 (0x00007fa2cf502000) /lib64/ld-linux-x86-64.so.2 (0x00007fa2cfc56000) $ ldd lib/libRblas.so linux-vdso.so.1 => (0x00007f
von GoogleAnmeldenAusgeblendete FelderNach Gruppen oder Nachrichten suchen