|
php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login |
PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits
[2013-07-31 03:14 UTC] reeze@php.net
-Assigned To:
+Assigned To: reeze
[2013-08-24 03:21 UTC] reeze@php.net
[2013-09-06 11:54 UTC] reeze@php.net
-Status: Assigned
+Status: Closed
[2013-09-06 11:54 UTC] reeze@php.net
|
|||||||||||||||||||||||||||
Copyright © 2001-2025 The PHP GroupAll rights reserved. |
Last updated: Sat Nov 01 23:00:01 2025 UTC |
Description: ------------ Your config.m4 is incorrect. The following line: SEARCH_LIB="libleveldb.a" should read: SEARCH_LIB="lib/libleveldb.a" People don't put libraries into /usr or /usr/local, rather they put them into /usr/lib or /usr/local/lib. SEARCH_FOR is correct; it's looking for /usr/include or /usr/local/include. SEARCH_LIB should be consistent and look for /usr/lib or /usr/local/lib. By making the above change, it will be correct. Please fix, and issue a new release so people can easily install your package. This will only help you. Test script: --------------- sudo pecl install channel://pecl.php.net/leveldb-0.1.3 Fails even though you have downloaded and built leveldb, and linked include/leveldb to /usr/include/leveldb and linked the static and shared libraries into /usr/lib. Expected result: ---------------- Should build and install successfully. Actual result: -------------- Does not build, due to not finding leveldb libraries, even though they are installed in the correct location.