Bug #1305: Configure could not find DB2 library
| From: | patl at phoenix dot volant dot org | Date: | Fri, 09 Apr 1999 00:21:38 +0000 |
| Subject: | Bug #1305: Configure could not find DB2 library | ||
| Groups: | php.dev | ||
| Request: | Send a blank email to php-dev+get-4990@lists.php.net to get a copy of this message | ||
From: patl@phoenix.volant.org
Operating system: FreeBSD 3.1R
PHP version: 3.0.7
PHP Bug Type: Installation problem
Bug description: Configure could not find DB2 library
The FreeBSD port for the SleepyCat db2 library installs it in
/usr/local/lib/libdb2.a. The PHP3 configure script looks for
gdbm_open in -lgdbm and for dbm_open in -ldb and -lc;
but does not check for a -ldb2.
Note that the port also installs the include files in /usr/local/db2/;
and that there is a db.h in both that directory and in the standard
/usr/include directory. (All of which conspire to make it more
difficult to choose the db2 port over the built-in version in a
portable manner.)
--
PHP Development Mailing List http://www.php.net/
To unsubscribe send an empty message to php-dev-unsubscribe@lists.php.net
For help: php-dev-help@lists.php.net