|  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #65353 Not Finding LevelDB Even Though Installed
Submitted: 2013-07-29 18:05 UTC Modified: 2013-09-06 11:54 UTC
From: ron at roncemer dot com Assigned: reeze (profile)
Status: Closed Package: leveldb (PECL)
PHP Version: Irrelevant OS: Ubuntu 12.04 x64
Private report: No CVE-ID: None
View Add Comment Developer Edit
Welcome! If you don't have a Git account, you can't do anything here.
You can add a comment by following this link or if you reported this bug, you can edit this bug over here.
Block user comment
Status: Assign to:
Bug Type:
From: ron at roncemer dot com
New email:
PHP Version: OS:


 [2013-07-29 18:05 UTC] ron at roncemer dot com
Your config.m4 is incorrect.  The following line:
should read:

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://

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.


Add a Patch

Pull Requests

Add a Pull Request


AllCommentsChangesGit/SVN commitsRelated reports
 [2013-07-31 03:14 UTC]
-Assigned To: +Assigned To: reeze
 [2013-08-24 03:21 UTC]
I almost forget, it has been fixed in master branch a long time ago.

I will issue a new release soon. thank you  for you feedback.
 [2013-09-06 11:54 UTC]
-Status: Assigned +Status: Closed
 [2013-09-06 11:54 UTC]
The fix for this bug has been committed.

Snapshots of the sources are packaged every three hours; this change
will be in the next snapshot. You can grab the snapshot at

 For Windows:
Thank you for the report, and for helping us make PHP better.

Fixed in master
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Mon Feb 26 19:01:29 2024 UTC