I'm attempting to install the RQuantLib package from source, having already installed the requisite quantlib via brew install quantlib
from the terminal.
After first failing to find Boost, but then following this post, I attempted:
> install.packages("RQuantLib", configure.args="--with-boost-include=/usr/local/include/ --with-boost-lib=/usr/local/lib/")
However, this ultimately fails with the following warnings/ errors:
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’
I know little about clang, but it this truly a linker file issue?
Please this (long) thread at the repo as well as the resulting wiki entry.
As the (co-)author/maintainer I don't have an OS X machine, and for me things simply just work on Linux ... Documentation for installation on other OSs has to be user-contributed, and luckily we have some.