Re: QuantLib Python Bindings on OSX - Error after installation

Posted by Luigi Ballabio on
URL: http://quantlib.414.s1.nabble.com/QuantLib-Python-Bindings-on-OSX-Error-after-installation-tp983p986.html

Sorry for the delay---did you make any progress on this?

Luigi


On Mon, 2010-09-20 at 05:23 -0700, ElMariachi wrote:

> I built the latest version from the TRUNK using the standard:
>
> ./configure
> make build
> sudo make install
>
> Then with the SWIG libraries, same idea
>
> build swig wrapper
> python setup.py install
>
>
> Luigi Ballabio wrote:
> >
> > On Sun, 2010-09-19 at 18:01 -0700, ElMariachi wrote:
> >> I just built and installed the QuantLib libraries and the Python SWIG
> >> bindings - here is the python console's output when trying import
> >> QuantLib:
> >
> > What version did you build, and how?
> >
> > Luigi
> >
> >
> >>
> >>
> >> >>> import QuantLib
> >> Traceback (most recent call last):
> >>   File "<stdin>", line 1, in <module>
> >>   File
> >> "/Library/Frameworks/Python.framework/Versions/6.1/lib/python2.6/site-packages/QuantLib/__init__.py",
> >> line 19, in <module>
> >>     from QuantLib import *
> >>   File
> >> "/Library/Frameworks/Python.framework/Versions/6.1/lib/python2.6/site-packages/QuantLib/QuantLib.py",
> >> line 24, in <module>
> >>     _QuantLib = swig_import_helper()
> >>   File
> >> "/Library/Frameworks/Python.framework/Versions/6.1/lib/python2.6/site-packages/QuantLib/QuantLib.py",
> >> line 20, in swig_import_helper
> >>     _mod = imp.load_module('_QuantLib', fp, pathname, description)
> >> ImportError:
> >> dlopen(/Library/Frameworks/Python.framework/Versions/6.1/lib/python2.6/site-packages/QuantLib/_QuantLib.so,
> >> 2): Symbol not found: __ZN8QuantLib12SmileSection6updateEv
> >>   Referenced from:
> >> /Library/Frameworks/Python.framework/Versions/6.1/lib/python2.6/site-packages/QuantLib/_QuantLib.so
> >>   Expected in: flat namespace
> >>  in
> >> /Library/Frameworks/Python.framework/Versions/6.1/lib/python2.6/site-packages/QuantLib/_QuantLib.so
> >>
> >
> >
> > --
> >
> > Olmstead's Law:
> > After all is said and done, a hell of a lot more is said
> > than done.
> >
> >
> >
> > ------------------------------------------------------------------------------
> > Start uncovering the many advantages of virtual appliances
> > and start using them to simplify application deployment and
> > accelerate your shift to cloud computing.
> > http://p.sf.net/sfu/novell-sfdev2dev
> > _______________________________________________
> > QuantLib-users mailing list
> > [hidden email]
> > https://lists.sourceforge.net/lists/listinfo/quantlib-users
> >
> >
>

--

Glendower: I can call spirits from the vasty deep.
Hotspur: Why, so can I, or so can any man;
But will they come when you do call for them?
-- King Henry the Fourth Part I, Act III, Scene I



------------------------------------------------------------------------------
Beautiful is writing same markup. Internet Explorer 9 supports
standards for HTML5, CSS3, SVG 1.1,  ECMAScript5, and DOM L2 & L3.
Spend less time writing and  rewriting code and more time creating great
experiences on the web. Be a part of the beta today.
http://p.sf.net/sfu/beautyoftheweb
_______________________________________________
QuantLib-users mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/quantlib-users