php-install Digest 4 Apr 2003 15:57:04 -0000 Issue 1321
Topics (messages 10500 through 10501):
PHP 4.3.1 on Mac OS X - make fails when configured with --with-pgsql
10500 by: Barry C. Hawkins
Debug Log
10501 by: Pat Hynes
Administrivia:
To subscribe to the digest, e-mail:
[EMAIL PROTECTED]
To unsubscribe from the digest, e-mail:
[EMAIL PROTECTED]
To post to the list, e-mail:
[EMAIL PROTECTED]
----------------------------------------------------------------------
--- Begin Message ---
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]
--- End Message ---
--- Begin Message ---
--- End Message ---