php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #315 Apache_1.3b6 & pgsql DSO won't link right
Submitted: 1998-04-26 18:21 UTC Modified: 1998-05-23 18:02 UTC
From: bb851 at lafn dot org Assigned:
Status: Closed Package: PostgreSQL related
PHP Version: 3.0 Release Candidate 4 OS: Redhat Linux 5.0
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: bb851 at lafn dot org
New email:
PHP Version: OS:

 

 [1998-04-26 18:21 UTC] bb851 at lafn dot org
System Redhat 5 linux with Apache_1.3b6 and PostgreSQL 6.3.1

  When trying to make a DSO module you need to specify the 
static version of libpq to the final link phase in the 
php3 Makefile. If not the PGxyz symbols are not resolved 
because it will bind to the dynamic library and the module 
will not load.
   I also had a problem with PGsetdb. It is now (in 
pgsql-6.3+) a #define pointing to the new function 
PGsetdbLogin. This should be taken care of in libpq-fe.h, 
but I needed to edit pgsql.c to get it to fully link.

Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [1998-05-23 18:02 UTC] zeev
The link problem should be fixed now (compiles clean
with PostgreSQL 6.3).

The makefiles for PHP 3.0 aren't designed to build a DSO
module out of the box.  if you want one, you actually
have to edit it and link in the static copies.
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Fri Apr 19 16:01:27 2024 UTC