[PHP-DEV] Bug #315: Apache_1.3b6 & pgsql DSO won't link right From: bb851 <email protected>
Date: 04/26/98

From: bb851 <email protected>
Operating system: Redhat Linux 5.0
PHP version: 3.0 Release Candidate 4
PHP Bug Type: PostgreSQL related
Bug description:
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.