Date: Fri, 14 Oct 2005 17:40:03 +0200 From: Michael Nottebrock <lofi@freebsd.org> To: freebsd-stable@freebsd.org Cc: nectar@freebsd.org, Palle Girgensohn <girgen@pingpong.net> Subject: Re: linking problems with heimdal in base (ports version works) Message-ID: <200510141740.05616.lofi@freebsd.org> In-Reply-To: <200510141729.14633.lofi@freebsd.org> References: <82117273F2B3D8076639D8D3@palle.girgensohn.se> <200510141729.14633.lofi@freebsd.org>
next in thread | previous in thread | raw e-mail | index | archive | help
--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--
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200510141740.05616.lofi>