Unresolved external

classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|

Unresolved external

Andre Louw-2
Hi all,

When importing QuantLib in a Python2.2 session running under Linux I get the
following error:

Traceback (most recent call last):
  File "setup.py", line 331, in ?
    version          = "0.3.1a0-cvs")
  File "/var/tmp/python2-2.2-root/usr/lib/python2.2/distutils/core.py", line
138, in setup
  File "/var/tmp/python2-2.2-root/usr/lib/python2.2/distutils/dist.py", line
893, in run_commands
  File "/var/tmp/python2-2.2-root/usr/lib/python2.2/distutils/dist.py", line
913, in run_command
  File "setup.py", line 175, in run
    TEST.test()
  File "QuantLib/test/QuantLibTestSuite.py", line 26, in test
    import QuantLib
  File "build/lib.linux-i686-2.2/QuantLib/__init__.py", line 20, in ?
    from QuantLib import *
  File "build/lib.linux-i686-2.2/QuantLib/QuantLib.py", line 2, in ?
    import QuantLibc
ImportError: /usr/local/lib/libQuantLib.so.0: undefined symbol:
__gxx_personality_v0

Any ideas?

I have been using it extensively up until Friday. After a CVS co this popped
up all of a sudden?

André Louw
Decillion Limited - "Your Risk Is Our Domain"

Email: [hidden email]
Office: +27 (11) 328 1256
Mobile: +27 (83) 414 5785
Fax: +27 (11) 442 4456

 
-------------------------------------------------------------------------
This e-mail is intended only for the use of the individual or entity named
above and may contain information that is confidential and privileged,
proprietary to the company and protected by law. If you are not the intended
recipient, you are hereby notified that any dissemination, distribution or
copying of this e-mail is strictly prohibited. Opinions, conclusions and
other information in this message that do not relate to the official
business of our company shall be understood as neither given nor endorsed by
it.


Reply | Threaded
Open this post in threaded view
|

Re: Unresolved external

Luigi Ballabio-4
Hi,

>When importing QuantLib in a Python2.2 session running under Linux I get the
>following error:
>
>ImportError: /usr/local/lib/libQuantLib.so.0: undefined symbol:
>__gxx_personality_v0
>
>Any ideas?

I think I remember seeing something like this when compiling with gcc
rather that explicitly specifying g++. I don't know what changed,
though. Maybe you have some environment variable such as "CC" set to
gcc?

Bye,
        Luigi

--