Re: Error building PHP with PostgreSQL support

From: "Joshua D(dot) Drake" <jd(at)commandprompt(dot)com>
To: Robert Fitzpatrick <robert(at)webtent(dot)com>
Cc: PostgreSQL <pgsql-general(at)postgresql(dot)org>
Subject: Re: Error building PHP with PostgreSQL support
Date: 2004-05-24 23:21:41
Message-ID: 40B28385.7030609@commandprompt.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

Hello,

It looks like you compiled PostgreSQL with kerberos support. You
probably need to add a
-lkrb5 or something to your link line.

J

Robert Fitzpatrick wrote:

>I am getting the following problem with trying to install from source
>PHP 4.3.6 with PG support on FreeBSD 5.2.1. I have PostgreSQL 7.4.2
>recently upgraded from 7.3.x and it is up and running fine. I also have
>Heimdal 0.6 installed and PostgreSQL was built with that support. Is the
>error below from something missing on the Heimdal side of things or
>PostgreSQL? And what does anyone suggest to resolve the issue? Maybe I
>need to rebuild Heimdal since upgrading PostgreSQL with krb5 support?
>
>/usr/local/lib/libc-client4.so: warning: tmpnam() possibly used
>unsafely; consider using mkstemp()
>/usr/local/lib/libpq.so: undefined reference to `krb5_cc_get_principal'
>/usr/local/lib/libpq.so: undefined reference to
>`krb5_sname_to_principal'
>/usr/local/lib/libpq.so: undefined reference to `krb5_cc_default'
>/usr/local/lib/libpq.so: undefined reference to `krb5_cc_close'
>/usr/local/lib/libpq.so: undefined reference to `error_message'
>/usr/local/lib/libpq.so: undefined reference to `krb5_free_error'
>/usr/local/lib/libpq.so: undefined reference to `krb5_sendauth'
>/usr/local/lib/libpq.so: undefined reference to `krb5_free_principal'
>/usr/local/lib/libpq.so: undefined reference to `krb5_unparse_name'
>/usr/local/lib/libpq.so: undefined reference to `krb5_free_context'
>/usr/local/lib/libpq.so: undefined reference to `krb5_init_context'
>*** Error code 1
>
>
>

--
Command Prompt, Inc., home of Mammoth PostgreSQL - S/ODBC and S/JDBC
Postgresql support, programming shared hosting and dedicated hosting.
+1-503-667-4564 - jd(at)commandprompt(dot)com - http://www.commandprompt.com
PostgreSQL Replicator -- production quality replication for PostgreSQL

In response to

Browse pgsql-general by date

  From Date Subject
Next Message Karsten Hilbert 2004-05-24 23:59:29 Re: I want to use postresql for this app, but...
Previous Message Matthias Nagl 2004-05-24 22:01:42 Re: Combining several rows [solved]