New error after reinstalling the opencog system

32 views
Skip to first unread message

Johannes Castner

unread,
Mar 8, 2019, 5:20:26 AM3/8/19
to opencog
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?

Please help!

As always, with great appreciation,

Johannes

Nil Geisweiller

unread,
Mar 8, 2019, 8:17:27 AM3/8/19
to ope...@googlegroups.com
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

Johannes Castner

unread,
Mar 13, 2019, 1:54:36 PM3/13/19
to opencog
Thank you! Still working on it but hopefully it should be ready, so I can start doing something with that interesting pattern miner soon. It’s a bit of an ordeal to install and reinstall things but we’re working on a script that automates the whole setting up process of opencog, the AtomSpace etc. with elastic beanstalk. Hopefully we’ll have that soon and then this process will be smoother.

Johannes
Reply all
Reply to author
Forward
0 new messages