I'm running the same system and what I found was that you need to run the following command to update your compiler link table:
sudo ranlib /usr/local/pgsql/lib/libpq.a
try that command and recompile php. (ran under sudo because ranlib needs to be run by root)
Ray A.
Hello all,
In an effort to stay off the superhighway of the general list, I have searched through the other lists and found this one. Searching the archives showed that some other people had the error I am having back in 1998 - 2001. Lucky me, bringing back the oldies. Anyway, I am running Mac OS 10.2.4 with PostgreSQL 7.3.2, Apache 1.3.27, and PHP 4.3.1. I went back and reconfigured the 4.3.1 source using the following:
[powerbookg4:/Volumes/FR-HD75/php-4.3.1] barryh% ./configure --with-apxs --with-mysql=/usr/local/mysql --with-pgsql=/usr/local/pgsql --with-xml --with-zlib-dir=/usr/local
Configure completes without error (and probably some buried warning), and upon running make I get the following:
[powerbookg4:/Volumes/FR-HD75/php-4.3.1] barryh% make
.
. (vertical ellipsis to show success until...)
.
ld: table of contents for archive: /usr/local/pgsql/lib/libpq.a is out of date; rerun ranlib(1) (can't load from it)
make: *** [libs/libphp4.bundle] Error 1
The old postings refer to running "ldconfig" and "ldconfig -v" and regrettably I have no idea what that is. I can tell you it's not a command in the 4.3.1 source directory 8^). I even reconfigured, compiled, and reinstalled PostgreSQL 7.3.2 to see if that would bring "libpq.a up to date" - no dice. To assure everyone, yes, /usr/local/pgsql is my valid install directory for PostgreSQL. Thanks in advance for any insight.
Awaiting enlightenment, -- Barry C. Hawkins Systems Consultant All Things Computed 404-795-9147 voice/fax [EMAIL PROTECTED]
-- PHP Install Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
--
-- PHP Install Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php