Сфинкс Реиндексация не удалась для задачи rake из-за ошибки с библиотекой mysql
Ниже приведен журнал граблей
-bash-4.2$ RAILS_ENV=production bundle exec rake ts:index
Generating configuration to /var/app/current/config/production.sphinx.conf
(1.4ms) SET NAMES utf8, @@SESSION.sql_mode = CONCAT(CONCAT(@@sql_mode, ',STRICT_ALL_TABLES'), ',NO_AUTO_VALUE_ON_ZERO'), @@SESSION.sql_auto_is_null = 0, @@SESSION.wait_timeout = 2147483
SQL (3.9ms) DELETE FROM `delayed_jobs` WHERE (handler LIKE ('--- !ruby/object:ThinkingSphinx::Deltas::%') AND locked_at IS NULL AND locked_by IS NULL AND failed_at IS NULL)
Sphinx 2.2.9-id64-release (rel22-r5006)
Copyright (c) 2001-2015, Andrew Aksyonoff
Copyright (c) 2008-2015, Sphinx Technologies Inc (http://sphinxsearch.com)
using config file '/var/app/current/config/production.sphinx.conf'...
WARNING: key 'enable_star' was permanently removed from Sphinx configuration. Refer to documentation for details.
WARNING: key 'enable_star' was permanently removed from Sphinx configuration. Refer to documentation for details.
indexing index 'custom_field_value_core'...
indexer: relocation error: indexer: symbol mysql_init, version libmysqlclient_18 not defined in file libmysqlclient.so.18 with link time reference
The Sphinx indexing command failed:
Command: indexer --config "/var/app/current/config/production.sphinx.conf" --all --rotate
Status: 127
Output: See above
There may be more information about the failure in /var/app/current/log/production.searchd.log.
Ниже приведено то, что я установил для mysql
Loaded
Installed
mysql.noarch
mysql-config.x86_64
mysql-devel.noarch
mysql55.x86_64
mysql55-devel.x86_64
mysql55-libs.x86_64
mysql57.x86_64
mysql57-common.x86_64
mysql57-devel.x86_64
mysql57-libs.x86_64
Я ищу пакет, который предоставляет libmysqlclient yum provides */libmysqlclient.so.18
mysql55-libs-5.5.62-1.23.amzn1.x86_64 : The shared libraries required for MySQL clients
Repo : @amzn-updates
Matched from:
Filename : /usr/lib64/mysql/libmysqlclient.so.18
, который четко установлен, и я также вижу файл
# find / -name libmysqlclient.so.18
/usr/lib64/mysql/libmysqlclient.so.18
Но реальная проблемая думаю
indexer: relocation error: indexer: symbol mysql_init, version libmysqlclient_18 not defined in file libmysqlclient.so.18 with link time reference
Я переустанавливал mysql и sphinx несколько раз
Любая помощь будет очень полезна