php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #37851 Unable to load dynamic library should say where it looked
Submitted: 2006-06-19 19:10 UTC Modified: 2006-06-19 19:39 UTC
Votes:1
Avg. Score:5.0 ± 0.0
Reproduced:1 of 1 (100.0%)
Same Version:0 (0.0%)
Same OS:0 (0.0%)
From: Dave at Yost dot com Assigned:
Status: Not a bug Package: Dynamic loading
PHP Version: 5.1.4 OS: linux
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.
(description)
Block user comment
Status: Assign to:
Package:
Bug Type:
Summary:
From: Dave at Yost dot com
New email:
PHP Version: OS:

 

 [2006-06-19 19:10 UTC] Dave at Yost dot com
Description:
------------
Error message is not helpful.  A good error message could save 
thousands of hours of people's time worldwide.

Expected result:
----------------
Unable to load dynamic library './mysql.so' - ./mysql.so: 
cannot open shared object file: No such file or directory in 
'/usr/lb', '/lib,', '/usr/local/apache/php/extensions'.  
Change blah in php.ini or recompile with the -with-blah=foo' 
option to fix this problem.

Actual result:
--------------
Unable to load dynamic library './mysql.so' - ./mysql.so: 
cannot open shared object file: No such file or directory

And "Incorrect CAPTCHA" at the top of this bug reporting page 
should instead be red text next to the thing that is wrong.  
Not everyone knows right away what CAPTCHA is.

Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2006-06-19 19:39 UTC] tony2001@php.net
extension_dir is the only dir where PHP looks for extensions.
None of the dirs you mentioned are used, so such error message would be just senseless.
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Thu Apr 25 04:01:38 2024 UTC