php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #5146 Autoconf does not add -lpq
Submitted: 2000-06-20 15:06 UTC Modified: 2000-09-04 18:40 UTC
From: stoti at tvnet dot hu Assigned:
Status: Closed Package: PostgreSQL related
PHP Version: 4.0 Latest CVS (20/06/2000) OS: Solaris 8 SPARC
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: stoti at tvnet dot hu
New email:
PHP Version: OS:

 

 [2000-06-20 15:06 UTC] stoti at tvnet dot hu
I'm using Solaris 8 Sparc, gcc 2.95, Postgresql 7.0.2, apache 1.3.12. PHP4.0.0

When I configure php4 like this:
./configure  --prefix=/infosys/php4/ --with-apxs=/infosys/apache/bin/apxs
--enable-safe-mode --enable-track-vars --enable-ftp --with-pgsql
--with-openssl=/usr/local/ssl/ --enable-memory-limit --enable-sysvsem
--enable-sysvshm --without-mysql --disable-xml

configure runs, make, and make install are successful, but apache bombs out not finding PQfinish.
It turns out, that the problem is that autoconf does not add -lpq to the list of libraries.
After I add -lpq to EXTRA_LIBS into config_vars.mk, everything is fine. (but it took 2 days for me to figure this out).

Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2000-08-20 04:02 UTC] sniper@php.net
Does this problem still persist with more recent version of php (from CVS or http://snaps.php.net) ??

--Jani
 [2000-09-04 18:40 UTC] sniper@php.net
No feedback. Please try php4.0.2 or preferrably latest CVS or snapshot from
http://snaps.php.net/  

Reopen this bug report if problem still exists.

--Jani
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Thu Apr 25 06:01:35 2024 UTC