TYPO3 错误配置扩展 "sphinx"

TYPO3 error configuring extension "sphinx"

我已经安装了最新的 sphinx 版本 2.3.1。
我有 TYPO3 CMS 6.2.19。

在使用 sphinx 之前,必须对其进行配置。现在在 sphinx 配置区域中,我单击 Sphinx 1.4.5。一段时间后,我收到以下消息:

Sphinx 1.4.5 has been downloaded.  

Could not extract Sphinx 1.4.5:  
Could not extract 3rd-party libraries for Sphinx:

Archive: /opt/lampp/htdocs/cms1/typo3temp/sphinx-contrib.zip
Inconsistency detected by ld.so: dl-open.c: 596: _dl_open: Assertion `_dl_debug_initialize (0, args.nsid)->r_state == RT_CONSISTENT' failed!  

Could not find a compatible version of Pygments

我可以调试这个扩展,但发现它在执行以下命令时崩溃了:

CommandUtility::exec("'/usr/bin/unzip' '/opt/lampp/htdocs/cms1/typo3temp/sphinx-contrib.zip' -d '/opt/lampp/htdocs/cms1/uploads/tx_sphinx/sphinx-contrib' 2>&1", $out, $returnValue);

如果我从 php 单行脚本执行它,我会收到以下消息:

lchmod (file attributes) error: Function not implemented

有人知道它有什么问题吗???

好的。我自己找到了一个解决方法:它是图书馆。所以我不得不预加载另一个版本。

总而言之,方法是:在调用unzip的文件中(Setup.php)在函数unarchive中,在[=11=之前添加LD_PRELOAD=/lib64/libgcc_s.so.1:/usr/lib64/libstdc++.so.6 ] 命令。现在看起来如下:

$cmd = 'LD_PRELOAD=/lib64/libgcc_s.so.1:/usr/lib64/libstdc++.so.6 ' . $unzip . ' ' . escapeshellarg($archiveFileName) ...

是的,这不是最好的解决方案,但对我有用。