...会有返回结果,一会返回false; [php] [root@yehuiming /]# /usr/local/php/bin/php -i | grep scws scws SCWS BugReport => http://www.ftphp.com/scws scws.default.charset => utf8 => utf8 scws.default.fpath => /usr/local/scws/etc => /usr/local/scws/etc [/php] 这是我代码: //分...
...ng php_fpm PHP Warning: PHP Startup: Unable to load dynamic library '/usr/local/php51/lib/php/extensions/no-debug-non-zts-20060613/scws.so' - /usr/local/php51/lib/php/extensions/no-debug-non-zts-20060613/scws.so: undefined symbol: core_globals_id in Unknown on line 0 done [root@zjx sbin]# ./php-...
...rary => 1.0.4 SCWS BugReport => http://www.ftphp.com/scws Directive => Local Value => Master Value scws.default.charset => utf8 => utf8 scws.default.fpath => /usr/local/scws/etc => /usr/local/scws/etc
... /usr/share/autoconf/Autom4te/C4che.pm line 69, line 111. 已将 /usr/local/scws/lib/中的libscws.so libscws.so.1两支,做软链到了 /usr/lib及/usr/local/lib目录中 请问哪里还要做调整
...骤安装了autoconf等等。编译安装scws正常,安装路径为/usr/local/scws 但是编译php扩展时报以下错误: # ./configure --with-scws=/usr/local/scws/ --with-php-config=/usr/local/bin/php-config checking for scws support... yes, shared checking for scws_new in -lscws... no con...
错误信息 checking for a sed that does not truncate output... /usr/local/bin/sed checking whether ln -s works... yes checking whether make sets $(MAKE)... (cached) yes checking how to run the C preprocessor... cc -E checking for grep that handles long lines and -e... /usr/bin/grep checking ...
...or sun_len in sys/un.h... no checking for event.h of libevent... yes: /usr/local/xunsearch checking for correct libevent version... ok checking for event_init in -levent... yes checking for scws.h of scws... yes: /usr/local/xunsearch checking for scws_new in -lscws... yes checking for xapian.h of xa...
...5 SCWS Library 1.1.3 SCWS BugReport http://www.ftphp.com/scws Directive Local Value Master Value scws.default.charset utf8 utf8 scws.default.fpath /usr/local/scws/etc /usr/local/scws/etc[/code]
词库没有正确加载,你检查一下 /usr/local/scws/etc/ 下的 .xdb 的文件属性,默认.tar.bz2 解开有可能是600,建议 chmod a+r /usr/local/scws/etc/*
ln -s /usr/local/scws/lib/libscws.so.2.0 /usr/local/scws/lib/libscws.so 编译很顺利,就遇到这一个问题:D