For how to install coreseek, refer to the official website:
Http://www.coreseek.cn/products/products-install/install_on_bsd_linux/
The following describes the problems and solutions:
Question 1: Undefined reference to 'libiconv'
Solution: refer
Solution 1
Solution
At first, I thought that the libiconv problem was the same after several reinstalls. Finally, I finally found a solution.
Edit:
./Src/MAKEFILE file (after confiure is required, this indicates that the G ++ compiler should be added to the iconv Support)
Set
Libs =-lm-LZ-lexpat-L/usr/local/lib-LRT-lpthread
Change
Libs =-lm-LZ-lexpat-L/usr/local/lib-LRT-lpthread-liconv
OK
Solution 2
Modify the sphinx-0.9.8-rc2/src/makefile,
Set
Libs =-lm-lexpat-L/usr/local/lib
Change
Libs =-lm-lexpat-liconv-L/usr/local/lib
Recompile.
Problem 2: An unigram dictionary load error occurred when installing the accessory sphtionary. After checking that the error was an end error, the path was changed.
Solution: refer
Check whether the dictionary path is correct
In the original configuration file
Charset_dictpath =/usr/local/mmseg/etc/
To:
Charset_dictpath =/home/mmseg/etc/
Problem 3: Error while loading shared libraries: libiconv. so.2: cannot open shared object file: no such file or directory
Solution: refer
1. Add a/usr/local/lib line in/etc/lD. So. conf,
2. Then run/sbin/ldconfig,