On 11 June 2009 at 20:10, Allen Chan wrote:
| 
| After upgrading to version 0.9.7-1+b1 of libquantlib-0.9.7, quantlib fails to
| load in python:
| 
| % python
| Python 2.5.4 (r254:67916, Feb 18 2009, 03:00:47)
| [GCC 4.3.3] on linux2
| Type "help", "copyright", "credits" or "license" for more information.
| >>> import QuantLib
| Traceback (most recent call last):
|   File "<stdin>", line 1, in <module>
|   File "/usr/lib/python2.5/site-packages/QuantLib/__init__.py", line 19, in 
<module>
|     from QuantLib import *
|   File "/usr/lib/python2.5/site-packages/QuantLib/QuantLib.py", line 6, in 
<module>
|     import _QuantLib
| ImportError: /usr/lib/python2.5/site-packages/QuantLib/_QuantLib.so: 
undefined symbol: _ZNK8QuantLib10IntegratorclERKN5boost8functionIFddESaIvEEEdd
| >>>
| 
| 
| The above was done on an amd64, but the same failure occurs on i386 as well.
| Downgrading libquantlib-0.9.7 back to version 0.9.7-1 avoids the problem.
| Perhaps quantlib-python needs to be rebuilt to sync with version 0.9.7-1+b1.

Oops. Yes, the change in boost will require that. Thanks for the heads-up --
will rebuild right away.

Dirk

| Thank you.
| 
| 
| -- System Information:
| Debian Release: squeeze/sid
|   APT prefers unstable
|   APT policy: (990, 'unstable'), (500, 'oldstable'), (500, 'stable'), (1, 
'experimental')
| Architecture: amd64 (x86_64)
| 
| Kernel: Linux 2.6.26-1-alyz-amd64 (SMP w/2 CPU cores)
| Locale: LANG=C, LC_CTYPE=C (charmap=ANSI_X3.4-1968)
| Shell: /bin/sh linked to /bin/bash
| 
| Versions of packages quantlib-python depends on:
| ii  libc6                         2.9-13     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  python                        2.5.4-2    An interactive high-level 
object-o
| ii  python-central                0.6.11     register and build utility for 
Pyt
| 
| quantlib-python recommends no packages.
| 
| quantlib-python suggests no packages.
| 
| -- no debconf information
| 
| 

-- 
Three out of two people have difficulties with fractions.



-- 
To UNSUBSCRIBE, email to [email protected]
with a subject of "unsubscribe". Trouble? Contact [email protected]

Reply via email to