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
Welcome back! If you're the original bug submitter, here's where you can edit the bug or add additional notes.
If you forgot your password, you can retrieve your password here.
Password:
Status:
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

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: Fri Oct 11 06:01:27 2024 UTC