[PHP] adding postgresql support to php

2001-04-08 Thread Kevin Heflin

I have php-4.0.4pl1 currently installed with mysql support. Installed
from source files..
Have just installed postgresql-7.1RC1 from source.
Trying to add postgres support to php, added the '--with-pgsql to
./configure.

running make, moves right along for awhile, but  then 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)
/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)
make[1]: *** [libphp4.la] Error 1
make: *** [all-recursive] Error 1

Any suggestions would be appreciated.

Kansas

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]




Re: [PHP] adding postgresql support to php

2001-04-08 Thread shaun

I just did this yesterday actually and everything worked fine, except I used 
a different postgresql, postgresql-7.0.3.tar.gz to be exact.

--  Shaun



On Sunday 08 April 2001 10:42, Kevin Heflin wrote:
 I have php-4.0.4pl1 currently installed with mysql support. Installed
 from source files..
 Have just installed postgresql-7.1RC1 from source.
 Trying to add postgres support to php, added the '--with-pgsql to
 ./configure.

 running make, moves right along for awhile, but  then 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)
 /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)
 make[1]: *** [libphp4.la] Error 1
 make: *** [all-recursive] Error 1

 Any suggestions would be appreciated.

 Kansas

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]