Public bug reported:

binary package for quantlib-swig appears to be out-of-sync with libquantlib in 
"14.04.3 LTS"(amd64, i386)
Rebuild from source package fixes it.

novitk@novitk:~$ python
Python 2.7.6 (default, Jun 22 2015, 18:00:18)
[GCC 4.8.2] 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.7/dist-packages/QuantLib/__init__.py", line 19, in 
<module>
    from QuantLib import *
  File "/usr/lib/python2.7/dist-packages/QuantLib/QuantLib.py", line 26, in 
<module>
    _QuantLib = swig_import_helper()
  File "/usr/lib/python2.7/dist-packages/QuantLib/QuantLib.py", line 22, in 
swig_import_helper
    _mod = imp.load_module('_QuantLib', fp, pathname, description)
ImportError: /usr/lib/python2.7/dist-packages/QuantLib/_QuantLib.so: undefined 
symbol: _ZThn56_N8QuantLib19CappedFlooredCoupon6updateEv

ProblemType: Bug
DistroRelease: Ubuntu 14.04
Package: quantlib-python 1.3-2
ProcVersionSignature: Ubuntu 3.19.0-26.28~14.04.1-generic 3.19.8-ckt4
Uname: Linux 3.19.0-26-generic x86_64
ApportVersion: 2.14.1-0ubuntu3.12
Architecture: amd64
CurrentDesktop: LXDE
Date: Fri Sep 11 18:48:57 2015
InstallationDate: Installed on 2015-09-05 (6 days ago)
InstallationMedia: Lubuntu 14.04.3 LTS "Trusty Tahr" - Beta amd64 (20150805)
SourcePackage: quantlib-swig
UpgradeStatus: No upgrade log present (probably fresh install)

** Affects: quantlib-swig (Ubuntu)
     Importance: Undecided
         Status: New


** Tags: amd64 apport-bug trusty

** Description changed:

  binary package for quantlib-swig appears to be out-of-sync with libquantlib 
in "14.04.3 LTS"(amd64, i386)
- Rebuild from source fixes it.
+ Rebuild from source package fixes it.
  
- novitk@novitk:~$ python 
- Python 2.7.6 (default, Jun 22 2015, 18:00:18) 
+ novitk@novitk:~$ python
+ Python 2.7.6 (default, Jun 22 2015, 18:00:18)
  [GCC 4.8.2] 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.7/dist-packages/QuantLib/__init__.py", line 19, in 
<module>
-     from QuantLib import *
-   File "/usr/lib/python2.7/dist-packages/QuantLib/QuantLib.py", line 26, in 
<module>
-     _QuantLib = swig_import_helper()
-   File "/usr/lib/python2.7/dist-packages/QuantLib/QuantLib.py", line 22, in 
swig_import_helper
-     _mod = imp.load_module('_QuantLib', fp, pathname, description)
+   File "<stdin>", line 1, in <module>
+   File "/usr/lib/python2.7/dist-packages/QuantLib/__init__.py", line 19, in 
<module>
+     from QuantLib import *
+   File "/usr/lib/python2.7/dist-packages/QuantLib/QuantLib.py", line 26, in 
<module>
+     _QuantLib = swig_import_helper()
+   File "/usr/lib/python2.7/dist-packages/QuantLib/QuantLib.py", line 22, in 
swig_import_helper
+     _mod = imp.load_module('_QuantLib', fp, pathname, description)
  ImportError: /usr/lib/python2.7/dist-packages/QuantLib/_QuantLib.so: 
undefined symbol: _ZThn56_N8QuantLib19CappedFlooredCoupon6updateEv
  
  ProblemType: Bug
  DistroRelease: Ubuntu 14.04
  Package: quantlib-python 1.3-2
  ProcVersionSignature: Ubuntu 3.19.0-26.28~14.04.1-generic 3.19.8-ckt4
  Uname: Linux 3.19.0-26-generic x86_64
  ApportVersion: 2.14.1-0ubuntu3.12
  Architecture: amd64
  CurrentDesktop: LXDE
  Date: Fri Sep 11 18:48:57 2015
  InstallationDate: Installed on 2015-09-05 (6 days ago)
  InstallationMedia: Lubuntu 14.04.3 LTS "Trusty Tahr" - Beta amd64 (20150805)
  SourcePackage: quantlib-swig
  UpgradeStatus: No upgrade log present (probably fresh install)

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1494982

Title:
  quantlib-python(quantlib-swig) appears to be broken

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/quantlib-swig/+bug/1494982/+subscriptions

-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to