upgrade of postgresql-contrib from 8.4.8 to 8.4.9 fails

Johan Hendriks joh.hendriks at gmail.com
Wed Nov 2 20:38:54 UTC 2011


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



More information about the freebsd-ports mailing list