From owner-freebsd-ports@FreeBSD.ORG Sat Oct 29 16:08:55 2011 Return-Path: Delivered-To: freebsd-ports@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id DB2D0106564A for ; Sat, 29 Oct 2011 16:08:55 +0000 (UTC) (envelope-from greenant@fastmail.fm) Received: from jack.mail.tiscali.it (jack.mail.tiscali.it [213.205.33.53]) by mx1.freebsd.org (Postfix) with ESMTP id 972E68FC0C for ; Sat, 29 Oct 2011 16:08:55 +0000 (UTC) Received: from [192.168.8.3] (84.223.43.127) by jack.mail.tiscali.it (8.5.142) id 4E732EC901128CA9 for freebsd-ports@freebsd.org; Sat, 29 Oct 2011 18:08:53 +0200 Message-ID: <4EAC2524.7020103@fastmail.fm> Date: Sat, 29 Oct 2011 18:09:08 +0200 From: Alberto Rizzi User-Agent: Mozilla/5.0 (Windows NT 5.1; rv:7.0.1) Gecko/20110929 Thunderbird/7.0.1 MIME-Version: 1.0 To: freebsd-ports@freebsd.org References: <4EABDFD5.9020207@fastmail.fm> <4EABEAB1.5060506@yandex.ru> In-Reply-To: <4EABEAB1.5060506@yandex.ru> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit Subject: Re: Postgresql and Bacula - Undefined symbol "GSS_C_NT_HOSTBASED_SERVICE" X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 29 Oct 2011 16:08:55 -0000 Il 29/10/2011 13.59, Ruslan Mahmatkhanov ha scritto: > Alberto Rizzi wrote on 29.10.2011 15:13: >> I have problems with Bacula 3 >> A week ago I upgraded postgresql-server port from 8.4.9 to 8.4.9_2 >> I have recompiled the port, I never use packages. >> Postgresql-client package was left untouched. >> >> Since then when I try to run bacula director I have this error >> >> /libexec/ld-elf.so.1: /usr/local/lib/libpq.so.5: Undefined symbol >> "GSS_C_NT_HOSTBASED_SERVICE" >> >> I tried recompiling postgresql client and server but nothing changed. >> When I try to recompile bacula-server many symbols are not found. >> Below you can find some relevant informations. >> >> What can I do? >> >> ------------- >> >> Linking bacula-dir ... >> /tmp/usr/ports/sysutils/bacula-server/work/bacula-5.0.3/libtool --silent >> --tag=CXX --mode=link /usr/bin/c++ -L../lib -L../cats -L../findlib >> -L/usr/local/lib -o bacula-dir dird.o admin.o authenticate.o autoprune.o >> backup.o bsr.o catreq.o dir_plugins.o dird_conf.o expand.o fd_cmds.o >> getmsg.o inc_conf.o job.o jobq.o migrate.o mountreq.o msgchan.o >> next_vol.o newvol.o pythondir.o recycle.o restore.o run_conf.o >> scheduler.o ua_acl.o ua_cmds.o ua_dotcmds.o ua_query.o ua_input.o >> ua_label.o ua_output.o ua_prune.o ua_purge.o ua_restore.o ua_run.o >> ua_select.o ua_server.o ua_status.o ua_tree.o ua_update.o vbackup.o >> verify.o -lbacfind -lbacsql -lbacpy -lbaccfg -lbac -lm -L/usr/local/lib >> -lpq -lcrypt -lpthread -lintl -lwrap /usr/local/lib/libintl.so >> /usr/local/lib/libiconv.so -Wl,-rpath -Wl,/usr/local/lib >> /usr/local/lib/libpq.so: undefined reference to `gss_import_name' >> /usr/local/lib/libpq.so: undefined reference to `gss_release_name' >> /usr/local/lib/libpq.so: undefined reference to `gss_delete_sec_context' >> /usr/local/lib/libpq.so: undefined reference to `gss_display_status' >> /usr/local/lib/libpq.so: undefined reference to `gss_release_buffer' >> /usr/local/lib/libpq.so: undefined reference to `gss_init_sec_context' >> /usr/local/lib/libpq.so: undefined reference to >> `GSS_C_NT_HOSTBASED_SERVICE' >> *** Error code 1 > > Looks like WITH_GSSAPI option is culprit. Try to disable it and rebuild > postgresql-server. > Thank you both. I disabled GSSAPI in postgresql both client and server and now it works. It works also the php-pgsql support that stopped working.