From owner-freebsd-questions@FreeBSD.ORG Sat May 22 08:47:40 2004 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id E4F9F16A4CE for ; Sat, 22 May 2004 08:47:40 -0700 (PDT) Received: from hermes.webtent.net (hermes.webtent.net [192.216.106.16]) by mx1.FreeBSD.org (Postfix) with ESMTP id 87AEF43D1F for ; Sat, 22 May 2004 08:47:40 -0700 (PDT) (envelope-from robert@webtent.com) Received: from columbus.webtent.org (webtent.org [198.79.127.235]) by hermes.webtent.net (8.10.2/8.10.2) with ESMTP id i4MFkmG28597; Sat, 22 May 2004 11:46:48 -0400 From: Robert Fitzpatrick To: Michal Pasternak In-Reply-To: <20040522150802.GA1373@pasternak.w.lub.pl> References: <1085237301.18944.5.camel@columbus> <20040522150802.GA1373@pasternak.w.lub.pl> Content-Type: text/plain Organization: WebTent Networking, Inc. Message-Id: <1085240809.18952.29.camel@columbus> Mime-Version: 1.0 X-Mailer: Ximian Evolution 1.4.6 Date: Sat, 22 May 2004 11:46:50 -0400 Content-Transfer-Encoding: 7bit cc: FreeBSD Subject: Re: Errors building PHP 4.3.6 X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 22 May 2004 15:47:41 -0000 On Sat, 2004-05-22 at 11:08, Michal Pasternak wrote: > Robert Fitzpatrick [Sat, May 22, 2004 at 10:48:22AM -0400]: > > I have Heimdal 0.6 port installed on FreeBSD 5.2.1 and getting this error when > > trying to build and do portupgrade for PHP 4.3.6 from 4.3.4. > > > > Can anyone suggest what the problem may be? > > libpq is PostgreSQL client library, so I think you could start with > rebuilding PgSQL to include KRB support (I suppose, that PgSQL .h files get > some #defined value from PHP, and automatically start to include KRB > support, which is obviously not compiled in in your case) I just portupgraded PostgreSQL to 7.4.2 last week finding the server and client both in the same /usr/ports/databases/postgresql7. I had WITH_HEIMDAL_KRB5 defined in /etc/make.conf, which is supposed to get the Kerberos support built in according to the pg Makefile. Do you think something went wrong then? Looks good here: esmtp# ldd /usr/local/bin/psql /usr/local/bin/psql: libpq.so.3 => /usr/local/lib/libpq.so.3 (0x28096000) libkrb5.so.20 => /usr/local/lib/libkrb5.so.20 (0x280b2000) libasn1.so.6 => /usr/local/lib/libasn1.so.6 (0x280f0000) libcrypto.so.3 => /usr/local/lib/libcrypto.so.3 (0x28116000) libroken.so.16 => /usr/local/lib/libroken.so.16 (0x2821c000) libcrypt.so.2 => /lib/libcrypt.so.2 (0x2822a000) libintl.so.6 => /usr/local/lib/libintl.so.6 (0x28243000) libssl.so.3 => /usr/local/lib/libssl.so.3 (0x2824c000) libz.so.2 => /lib/libz.so.2 (0x2827d000) libreadline.so.4 => /lib/libreadline.so.4 (0x2828b000) libm.so.2 => /lib/libm.so.2 (0x282b9000) libutil.so.4 => /lib/libutil.so.4 (0x282d2000) libc.so.5 => /lib/libc.so.5 (0x282de000) libcom_err.so.2 => /usr/local/lib/libcom_err.so.2 (0x283b8000) libiconv.so.3 => /usr/local/lib/libiconv.so.3 (0x283bb000) libncurses.so.5 => /lib/libncurses.so.5 (0x284aa000) esmtp# ls -la /usr/local/lib/libpq.so lrwxr-xr-x 1 root wheel 10 May 16 17:34 /usr/local/lib/libpq.so -> libpq.so.3 -- Robert