Bug #6720: persistent "Warning: driver initialization failed" on db_open db2 2.7.7

From: Date: Wed, 13 Sep 2000 21:53:02 +0000
Subject: Bug #6720: persistent "Warning: driver initialization failed" on db_open db2 2.7.7
Groups: php.dev 
Request: Send a blank email to php-dev+get-33151@lists.php.net to get a copy of this message
From: a.shahugian@cnsys.bg Operating system: RH6.2 PHP version: 3.0.16 PHP Bug Type: DBM/DBA related Bug description: persistent "Warning: driver initialization failed" on db_open db2 2.7.7 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.

« previous php.dev (#33151) next »