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
Anyone can comment on a bug. Have a simpler test case? Does it work for you on a different platform? Let us know!
Just going to say 'Me too!'? Don't clutter the database with that please !
Your email address:
MUST BE VALID
Solve the problem:
25 + 36 = ?
Subscribe to this entry?

 
 [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: Fri May 03 08:01:29 2024 UTC