php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #3900 Failure to open libdb2.so.1library
Submitted: 2000-03-22 14:06 UTC Modified: 2000-03-27 13:31 UTC
From: dylanv at semaphore dot com Assigned:
Status: Closed Package: Compile Failure
PHP Version: 4.0 Beta 4 Patch Level 1 OS: Linux 2.2.14
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: dylanv at semaphore dot com
New email:
PHP Version: OS:

 

 [2000-03-22 14:06 UTC] dylanv at semaphore dot com
The php4 build itself works fine, but when I attempt to build apache with the php4 module, it fails with the error:

./gen_test_char: error in loading shared libraries: libdb2.so.1: cannot open shared object file: No such file or directory

We're running apache 1.3.12, DB2 for Linux V6.1 Patchlevel 3.

We've gotten this to compile in a similar fashion on an AIX DB2 server, but the linux one will not build.

Thanks,
Dylan C. Vanderhoof
Semaphore Corporation

Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2000-03-27 13:31 UTC] sas at cvs dot php dot net
If you run

 ldconfig -v |grep libdb2 

do you see any output? If not, add the path of the db2 shared library to /etc/ld.so.conf
 
PHP Copyright © 2001-2026 The PHP Group
All rights reserved.
Last updated: Sat Oct 10 11:00:01 2026 UTC