On 28 May 2009 at 03:23, Arnaud Battistella wrote: | Hi, | Concerning the boost version I have some 1.34 and 1.37 ...
Maybe that creates a side effect? I need to switch to the new scheme anyway. | See detail under. About quantlib-examples, I'm not sure to understand what | you are referring to, there is not executable with this name; If any of the examples run, or if they also get Boost loading issues, eg I can run Bonds just fine: e...@ron:~> Bonds Today: Monday, September 15th, 2008 Settlement date: Thursday, September 18th, 2008 ZC Fixed Floating ------------------------------------------------ Net present value 100.92 107.67 102.36 Clean price 100.92 106.13 101.80 Dirty price 100.92 107.67 102.36 Accrued coupon 0.00 1.54 0.56 Previous coupon N/A 4.50 % 2.89 % Next coupon N/A 4.50 % 3.43 % Yield 3.00 % 3.65 % 2.20 % Sample indirect computations (for the floating rate bond): ------------------------------------------------ Yield to Clean Price: 101.80 Clean Price to Yield: 2.20 % Run completed in 0 s e...@ron:~> | still, quantlib-benchmark and quantlib-test-suite work as | expected. However, if you refer to RQuantLib examples, they do not run as | the RQuantLib functions do not load at all. Yes, I will need to take a closer look. I'm sure that if you rebuilt it locally it'll probably work. | Let me know if you need more information. | Thanks for your work! Thanks for the feedback! Dirk | A. | | arn...@###:~$ dpkg -l | grep libboost | ii libboost-date-time-dev 1.34.1-15+b1 set of date-time libraries based on generic | ii libboost-date-time1.34.1 1.34.1-15+b1 set of date-time libraries based on generic | ii libboost-dev 1.34.1-15+b1 Boost C++ Libraries development files | ii libboost-doc 1.34.1-15 Boost.org libraries documentation | ii libboost-filesystem-dev 1.34.1-15+b1 filesystem operations (portable paths, itera | ii libboost-filesystem1.34.1 1.34.1-15+b1 filesystem operations (portable paths, itera | ii libboost-filesystem1.37.0 1.37.0-9 filesystem operations (portable paths, itera | ii libboost-graph-dev 1.34.1-15+b1 generic graph components and algorithms in C | ii libboost-graph1.34.1 1.34.1-15+b1 generic graph components and algorithms in C | ii libboost-iostreams-dev 1.34.1-15+b1 Boost.Iostreams Library development files | ii libboost-iostreams1.34.1 1.34.1-15+b1 Boost.Iostreams Library | ii libboost-iostreams1.37.0 1.37.0-9 Boost.Iostreams Library | ii libboost-program-options-dev 1.34.1-15+b1 program options library for C++ | ii libboost-program-options1.34.1 1.34.1-15+b1 program options library for C++ | rc libboost-program-options1.37.0 1.37.0-8 program options library for C++ | ii libboost-program-options1.38.0 1.38.0-6 program options library for C++ | ii libboost-python-dev 1.34.1-15+b1 Boost.Python Library development files | ii libboost-python1.34.1 1.34.1-15+b1 Boost.Python Library | ii libboost-python1.38.0 1.38.0-6 Boost.Python Library | ii libboost-regex-dev 1.34.1-15+b1 regular expression library for C++ | ii libboost-regex1.34.1 1.34.1-15+b1 regular expression library for C++ | ii libboost-regex1.37.0 1.37.0-9 regular expression library for C++ | ii libboost-serialization-dev 1.34.1-15+b1 serialization library for C++ | ii libboost-serialization1.34.1 1.34.1-15+b1 serialization library for C++ | rc libboost-serialization1.37.0 1.37.0-8 serialization library for C++ | ii libboost-signals-dev 1.34.1-15+b1 managed signals and slots library for C++ | ii libboost-signals1.34.1 1.34.1-15+b1 managed signals and slots library for C++ | rc libboost-signals1.37.0 1.37.0-8 managed signals and slots library for C++ | ii libboost-system1.37.0 1.37.0-9 Operating system (e.g. diagnostics support) | ii libboost-test-dev 1.34.1-15+b1 components for writing and executing test su | ii libboost-test1.34.1 1.34.1-15+b1 components for writing and executing test su | ii libboost-test1.38.0 1.38.0-6 components for writing and executing test su | ii libboost-thread-dev 1.34.1-15+b1 portable C++ multi-threading | ii libboost-thread1.34.1 1.34.1-15+b1 portable C++ multi-threading | ii libboost-thread1.37.0 1.37.0-9 portable C++ multi-threading | ii libboost-wave-dev 1.34.1-15+b1 C99/C++ preprocessor library | ii libboost-wave1.34.1 1.34.1-15+b1 C99/C++ preprocessor library | | | On Thursday 28 May 2009 03:11:14 am you wrote: | > | > On 27 May 2009 at 19:13, Arnaud Battistella wrote: | > | Hi, | > | A recent upgrade causes RQuantLib to fail. Here is the relevant output: | > | | > | > library(RQuantLib) | > | Loading required package: Rcpp | > | Error in dyn.load(file, DLLpath = DLLpath, ...) : | > | unable to load shared library '/usr/lib/R/site-library/RQuantLib/libs/RQuantLib.so': | > | /usr/lib/R/site-library/RQuantLib/libs/RQuantLib.so: undefined symbol: | > | _ZNK8QuantLib10IntegratorclERKN5boost8functionIFddESaIvEEEdd | > | Error in library(RQuantLib) : .First.lib failed for 'RQuantLib' | > | > Noted, thanks -- looks like I need a rebuild. | > | > Can you tell me which boost version you have installed? | > | > Also, do the quantlib-examples still run? | > | > Dirk | > | > | Thanks! | > | A. | > | | > | -- System Information: | > | Debian Release: squeeze/sid | > | APT prefers testing | > | APT policy: (500, 'testing') | > | Architecture: amd64 (x86_64) | > | | > | Kernel: Linux 2.6.26-2-amd64 (SMP w/4 CPU cores) | > | Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8) | > | Shell: /bin/sh linked to /bin/bash | > | | > | Versions of packages r-cran-rquantlib depends on: | > | ii libc6 2.9-12 GNU C Library: Shared libraries | > | ii libgcc1 1:4.4.0-5 GCC support library | > | ii libquantlib-0.9.7 0.9.7-1+b1 Quantitative Finance Library -- de | > | ii libstdc++6 4.4.0-5 The GNU Standard C++ Library v3 | > | ii r-base-core 2.9.0-2 GNU R core of statistical computat | > | ii r-cran-rcpp 0.6.5-1 GNU R / C++ interface classes and | > | | > | r-cran-rquantlib recommends no packages. | > | | > | r-cran-rquantlib suggests no packages. | > | | > | -- no debconf information | > | | > | | > -- Three out of two people have difficulties with fractions. -- To UNSUBSCRIBE, email to debian-bugs-rc-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org