|  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #1305 Configure could not find DB2 library
Submitted: 1999-04-08 20:21 UTC Modified: 1999-05-11 09:01 UTC
From: patl at phoenix dot volant dot org Assigned:
Status: Closed Package: Installation problem
PHP Version: 3.0.7 OS: FreeBSD 3.1R
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 !
Your email address:
Solve the problem:
27 + 50 = ?
Subscribe to this entry?

 [1999-04-08 20:21 UTC] patl at phoenix dot volant dot org
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.)


Add a Patch

Pull Requests

Add a Pull Request


AllCommentsChangesGit/SVN commitsRelated reports
 [1999-05-11 09:01 UTC] sas at cvs dot php dot net
Ok, PHP 3.0.8 will find DB2 even there. Thanks for the hint.
PHP Copyright © 2001-2023 The PHP Group
All rights reserved.
Last updated: Thu Jun 01 23:03:37 2023 UTC