Place https://github.com/opencog/docker/blob/master/opencog/base/scripts/.guile in your home directory, or or execute the second line in your guile shell.
On Wednesday, March 29, 2017 at 3:38:29 AM UTC+8, shujingke wrote: > > Actually, it still doesn't work.... > > > After I did make install, I found libguile-patternminer.so in > /usr/local/lib/opencog/ but when I load patternminer.scm in guile manually > , it still cannot find the so file: > > guile> (load "opencog/scm/opencog/learning/patternminer.scm") > > ....ERROR: In procedure dynamic-link: file: "libguile-patternminer", > message: "file not found" > > Also I cannot find the place to add pre-load scm modules... When I do > (use-modules (opencog patternminer)), it gives error: > ....ERROR: no code for module (opencog patternminer) > > > > > > On Tue, Mar 28, 2017 at 6:10 PM, Shujing Ke <[email protected] > <javascript:>> wrote: > >> Thanks, Linas, it works. I forgot that OpenCog does make install now. >> >> Shujing >> >> On Tue, Mar 28, 2017 at 5:34 PM, Linas Vepstas <[email protected] >> <javascript:>> wrote: >> >>> they should all be in /usr/local/lib/opencog >>> >>> Did you run 'make install'? I'm pretty sure that none of the scheme >>> modules work, until you install them. >>> >>> --linas >>> >>> >>> >>> On Tue, Mar 28, 2017 at 11:19 PM, Shujing Ke <[email protected] >>> <javascript:>> wrote: >>> >>>> Hi, >>>> >>>> Anyone know is there a file or somewhere that specify the paths that >>>> "load-extension" will search? I am adding a new module , it always says >>>> "ERROR: In procedure dynamic-link: file: "libguile-patternminer", message: >>>> "file not found"". >>>> libguile-patternminer.so is in build/opencog/learning/PatternMiner/ >>>> patternminer.scm is in build/opencog/scm/opencog/learning/ >>>> When I load patternminer.scm manually from guile shell, it gives the >>>> above error. >>>> >>>> I look at the other existing modules, I cannot find the place to >>>> specify the path. In files cogserver.scm and atom_types.scm, they say: >>>> ; libguile-cogserver.so is located in /usr/local/lib/opencog >>>> ; libnlp-types.so is in /usr/local/lib/opencog/modules >>>> But libguile-cogserver.so and libnlp-types.so are not there. >>>> >>>> Anyone can help? >>>> Thanks, >>>> Shujing >>>> >>>> -- >>>> You received this message because you are subscribed to the Google >>>> Groups "opencog" group. >>>> To unsubscribe from this group and stop receiving emails from it, send >>>> an email to [email protected] <javascript:>. >>>> To post to this group, send email to [email protected] >>>> <javascript:>. >>>> Visit this group at https://groups.google.com/group/opencog. >>>> To view this discussion on the web visit >>>> https://groups.google.com/d/msgid/opencog/CALpD4-KNG0u-oUOaw8aXfcJ66%3D_GyAX2vMeFNRO9r4TMZS9c8w%40mail.gmail.com >>>> >>>> <https://groups.google.com/d/msgid/opencog/CALpD4-KNG0u-oUOaw8aXfcJ66%3D_GyAX2vMeFNRO9r4TMZS9c8w%40mail.gmail.com?utm_medium=email&utm_source=footer> >>>> . >>>> For more options, visit https://groups.google.com/d/optout. >>>> >>> >>> -- >>> You received this message because you are subscribed to the Google >>> Groups "opencog" group. >>> To unsubscribe from this group and stop receiving emails from it, send >>> an email to [email protected] <javascript:>. >>> To post to this group, send email to [email protected] >>> <javascript:>. >>> Visit this group at https://groups.google.com/group/opencog. >>> To view this discussion on the web visit >>> https://groups.google.com/d/msgid/opencog/CAHrUA36%2BOPGxoWSMpXuKcmavFhgaE7U%2BmO0Tu1jy%2B4qDstU-Aw%40mail.gmail.com >>> >>> <https://groups.google.com/d/msgid/opencog/CAHrUA36%2BOPGxoWSMpXuKcmavFhgaE7U%2BmO0Tu1jy%2B4qDstU-Aw%40mail.gmail.com?utm_medium=email&utm_source=footer> >>> . >>> For more options, visit https://groups.google.com/d/optout. >>> >> >> > -- You received this message because you are subscribed to the Google Groups "opencog" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. Visit this group at https://groups.google.com/group/opencog. To view this discussion on the web visit https://groups.google.com/d/msgid/opencog/2d75c4ae-4ba6-497b-8273-c93eaa8efb59%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.
