Unable to add Brekeley db3 support
| From: | David | Date: | Thu, 29 Mar 2001 18:26:17 +0000 |
| Subject: | Unable to add Brekeley db3 support | ||
| Groups: | php.install | ||
| Request: | Send a blank email to php-install+get-2628@lists.php.net to get a copy of this message | ||
Hi,
I am unable to get db3 working. I get a
"Fatal error: Call to undefined function: dbmopen()"
error when I try to use dbmopen.
OS is FreeBSD 4.2-RELEASE and I am using the php-4.0.4pl1tarball.
I configure php with
./configure --with-mysql --enable-track-vars --enable-ftp
--enable-trans-sid --with-db3=/usr/local/BerkeleyDB.3.2
--with-apache=../apache_1.3.19 -disable-debug
--enable-force-cgi-redirects
After the 'make install' if I go the the Apache src/modules/php4 dir and
do a
nm -g libmodphp4.a |grep dbmopen
I dont get any symbols and so the above error.
nm -g libmodphp4.a |grep mysql_query
gives:
00001b0c T php_if_mysql_query
00002968 T mysql_query
Also I know that Berkeley DB has installed properly as I have compiled C
code with
-I/usr/local/BerkeleyDB.3.2/include -L/usr/local/BerkeleyDB.3.2/lib -ldb
furthermore, phpinfo() says that in addition to mysql and ftp, dba is
enabled with db3 as a supported handler.
I know I am missing something here and would appreciate any pointers and
leads from you.
Thank you.
David.