php.net |  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
 [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.)

Patches

Pull Requests

History

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-2024 The PHP Group
All rights reserved.
Last updated: Sat Dec 21 16:01:28 2024 UTC