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
View Add Comment Developer Edit
Welcome! If you don't have a Git account, you can't do anything here.
You can add a comment by following this link or if you reported this bug, you can edit this bug over here.
(description)
Block user comment
Status: Assign to:
Package:
Bug Type:
Summary:
From: patl at phoenix dot volant dot org
New email:
PHP Version: OS:

 

 [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

Add a Patch

Pull Requests

Add a Pull Request

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: Thu Mar 28 21:01:27 2024 UTC