[pkg-bacula-devel] Bug#672765: FTBFS: Cannot find libmysqlclient following multi-arch conversion

Ben Hutchings ben at decadent.org.uk
Sun May 13 13:57:19 UTC 2012


Package: src:bacula
Version: 5.0.3+dfsg-0.1
Severity: serious
Tags: upstream
Justification: fails to build from source (but built successfully in the past)

autoconf/bacula-macros/db.m4 looks for libmysqlclient_r.so in
various directories, but never in the multi-arch installation
directory.  As a result, it doesn't link libacsql properly and
the various executables then fail to link:

...
Linking bacula-dir ...
/tmp/buildd/bacula-5.0.3+dfsg/debian/tmp-build-mysql/libtool --silent --tag=CXX --mode=link /usr/lib/ccache/i486-linux-gnu-g++   -L../lib -L../cats -L../findlib -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 -lpthread -ldl -lutil -lm -lpython2.7 -lutil -lrt    -lpthread -ldl  \
	      -lwrap  -lssl -lcrypto 
/tmp/buildd/bacula-5.0.3+dfsg/debian/tmp-build-mysql/src/cats/.libs/libbacsql.so: undefined reference to `mysql_fetch_field'
...

Ben.

-- System Information:
Debian Release: wheezy/sid
  APT prefers stable-updates
  APT policy: (500, 'stable-updates'), (500, 'proposed-updates'), (500, 'unstable'), (500, 'stable'), (1, 'experimental')
Architecture: i386 (x86_64)

Kernel: Linux 3.2.0-2-amd64 (SMP w/2 CPU cores)
Locale: LANG=en_GB.utf8, LC_CTYPE=en_GB.utf8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash





More information about the pkg-bacula-devel mailing list