Error in make attempting to install cabocha on ubuntu 16.04 LTS

Asked 2 years ago, Updated 2 years ago, 137 views

When I tried to install cabocha on ubuntu 16.04 LTS, I got an error during make.

make all-recursive
make[1]: Entering directory '/home/ubuntu/zip/cabocha-0.69'
Making all in src
make[2]: Entering directory '/home/ubuntu/zip/cabocha-0.69/src'
make[2]—Nothing to be done for 'all'.
make[2]:Leaving directory '/home/ubuntu/zip/cabocha-0.69/src'
Making all in model
make[2]: Entering directory '/home/ubuntu/zip/cabocha-0.69/model'
.../src/cabocha-model-index-f UTF8-tutf8 chunk.ipa.txt chunk.ipa.model
/home/ubuntu/zip/cabocha-0.69/src/.libs/lt-cabocha-model-index: error while loading shared libraries: libcrfpp.so.0:cannot open shared object file: No such file or directory
Makefile:499: recipe for target' chunk.ipa.model'failed
make[2]:***[chunk.ipa.model] Error 127
make[2]:Leaving directory '/home/ubuntu/zip/cabocha-0.69/model'
Makefile: 508: recipe for target 'all-recursive' failed
make[1]:***[all-recursive] Error 1
make[1]:Leaving directory '/home/ubuntu/zip/cabocha-0.69'
Makefile:375: recipe for target 'all' failed
make: ***[all] Error 2

I've looked at various sites and tried various versions of cabocha, but it doesn't work.The above error is an attempt to install the latest cabocha-0.69...

ubuntu cabocha

2022-09-30 21:27

1 Answers

Install CRF++ properly.

This is the line that contains the specific error.

/home/ubuntu/zip/cabocha-0.69/src/.libs/lt-cabocha-model-index: error while loading shared libraries:libcrfpp.so.0:cannot open shared object file:No Such file or directory

When I read the error message, it says libcrfpp cannot be found.According to cabocha's home page, you must install CRF++ before installing cabocha on Unix. libcrfpp is not visible or failed to install.


2022-09-30 21:27

If you have any answers or tips


© 2024 OneMinuteCode. All rights reserved.