2012-12-07 74 views
8

運行Ubuntu 12.04。最後從2.12升級到2.15.2,當我開始R時,我得到這個錯誤。升級到R 2.15.2無法加載統計信息包

Error in dyn.load(file, DLLpath = DLLpath, ...) : 
    unable to load shared object '/usr/lib/R/library/stats/libs/stats.so': 
    /usr/lib/liblapack.so.3gf: undefined symbol: ATL_chemv 
During startup - Warning message: 
package ‘stats’ in options("defaultPackages") was not found 

編輯:

$ dpkg -l | grep "blas\|atlas" 
ii libatlas3gf-base        3.8.4-3build1         Automatically Tuned Linear Algebra Software, generic shared 
ii libblas-dev         1.2.20110419-2ubuntu1       Basic Linear Algebra Subroutines 3, static library 
ii libblas3gf          1.2.20110419-2ubuntu1       Basic Linear Algebra Reference implementations, shared library 
ii libopenblas-base        0.1alpha2.2-3         Optimized BLAS (linear algebra) library based on GotoBLAS2 
ii libopenblas-dev        0.1alpha2.2-3         Optimized BLAS (linear algebra) library based on GotoBLAS2 

任何人有這個問題,或者知道如何解決?

+2

你怎麼升級? – Dason

+0

添加了deb http:// /bin/linux/ubuntu precise/repository。然後只是sudo apt-get更新。 sudo apt-get upgrade – sayhey69

+0

請向您的問題添加'dpkg -l | grep「blas \ | atlas」' – GSee

回答

9

應卸載libopenblas-base

更多看到這個:http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=638236


在我的盒子:

$ dpkg -l | grep "blas\|atlas" 
ii libatlas-dev         3.8.4-3build1       Automatically Tuned Linear Algebra Software, C header files 
ii libatlas3gf-base        3.8.4-3build1       Automatically Tuned Linear Algebra Software, generic shared 
ii libblas-dev         1.2.20110419-2ubuntu1     Basic Linear Algebra Subroutines 3, static library 
ii libblas3gf          1.2.20110419-2ubuntu1     Basic Linear Algebra Reference implementations, shared library 
ii liblastfm0          0.4.0~really0.3.3-0ubuntu1    The Last.fm web services library 
+1

CRAN/debian維護者有沒有辦法在包過程中管理這個衝突? –

+1

謝謝。這是一個常見問題嗎? – sayhey69

+0

@ sayhey69,我不知道這是否很常見。當我安裝了革命性的mkl時,我遇到了類似的問題,所以我知道在哪裏看。 – GSee