MOZI-AI / annotation-scheme

Human Gene annotation service backend
GNU General Public License v3.0
3 stars 4 forks source link

installation fails, installation script can't find installed bioscience module. #180

Closed mjsduncan closed 4 years ago

mjsduncan commented 4 years ago

i get this trying to install:

checking for Guile site directory... /usr/share/guile/site/2.2
checking for Guile site-ccache directory using pkgconfig... /usr/lib/x86_64-linux-gnu/guile/2.2/site-ccache
checking for Guile extensions directory... /usr/lib/x86_64-linux-gnu/guile/2.2/extensions
checking if (json) is available... yes
checking if (opencog bioscience) is available... no
configure: error: The (opencog bioscience) module is needed. See https://github.com/opencog/agi-bio for details.

even though it's installed:

$ ls /usr/share/guile/site/2.2/opencog/
...
bioscience            logger.scm        persist.scm       test-runner.scm
...

i have (use-modules (opencog)) in ~/.guile but guile still has problems finding it:

$ guile
scheme@(guile-user)> (use-modules (opencog bioscience))
While compiling expression:
In procedure dynamic-link: file: "libbioscience-types", message: "file not found"
scheme@(guile-user)> (use-modules (opencog))
scheme@(guile-user)> (use-modules (opencog bioscience))
scheme@(guile-user)> 

what am i doing wrong?

Habush commented 4 years ago

@mjsduncan can you run sudo ldconfig /usr/local/lib/opencog and re-try?

mjsduncan commented 4 years ago

that works, thanks!