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
 [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: Sat Apr 20 06:01:28 2024 UTC