On 3/8/19 12:20 PM, Johannes Castner wrote:
> Hi, I have now reinstalled and recompiled things, after a recent bug was resolved, but now I’m getting this error message when importing:
>
> Traceback (most recent call:
> from opencog.atomspace import types
> ImportError: /usr/local/lib/opencog/libquery.so: undefined symbol: _ZN7opencog8BindLink11set_rewriteERKNS_6HandleE
>
> What must I do to fix this problem?
Maybe try to purge the existing installation.
sudo trash /usr/local/include/opencog
sudo trash /usr/local/share/opencog
sudo trash /usr/local/lib/opencog
sudo trash /usr/share/guile/site/2.2/opencog*
sudo trash /usr/local/share/guile/site/2.2/opencog*
trash ~/.cache/guile
and reinstall everything cogutil, atomspace and opencog, from fresh
build directories.
BTW, if you don't like compile-waiting, I highly recommend ccache
https://ccache.samba.org/
Increase the cache size to at at least 16GB (even better 32GB). You'll
only have to wait the first time to ever compile something. This thing
is a marvel, it's also rock solid.
Nil