PHP 4.0 Bug #5146 Updated: Autoconf does not add -lpq

From: Date: Mon, 04 Sep 2000 22:40:16 +0000
Subject: PHP 4.0 Bug #5146 Updated: Autoconf does not add -lpq
Groups: php.dev 
Request: Send a blank email to php-dev+get-31986@lists.php.net to get a copy of this message
ID: 5146 Updated by: sniper Reported By: stoti@tvnet.hu Status: Closed Bug Type: PostgreSQL related Assigned To: Comments: 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 Previous Comments: [2000-08-20 04:02:46] sniper@php.net Does this problem still persist with more recent version of php (from CVS or http://snaps.php.net) ?? --Jani --------------------------------------------------------------------------- [2000-06-20 15:06:15] stoti@tvnet.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). --------------------------------------------------------------------------- Full Bug description available at: http://bugs.php.net/?id=5146

« previous php.dev (#31986) next »