From owner-freebsd-ports@FreeBSD.ORG Sun Jun 6 11:17:24 2004 Return-Path: Delivered-To: freebsd-ports@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id E69AC16A4CE for ; Sun, 6 Jun 2004 11:17:24 -0700 (PDT) Received: from hermes.webtent.net (hermes.webtent.net [192.216.106.16]) by mx1.FreeBSD.org (Postfix) with ESMTP id 6F87543D48 for ; Sun, 6 Jun 2004 11:17:22 -0700 (PDT) (envelope-from robert@webtent.com) Received: from Felipa (webtent.org [198.79.127.235]) by hermes.webtent.net (8.10.2/8.10.2) with SMTP id i56IHDR07536; Sun, 6 Jun 2004 14:17:13 -0400 Message-ID: <002a01c44bf2$7dc75200$018ffea9@webtent.org> From: "Robert Fitzpatrick" To: "PHP General" , "PostgreSQL" , "FreeBSD Ports" , "Heimdal" Date: Sun, 6 Jun 2004 14:17:13 -0400 Organization: WebTent Networking, Inc. MIME-Version: 1.0 X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 6.00.2800.1409 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1409 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable X-Content-Filtered-By: Mailman/MimeDel 2.1.1 cc: girgen@pingpong.net Subject: Intalling PHP 4.3.7 with PGSQL support and Heimdal X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 06 Jun 2004 18:17:25 -0000 Trying to portupgrade my PHP 4.3.6 package with PostgreSQL 7.4.2 support = and getting this error below. Trying to setup postgresql with Heimdal = Kerberos 5 support, believe I have, but not tried anything with it, yet. /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 Stop in /usr/ports/lang/php4/work/php-4.3.7. I've posted this around a few weeks ago on some lists and still no = success. I had a suggestion to add lines to the spec file, but not sure = which file that is. Seems PHP is having a problem with the PGSQL support = and its libraries for krb5. Nonetheless, from the looks of the Makefile = for postgresql, everything should be there for it to build with krb5 = support. I receive no errors when building or installing posgresql with = heimdal support and have tried 'make deinstall' and 'make reinstall'. I = have the WITH_HEIMDAL_KRB5, HEIMDAL_HOME is set to /usr/local where it = resides with libs and includes. Someone also suggested adding a -lkrb5, = but again, I have not been able to figure out where to place this = setting in the file. Should I add it to the line that produces the error = building PHP above (I think the libtool command) or in the postgresql = Makefile. esmtp# ldd /usr/local/bin/psql /usr/local/bin/psql: libpq.so.3 =3D> /usr/local/lib/libpq.so.3 (0x28096000) libkrb5.so.20 =3D> /usr/local/lib/libkrb5.so.20 (0x280b2000) ... Anyone know where I can make these changes needed or what to try next? -- Robert