Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 3 Apr 2014 15:54:40 +0200
From:      Gareth de Vaux <bsd@lordcow.org>
To:        ports@freebsd.org
Subject:   postgresql-server fails with krb5 support
Message-ID:  <20140403135440.GA76638@lordcow.org>

next in thread | raw e-mail | index | archive | help
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@imap1:/usr/obj/usr/src/sys/GENERIC  amd64



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20140403135440.GA76638>