Hi,
libbaccats-<version>.so is installed as a symlink to the primary catalog
edition, e.g.libbaccats-mysql-5.2.1.so, in my case. However, the symlink is
created with a absolute path _including_ the building/destination directory.
This can result in invalid symlinks.
The symlink should be performed to a relative path to prevent links to the
build directory.
Trivial patch attached.
Thx
Bastian
--
Collax GmbH . Basler Str. 115a . 79115 Freiburg . Germany
p: +49 (0) 89-990 157-28 www.collax.com
Geschäftsführer: Bernd Bönte, Boris Nalbach
AG München HRB 173695. Ust.-IdNr: DE270819312
--- bacula-5.2.1/src/cats/install-default-backend.in.ori 2011-11-07 13:50:23.000000000 +0100
+++ bacula-5.2.1/src/cats/install-default-backend.in 2011-11-07 13:50:36.000000000 +0100
@@ -27,7 +27,7 @@
# Create a default catalog library pointing to one of the shared libs.
#
rm -f ${install_dir}/libbaccats-${library_version}${SHLIB_EXT}
- ln -s ${install_dir}/libbaccats-${default_backend}-${library_version}${SHLIB_EXT} \
+ ln -s libbaccats-${default_backend}-${library_version}${SHLIB_EXT} \
${install_dir}/libbaccats-${library_version}${SHLIB_EXT}
fi
------------------------------------------------------------------------------
RSA(R) Conference 2012
Save $700 by Nov 18
Register now
http://p.sf.net/sfu/rsa-sfdev2dev1
_______________________________________________
Bacula-devel mailing list
Bacula-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-devel