Re: php & pgsql under OSX

Eric G. Miller <egm2@jps.net>

From: "Eric G. Miller" <egm2@jps.net>
To: pgsql-general@postgresql.org
Date: 2001-04-06T03:37:57Z
Lists: pgsql-general
On Fri, Apr 06, 2001 at 12:36:25AM +0200, Alexander Lohse wrote:
> Hi,
> 
> I have a small (or big problem here):
> 
> I want to install php and pgsql under OSX.
> 
> php4.0.4pl1 alone compiles fine
> 
> postgres 7.1RC2 also compiles and installs fine
> 
> NOW, I recompile php --with-pgsql (default path)
> 
> I get the following error:
> 
> /usr/bin/ld: table of contents for archive: 
> /usr/local/pgsql/lib/libpq.a is out of date; rerun ranlib(1) (can't 
> load from it)
> 
> I guess that I because I could not add my lib path to 
> "Linux:/etc/ld.so.conf" here "OSX: /usr/bin/ld".
> 
> Anyone here who knows who to do this?

Did you try running ranlib on /usr/local/pgsql/lib/libpq.a? 

-- 
Eric G. Miller <egm2@jps.net>