From owner-freebsd-stable@FreeBSD.ORG Fri Oct 14 15:40:12 2005 Return-Path: X-Original-To: freebsd-stable@freebsd.org Delivered-To: freebsd-stable@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 4AF7216A41F; Fri, 14 Oct 2005 15:40:12 +0000 (GMT) (envelope-from lofi@freebsd.org) Received: from mail-in-01.arcor-online.net (mail-in-06.arcor-online.net [151.189.21.46]) by mx1.FreeBSD.org (Postfix) with ESMTP id 59E8243D48; Fri, 14 Oct 2005 15:40:11 +0000 (GMT) (envelope-from lofi@freebsd.org) Received: from mail-in-01-z2.arcor-online.net (mail-in-01-z2.arcor-online.net [151.189.8.13]) by mail-in-01.arcor-online.net (Postfix) with ESMTP id 1A9D464095; Fri, 14 Oct 2005 17:40:10 +0200 (CEST) Received: from mail-in-02.arcor-online.net (mail-in-02.arcor-online.net [151.189.21.42]) by mail-in-01-z2.arcor-online.net (Postfix) with ESMTP id 0B6F37ACED; Fri, 14 Oct 2005 17:40:10 +0200 (CEST) Received: from lofi.dyndns.org (dslb-084-061-130-015.pools.arcor-ip.net [84.61.130.15]) by mail-in-02.arcor-online.net (Postfix) with ESMTP id 6E07261679; Fri, 14 Oct 2005 17:40:07 +0200 (CEST) Received: from kiste.my.domain (root@kiste.my.domain [192.168.8.4]) by lofi.dyndns.org (8.13.4/8.13.3) with ESMTP id j9EFe6h7024422 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Fri, 14 Oct 2005 17:40:06 +0200 (CEST) (envelope-from lofi@freebsd.org) Received: from kiste.my.domain (lofi@localhost [127.0.0.1]) by kiste.my.domain (8.13.4/8.13.1) with ESMTP id j9EFe6rE002103; Fri, 14 Oct 2005 17:40:06 +0200 (CEST) (envelope-from lofi@freebsd.org) Received: from localhost (localhost [[UNIX: localhost]]) by kiste.my.domain (8.13.4/8.13.1/Submit) id j9EFe5ZB002102; Fri, 14 Oct 2005 17:40:05 +0200 (CEST) (envelope-from lofi@freebsd.org) X-Authentication-Warning: kiste.my.domain: lofi set sender to lofi@freebsd.org using -f From: Michael Nottebrock To: freebsd-stable@freebsd.org Date: Fri, 14 Oct 2005 17:40:03 +0200 User-Agent: KMail/1.8.2 References: <82117273F2B3D8076639D8D3@palle.girgensohn.se> <200510141729.14633.lofi@freebsd.org> In-Reply-To: <200510141729.14633.lofi@freebsd.org> X-Face: =Ym$`&q\+S2X$4`X%x%6"L4>Y,$]<":'L%c9"#7#`2tb&E&wsN31on!N\)3BD[g<=?utf-8?q?=2EjnfV=5B=0A=093=23?=>XchLK,o; >bD>c:]^; :>0>vyZ.X[,63GW`&M>}nYnr]-Fp``,[[@lJ!QL|sfW!s)=?utf-8?q?A2!*=0A=09vNkB/=7CL-?=>&QdSbQg X-Virus-Scanned: by amavisd-new Cc: nectar@freebsd.org, Palle Girgensohn Subject: Re: linking problems with heimdal in base (ports version works) X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 14 Oct 2005 15:40:12 -0000 --nextPart12411567.cLM2TCiB5c Content-Type: text/plain; charset="iso-8859-6" Content-Transfer-Encoding: quoted-printable Content-Disposition: inline On Friday, 14. October 2005 17:29, Michael Nottebrock wrote: > On Friday, 14. October 2005 16:04, Palle Girgensohn wrote: > > This gives me problems. I maintain the postgresql ports, and postgresql > > supports Kerberos. Problem is, when installing the heimdal port, > > everything works fine, but when using the base heimdal, I can't get > > programs linking with postgresq's libpq.so to link, since the configure > > scripts cannot find symbols that are in for example libasn1.so. Most > > ports seem to only pick up the -lkrb5, not all the other libs needed. > > Then those ports are buggy. The respective configure scripts should run > krb5-config --libs and use that output to determine which additional > libraries need to be linked in. =46WIW: As a stop-gap solution until this can be fixed in the upstream sour= ces,=20 you probably can do something like this in the port Makefile: HEIMDAL_CFLAGS!=3Dkrb5-config --cflags HEIMDAL_LDFLAGS!=3Dkrb5-config --libs CONFIGURE_ARGS+=3DCFLAGS=3D${HEIMDAL_CFLAGS} LDFLAGS=3D${HEIMDAL_LDFLAGS} =2D-=20 ,_, | Michael Nottebrock | lofi@freebsd.org (/^ ^\) | FreeBSD - The Power to Serve | http://www.freebsd.org \u/ | K Desktop Environment on FreeBSD | http://freebsd.kde.org --nextPart12411567.cLM2TCiB5c Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.2 (FreeBSD) iD8DBQBDT9FVXhc68WspdLARAiq2AKCMbJ4iTqRcGv0Z4SkKoCH7CY4QYwCgqEst ZGdjc0arbTnFYYSzht73fLI= =ft8K -----END PGP SIGNATURE----- --nextPart12411567.cLM2TCiB5c--