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
 [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

Pull Requests

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: Fri Dec 27 09:01:29 2024 UTC