How to install coreseek in centos

Source: Internet
Author: User

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,

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.