linking problems with heimdal in base (ports version works)
Michael Nottebrock
lofi at freebsd.org
Fri Oct 14 08:40:12 PDT 2005
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.
FWIW: As a stop-gap solution until this can be fixed in the upstream sources,
you probably can do something like this in the port Makefile:
HEIMDAL_CFLAGS!=krb5-config --cflags
HEIMDAL_LDFLAGS!=krb5-config --libs
CONFIGURE_ARGS+=CFLAGS=${HEIMDAL_CFLAGS} LDFLAGS=${HEIMDAL_LDFLAGS}
--
,_, | Michael Nottebrock | lofi at freebsd.org
(/^ ^\) | FreeBSD - The Power to Serve | http://www.freebsd.org
\u/ | K Desktop Environment on FreeBSD | http://freebsd.kde.org
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 187 bytes
Desc: not available
Url : http://lists.freebsd.org/pipermail/freebsd-stable/attachments/20051014/44936cff/attachment.bin
More information about the freebsd-stable
mailing list