|   | php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login | 
| 
 PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits              [2008-10-31 09:05 UTC] tony at daylessday dot org
 | |||||||||||||||||||||||||||
|  Copyright © 2001-2025 The PHP Group All rights reserved. | Last updated: Fri Oct 31 23:00:01 2025 UTC | 
Description: ------------ The config.m4 file has a line in it that doesn't seem to be supported on bsd systems. By removing the "-ldl" in the config.m4 file that seems to resolve the problem. Also I have successfully compiled and installed this on FreeBSD and CentOS 4 by removing this option. Reproduce code: --------------- On FreeBSD I performed the following #$ phpize #$ ./configure Output: ... checking for libsphinxclient headers in default path... found in /usr/local checking for sphinx_create in -lsphinxclient... no configure: error: wrong libsphinxclient version or lib not found Fix: --- config.m4.bak 2008-10-31 09:48:28.000000000 -0400 +++ config.m4 2008-10-31 09:48:38.000000000 -0400 @@ -41,7 +41,7 @@ ],[ AC_MSG_ERROR([wrong libsphinxclient version or lib not found]) ],[ - -L$SPHINX_DIR/$PHP_LIBDIR -lm -ldl + -L$SPHINX_DIR/$PHP_LIBDIR -lm ]) PHP_SUBST(SPHINX_SHARED_LIBADD) Expected result: ---------------- It should have had a successful configured. Actual result: -------------- Output ... checking for libsphinxclient headers in default path... found in /usr/local checking for sphinx_create in -lsphinxclient... no configure: error: wrong libsphinxclient version or lib not found