Re: PHP 4.3.1 on Mac OS X - make fails when configured with --with-pgsql

From: Date: Fri, 04 Apr 2003 15:59:44 +0000
Subject: Re: PHP 4.3.1 on Mac OS X - make fails when configured with --with-pgsql
References: 1  Groups: php.install 
Request: Send a blank email to php-install+get-10502@lists.php.net to get a copy of this message
Here are some excellent docs on installing all sorts of software (PHP, MySQL, Apache, etc.) for OS X. http://www.entropy.ch/software/macosx/ Of course, these are prebuilt packages, not help on compiling. "Barry C . Hawkins" <barry.hawkins@allthingscomputed.com> wrote in message news:67235A5A-665E-11D7-9F87-003065D5DF2E@allthingscomputed.com... > 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 > barry.hawkins@allthingscomputed.com >

« previous php.install (#10502) next »