php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #6720 persistent "Warning: driver initialization failed" on db_open db2 2.7.7
Submitted: 2000-09-13 17:53 UTC Modified: 2002-10-01 15:30 UTC
From: a dot shahugian at cnsys dot bg Assigned:
Status: Wont fix Package: DBM/DBA related
PHP Version: 3.0.16 OS: RH6.2
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 — but make sure to vote on the bug!
Your email address:
MUST BE VALID
Solve the problem:
45 + 43 = ?
Subscribe to this entry?

 
 [2000-09-13 17:53 UTC] a dot shahugian at cnsys dot bg
It apears that RH has in package glibc-devel a Sleepycat 2.4.1 libs and httpd is linked against /usr/lib/libdb.so.
When you build php with sleepycat 2.7.7 and make: nm libphp3.so|grep db_appinit it says 0x000xxxx T dba_appinit 
On runtime db_appinit in libphp3.so (exported from /usr/local/BerkeleyDB/lib/libdb.a) is shadowed from db_appinit from /usr/lib/libdb.so and you got problems.
How to make php to resolve its db2 symbols internaly.

Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2002-10-01 15:30 UTC] hholzgra@php.net
We are sorry, but can not support PHP 3 related problems anymore.
Momentum is gathering for PHP 5, and we think supporting PHP 3 will
lead to a waste of resources which we want to put into getting PHP 5
ready. Ofcourse PHP 4 will will continue to be supported for the
forseeable future.


 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Tue Apr 16 17:01:30 2024 UTC