ln -s /usr/local/scws/lib/libscws.so.2.0 /usr/local/scws/lib/libscws.so 编译很顺利,就遇到这一个问题:D
en这样解决也比较简单可靠,又避免把scws装到/usr/local中去混杂在一起
configure: error: *** You need a working C++ compiler to compile Xapian, but configure failed to *** find one. If you have a working C++ compiler, you can tell configure where *** to find it by invoking it like so: *** *** ./configure CXX=/opt/bin/c++
You need a working C++ compiler to compile Xapian, but configure failed to *** find one. If you have a working C++ compiler, you can tell configure where *** to find it by invoking it like so: 搜索下错误提示似乎是你没装c++的编译器
奇怪,运行不成功? 我在/home/zz/libcws下编译了libscws.a 然后执行gcc -o test -I/home/zz/libscws -L/home/zz/libcws test.c -lscws 提示: /usr/bin/ld: cannot find -lscws collect2: ld returned 1 exit status 是什么地方出错了?
... 你好 ) [search] => Array ( [0] => find [1] => seek ) 我要获取search 下面的同义词 每次都要全部获取 内存直线上升
gcc -o test -I/usr/local/scws/include/scws -L /usr/local/scws/lib test.c -lscws -Wl,--rpath -Wl, /usr/local/scws/lib /usr/bin/ld: cannot find /usr/local/scws/lib: File format not recognized collect2: ld returned 1 exit status Hightman 能否解决下?
...ta/, STAT_TAG:2014-W35) 2014-09-01 11:42:16 indexd[17233] ERROR failed to find db by pid (PID:17370) 2014-09-01 12:13:42 indexd[17233] NOTICE import exit (DB:c_books.db, FLAG:0x0000, PID:17352, EXIT:-2) 2014-09-01 12:13:51 indexd[17233] NOTICE [sock:7] auto commit (DB:c_books.db, COUNT:8892) 201...