postgresql-server fails with krb5 support
Gareth de Vaux
bsd at lordcow.org
Thu Apr 3 14:06:42 UTC 2014
Hi all, postgresql93-server builds fine unless I add krb5 support
(MIT, but doesn't seem to matter). It fails with:
cc -O -pipe -DLDAP_DEPRECATED -Wall -Wmissing-prototypes -Wpointer-arith -Wdeclaration-after-statement -Wendif-labels -Wmissing-format-attribute -Wformat-security -fno-strict-aliasing -fwrapv initdb.o findtimezone.o localtime.o encnames.o -L../../../src/port -L../../../src/common -L/usr/local/lib -Wl,-rpath,/usr/lib:/usr/local/lib -L/usr/local/lib -L/usr/local/lib -L/usr/local/lib -L/usr/local/lib -Wl,--as-needed -Wl,-R'/usr/local/lib' -lpgport -lpgcommon -lxml2 -lssl -lcrypto -lkrb5 -lcom_err -lz -lreadline -lcrypt -lm -o initdb
initdb.o: In function `check_authmethod_unspecified':
initdb.c:(.text+0x27): undefined reference to `libintl_gettext'
initdb.o: In function `warn_on_mount_point':
initdb.c:(.text+0x4f): undefined reference to `libintl_gettext'
initdb.c:(.text+0x7b): undefined reference to `libintl_gettext'
initdb.c:(.text+0x99): undefined reference to `libintl_gettext'
initdb.o: In function `check_authmethod_valid':
initdb.c:(.text+0x130): undefined reference to `libintl_gettext'
etc
-lintl gets dropped from the compile line when -lkrb5 is added for some reason.
$ uname -a
FreeBSD imap1 9.1-PRERELEASE FreeBSD 9.1-PRERELEASE #0: Thu Aug 16 13:53:45 SAST 2012 root at imap1:/usr/obj/usr/src/sys/GENERIC amd64
More information about the freebsd-ports
mailing list