Embark on a journey of knowledge! Take the quiz and earn valuable credits.
Take A QuizChallenge yourself and boost your learning! Start the quiz now to earn credits.
Take A QuizUnlock your potential! Begin the quiz, answer questions, and accumulate credits along the way.
Take A QuizGeneral Tech Bugs & Fixes 3 years ago
User submissions are the sole responsibility of contributors, with TuteeHUB disclaiming liability for accuracy, copyrights, or consequences of use; content is for informational purposes only and not professional advice.
Sphinx is missing a required dependency, and the configure script is misinterpreting the reason for the failure. Installing the correct version of glibc fixed the issue.
I'm posting this because there were no relevant Google hits for the error message I was receiving.
I used the following procedure to identify the problem:
~# pecl download sphinx downloading sphinx-1.3.2.tgz ... Starting to download sphinx-1.3.2.tgz (15,282 bytes) .....done: 15,282 bytes File /root/MP/sphinx-1.3.2.tgz downloaded ~# tar -xf sphinx-1.3.2.tgz ~# cd sphinx-1.3.2/ ~/sphinx-1.3.2# phpize Configuring for: PHP Api Version: 20131106 Zend Module Api No: 20131226 Zend Extension Api No: 220131226 ~/sphinx-1.3.2# ./configure [... same output as above ...] ~/sphinx-1.3.2# less config.log [...] configure:4059: checking for sphinx_create in -lsphinxclient configure:4084: cc -o conftest -g -O2 -Wl,-rpath,/usr/local/lib -L/usr/local/lib -lm conftest.c -lsphinxclient >&5 /usr/local/lib/libsphinxclient.so: undefined reference to `__fdelt_chk@GLIBC_2.15' /usr/local/lib/libsphinxclient.so: undefined reference to `memcpy@GLIBC_2.14' [...]
No matter what stage you're at in your education or career, TuteeHUB will help you reach the next level that you're aiming for. Simply,Choose a subject/topic and get started in self-paced practice sessions to improve your knowledge and scores.
Ready to take your education and career to the next level? Register today and join our growing community of learners and professionals.
Your experience on this site will be improved by allowing cookies. Read Cookie Policy
Your experience on this site will be improved by allowing cookies. Read Cookie Policy
manpreet
Best Answer
3 years ago
I'm trying to install the PHP Sphinx client (PHP 5.6) on my Debian 7 server using PECL. I get the misleading error "wrong libsphinxclient version or lib not found" when trying to build, even though I've already installed Sphinx and can see the library in /usr/lib.