lballabio/quantlib — pull request #126 by JackieJin (2014-08-05 22:50:52+00:00)
Title: QuantLib installation on Mac OS X

Hi there,
I tried to get Quantlib installed on my Mac OS X. I followed the installation on the official website http://quantlib.org/install/macosx.shtml. Everything works fine and I can use g++ -I/opt/local/include/ -I/opt/local/include/boost BermudanSwaption.cpp -o bermudanswaption -L/opt/local/lib/ -lQuantLib to compile and run.
The Appendix: Boost configuration really makes me suffer. No matter if I put export DYLD_LIBRARY_PATH=/opt/local/lib in the .bash_profile, I cannot link QuantLib against .o files, which means I have to type " g++ bermudanswaption -L/opt/local/lib/ -lQuantLib " manually to make it work.