Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 02 Nov 2011 21:38:49 +0100
From:      Johan Hendriks <joh.hendriks@gmail.com>
To:        Doug Sampson <dougs@dawnsign.com>
Cc:        freebsd-ports@freebsd.org
Subject:   Re: upgrade of postgresql-contrib from 8.4.8 to 8.4.9 fails
Message-ID:  <4EB1AA59.6070102@gmail.com>
In-Reply-To: <D358EEF1F9124D44B25B0ED225C8FDE615F3D6@hydra.dawnsign.com>
References:  <D358EEF1F9124D44B25B0ED225C8FDE615F3D2@hydra.dawnsign.com><D358EEF1F9124D44B25B0ED225C8FDE615F3D3@hydra.dawnsign.com><4EB199D1.7080604@yandex.ru><D358EEF1F9124D44B25B0ED225C8FDE615F3D4@hydra.dawnsign.com> <4EB1A42E.80506@yandex.ru> <D358EEF1F9124D44B25B0ED225C8FDE615F3D6@hydra.dawnsign.com>

next in thread | previous in thread | raw e-mail | index | archive | help
Doug Sampson schreef:
>> Try to build postgresql84-client with explicit disabling GSSAPI:
>> make -DWITHOUT_GSSAPI install.
>>
>
> Nope, doesn't work. This is what I did:
>
> cetus-root@/usr/ports/databases/postgresql84-server# make -DWITHOUT_GSSAPI install clean
>
> <..snip..>
>
> ===>   Cleaning for postgresql-server-8.4.9_2
> cetus-root@/usr/ports/databases/postgresql84-server# /usr/local/etc/rc.d/postgresql start
> /libexec/ld-elf.so.1: /usr/local/lib/libpq.so.5: Undefined symbol "GSS_C_NT_HOSTBASED_SERVICE"
> cetus-root@/usr/ports/databases/postgresql84-server# make showconfig
> ===>  The following configuration options are available for postgresql-server-8.4.9_2:
>       NLS=on "Use internationalized messages"
>       PAM=off "Build with PAM support (server only)"
>       LDAP=off "Build with LDAP authentication support"
>       MIT_KRB5=off "Build with MIT's kerberos support"
>       HEIMDAL_KRB5=off "Builds with Heimdal kerberos support"
>       OPTIMIZED_CFLAGS=off "Builds with compiler optimizations (-O3)"
>       XML=on "Build with XML data type (server)"
>       TZDATA=on "Use internal timezone database (server)"
>       DEBUG=off "Builds with debugging symbols"
>       GSSAPI=off "BUild with GSSAPI support"
>       ICU=off "Use ICU for unicode collation (server)"
>       INTDATE=on "Builds with 64-bit date/time type (server)"
>       SSL=on "Build with OpenSSL support"
> ===>  Use 'make config' to modify these settings
> cetus-root@/usr/ports/databases/postgresql84-server#
>
> ~Doug
>
You are rebuilding the server, you need to rebuild the client part.

# cd /usr/ports/databases/postgresql84-client
# make config
unselect GSSAPI
# make FORCE_PKG_REGISTER=yes install clean

regards
Johan




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