amutu / zhparser

zhparser is a PostgreSQL extension for full-text search of Chinese language
Other
720 stars 86 forks source link

安装编译出错 #23

Closed harley-byte closed 5 years ago

harley-byte commented 7 years ago
PG_CONFIG=/usr/pgsql-9.5/bin/pg_config make && make install
gcc -Wall -Wmissing-prototypes -Wpointer-arith -Wdeclaration-after-statement -Wendif-labels -Wmissing-format-attribute -Wformat-security -fno-strict-aliasing -fwrapv -fexcess-precision=standard -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -DLINUX_OOM_ADJ=0 -fPIC -shared -o zhparser.so zhparser.o -L/usr/pgsql-9.5/lib -Wl,--as-needed  -L/usr/lib64 -Wl,--as-needed -Wl,-rpath,'/usr/pgsql-9.5/lib',--enable-new-dtags  -lscws -L/usr/local/lib -Wl,-rpath -Wl,/usr/local/lib
/usr/bin/ld: cannot find -lscws
collect2: 错误:ld 返回 1
make: *** [zhparser.so] 错误 1
[root@preproduction zhparser]#
harley-byte commented 7 years ago

the scws version is 1.4.10

tianjianchn commented 7 years ago

scws version 1.4.10? current scws is 1.2.3, but xunsearch is 1.4.10

harley-byte commented 7 years ago

sorry.. it is xunsearch version

zlianzhuang commented 5 years ago

找不到库的问题,请参考其他网页支持进行查看