From: Dirk E. <ed...@de...> - 2011-07-29 15:45:10
|
On 29 July 2011 at 13:51, Hong Yu wrote: | | My workstation upgraded recently, so I need to recompile QuantLib on a | Ubuntu-11.04-64bit system. When checking the result using command ldd | libQuantLib.so , I find that libQuantLib seems to be linked to libboost in a | static way. Just run 'sudo apt-get install libquantlib-1.0.0 libquantlib0-dev'. | May I ask, is it possible to modify the configuration and/or compilation | parameters, so that resulted libQuantLib.so will be linked to libboost in | shared way? Thanks a lot! Boost is a template library, all dependencies are resolved at _compile-time_. The package shows now dependency on Boost (and the dependencies are autogenerated based on ldd): ~ $ apt-cache show libquantlib-1.0.0 Package: libquantlib-1.0.0 Priority: optional Section: universe/libs Installed-Size: 16140 Maintainer: Ubuntu Developers <ubu...@li...> Original-Maintainer: Dirk Eddelbuettel <ed...@de...> Architecture: amd64 Source: quantlib Version: 1.0.1-1 Replaces: libquantlib0 Depends: libc6 (>= 2.4), libgcc1 (>= 1:4.1.1), libstdc++6 (>= 4.4.0) Conflicts: libquantlib0 Filename: pool/universe/q/quantlib/libquantlib-1.0.0_1.0.1-1_amd64.deb Size: 4969932 MD5sum: 806351920ee47281821bf74ce20d30b7 SHA1: 4b02af317328c0afabd9c36de53b53737e188068 SHA256: 1af69f0fd5f48af5861cb1f386314ac15ab246c5f270eb22540cde30603011fc Description: Quantitative Finance Library -- development package The QuantLib project aims to provide a comprehensive software framework for quantitative finance. The goal is to provide a standard free/open source library to quantitative analysts and developers for modeling, trading, and risk management of financial assets. . This package provides the shared libraries required to run programs compiled with QuantLib. Bugs: https://bugs.launchpad.net/ubuntu/+filebug Origin: Ubuntu ~ $ Hth, Dirk -- Gauss once played himself in a zero-sum game and won $50. -- #11 at http://www.gaussfacts.com |