我試圖從源碼安裝RQuantLib軟件包,已經通過終端從brew install quantlib
安裝了必要的quantlib。在Mac上安裝RQuantlib軟件包10.12.1
第一沒有找到升壓後,但隨後following this post,我嘗試:
> install.packages("RQuantLib", configure.args="--with-boost-include=/usr/local/include/ --with-boost-lib=/usr/local/lib/")
然而,這最終失敗,出現以下警告/錯誤:
ld: 180 duplicate symbols for architecture x86_64
clang: error: linker command failed with exit code 1 (use -v to see invocation)
make: *** [RQuantLib.so] Error 1
ERROR: compilation failed for package ‘RQuantLib’
我知之甚少鐺,但它真的是一個鏈接文件問題?