Login  Register

RE: Unresolved Externals

Posted by Andre Louw-2 on Jul 02, 2003; 4:14am
URL: http://quantlib.414.s1.nabble.com/Unresolved-Externals-tp10261p10264.html

> >I have now done the following:
> >
> >         1) "make clean" on QuantLib
> >         2) "python setup.py clean" on QuantLib-SWIG/Python
> >         3) rm -rf `locate QuantLib.so` - this also removed
> "_QuantLib.so"
> >         4) rm -rf `locate QuantLib.py`
> >
> >         5) "make install" on QuantLib
> >         6) "python setup.py wrap & install" on QuantLib-SWIG/Python
> >
> >alas, I still get the same unresolved:
> >
> > >> ImportError:
> /usr/lib/python2.2/site-packages/QuantLib/_QuantLib.so:
> >undefined symbol:
> > >>
> _ZNK8QuantLib28BlackVolatilityTermStructure17blackVarianceImplEddb
> >
> >Any other suggestions?
>
> Were QuantLib and QuantLib-SWIG both the latest version from CVS?
>

Luigi,

I did a CVS update of both projects directly after each other, so I would
assume I have the latest source.

I'm still worried that I might have an old version of something lying around
- please confirm that deleting all QuantLib.so*, _QuantLib.so, QuantLib.py,
QuantLib.pyc files should do the trick?

Andre