Date: Sat, 29 Oct 2011 13:13:25 +0200 From: Alberto Rizzi <greenant@fastmail.fm> To: freebsd-ports@freebsd.org Subject: Postgresql and Bacula - Undefined symbol "GSS_C_NT_HOSTBASED_SERVICE" Message-ID: <4EABDFD5.9020207@fastmail.fm>
next in thread | raw e-mail | index | archive | help
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 Stop in /tmp/usr/ports/sysutils/bacula-server/work/bacula-5.0.3/src/dird. ====== Error in /tmp/usr/ports/sysutils/bacula-server/work/bacula-5.0.3/src/dird ====== *** Error code 1 Stop in /tmp/usr/ports/sysutils/bacula-server/work/bacula-5.0.3. *** Error code 1 Stop in /usr/ports/sysutils/bacula-server. *** Error code 1 Stop in /usr/ports/sysutils/bacula-server. ** Command failed [exit code 1]: /usr/bin/script -qa /tmp/portupgrade20111029-5264-jnjygs-0 env UPGRADE_TOOL=portupgrade UPGRADE_PORT=bacula-server-5.0.3 UPGRADE_PORT_VER=5.0.3 make ** Fix the problem and try again. ** Listing the failed packages (-:ignored / *:skipped / !:failed) ! sysutils/bacula-server (bacula-server-5.0.3) (linker error) greenant@lando:databases> ----------------- greenant@lando:databases>nm /usr/local/lib/libpq.so nm: /usr/local/lib/libpq.so: no symbols ----------------------- greenant@lando:databases>nm /usr/local/lib/libpq.a | grep gss U gss_delete_sec_context U gss_display_status U gss_import_name U gss_init_sec_context U gss_release_buffer U gss_release_name U gss_delete_sec_context U gss_release_buffer U gss_release_name greenant@lando:databases> --------------------------- greenant@lando:databases>sudo pkg_info -W /usr/local/lib/libpq.so /usr/local/lib/libpq.so was installed by package postgresql-client-8.4.9 ----------------------------- greenant@lando:postgresql84-client>sudo make showconfig ===> The following configuration options are available for postgresql-client-8.4.9: 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=on "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 ----------------------------------- greenant@lando:postgresql84-client>uname -a FreeBSD lando.endor 8.2-STABLE FreeBSD 8.2-STABLE #0: Sat Aug 27 18:00:54 CEST 2011 root@lando.endor:/usr/obj/usr/src/sys/LANDO i386 --------------------------------------
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?4EABDFD5.9020207>