#38913 [Opn]: dba_open crash for db4
| From: | nemesis at home dot ro | Date: | Wed, 04 Oct 2006 11:49:39 +0000 |
| Subject: | #38913 [Opn]: dba_open crash for db4 | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-103073@lists.php.net to get a copy of this message | ||
ID: 38913
User updated by: nemesis at home dot ro
Reported By: nemesis at home dot ro
Status: Open
Bug Type: Feature/Change Request
Operating System: Linux kernel 2.6.16
PHP Version: 5.1.6
New Comment:
Hi,
It appears that the configure does not check for the headers/libraries
for libdb-4.4 and if there is libdb-4.3 also installed, it finds
libdb-4.3 shared libraries first, and links with them (and uses headers
for libdb-4.4).
You can find more info on the debian bug report on the same problem
here: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=388601
Previous Comments:
------------------------------------------------------------------------
[2006-09-25 13:34:50] nemesis at home dot ro
It appears that I spoke too soon.
When compiling against libdb4.4 (4.4.20-3) fails with the mentioned
error. (with both enable-dba and enable-dba=shared)
------------------------------------------------------------------------
[2006-09-23 17:00:41] nemesis at home dot ro
Yes, it works (the linux version, the windows version does not have db4
built in (only db3))
Is there any time table for backporting this fix to the 5.1 series ?
------------------------------------------------------------------------
[2006-09-23 11:54:06] tony2001@php.net
Please try using this CVS snapshot:
http://snaps.php.net/php5.2-latest.tar.gz
For Windows:
http://snaps.php.net/win32/php5.2-win32-latest.zip
------------------------------------------------------------------------
[2006-09-21 15:32:09] nemesis at home dot ro
Description:
------------
Upgrade from php 5.1.2 to 5.1.6 and then dba_open doesn't work anymore
with db4
Reproduce code:
---------------
<?php
var_dump(dba_open('xxx.db', 'c', 'db4'));
?>
Expected result:
----------------
To print a resouce identifier like
"resource(4) of type (dba)"
Actual result:
--------------
Warning: dba_open(xxx.db,r): Driver initialization failed for handler:
db4: Unknown error 140682440 in test.php on line 2
------------------------------------------------------------------------
--
Edit this bug report at http://bugs.php.net/?id=38913&edit=1