Closed Radivarig closed 5 years ago
Adding default paths in CogServer.cc
:
+ module_paths.push_back("../../opencog/cogserver/server/");
+ module_paths.push_back("../../opencog/cogserver/shell/");
seems to work for ShellUTest.
That will find the modules, when they are in the build-tree. But on non-nix systems, that is not the install location.
what's $CWD? is it enough to say
module_paths.push_back("./server/");
module_paths.push_back("./shell/");
I figured now that these are not needed when LD_LIBRARY_PATH
is extended with location of *.so files that are produced by the build. As I did in postBuild
phase for atomspace here, I added it here as well for some later tests to work. So, changing CogServer.cc
is not necessary.
cwd was: build/tests/server
without any *.so files.
Moving here from #28