[SOLVED] Re: Snort failing after latest PostGreSQL upgrade

Andrea Venturoli ml at netfence.it
Mon Oct 24 16:32:27 UTC 2011


On 10/19/11 14:25, Andrea Venturoli wrote:
> Hello.
>
>> # uname -a
>> FreeBSD xxxxxx.yyyyyy 7.3-RELEASE-p7 FreeBSD 7.3-RELEASE-p7 #2: Thu
>> Oct 6 07:57:52 CEST 2011
>> root at xxxxxx.yyyyyy:/usr/obj/usr/src/sys/XXXXXX amd64
>
> This morning I upgraded Postgres:
>
>> # pkg_info | grep postgres
>> postgresql-client-8.4.9 PostgreSQL database (client)
>> postgresql-server-8.4.9 The most advanced open-source database
>> available anywhere
>
> After that, Snort won't start anymore:
>
>> # snort
>> /libexec/ld-elf.so.1: /usr/local/lib/libpq.so.5: Undefined symbol
>> "GSS_C_NT_HOSTBASED_SERVICE"
>
> Neither it will upgrade:
>
>> # portversion -v|grep snort
>> snort-2.9.1 < needs updating (port has 2.9.1.1)
>> # portupgrade -R snort
>  > ...
>> checking for PQexec in -lpq... no
>>
>> ERROR! libpq (postgresql) not found!
>>
>> ===> Script "configure" failed unexpectedly.
>
> Any help appreciated.

Thanks go to Ryan Steinmetz for helping me on this.
I had GSSAPI enabled in postgresql-client config and solved by disabling it.

  bye
	av.


More information about the freebsd-ports mailing list