I’ve seen this issue before. On Debian Wheezy 7.9 x86.
I *think* it is a conflict between x86 and x64 versions of the libs. For some
reason, when you compile on x86 (am I to assume you are running on x86 too?)
configure does not fail when it should. It clearly cannot find the binaries it
needs, so the resulting make file in the src/cat directory has MYSQL_LIBS =
{nothing} when it should have something like: MYSQL_LIBS =
-L/usr/lib/i386-linux-gnu -lmysqlclient_r
So, it compiles just fine, but MySQL connectivity is broken.
If you’re on a 64-bit system, however, that blows my theory on why it happens.
However, I *know* one fix is to fix the makefile, and recompile. I’ve done it.
If you’ve installed from RPM, I am not sure how you can fix this issue except
(perhaps) if you ARE indeed on x86, moving to an x64 OS. (This may be overkill,
and hopefully someone has a better answer to this).
Although, it was previously commented that “compiling from source is a really
bad idea” in this case, the fix is simple. Put MYSQL_LIBS =
-L/usr/lib/i386-linux-gnu -lmysqlclient_r in the make file under /src/cat.
Since you are installing from RPMs, I hope someone else on this list has the
fix for you.
Michael Munger, dCAP, MCPS, MCNPS, MBSS
High Powered Help, Inc.
Microsoft Certified Professional
Microsoft Certified Small Business Specialist
Digium Certified Asterisk Professional
mich...@highpoweredhelp.com<mailto:mich...@highpoweredhelp.com>
From: Hector Javier Agudelo Corredor [mailto:hej...@gmail.com]
Sent: Friday, January 29, 2016 7:42 PM
To: bacula-users@lists.sourceforge.net
Subject: [Bacula-users] Error Director /usr/lib64/libbaccats-7.4.0.so:
undefined symbol: mysql_init
HI team
I installed centos 6.7.
I have installed bacula 7.4 with postgres 5.7.10 but when I set the mysql
password in the file director.
Catalog {
Name = MyCatalog
dbname = "bacula"; dbuser = "root"; dbpassword = "Bacula2016.,"
}
But when I test settings file manager with the command
bacula-dir sudo -tc /etc/bacula/bacula-dir.conf
get the following error:
bacula-dir: symbol lookup error:
/usr/lib64/libbaccats-7.4.0.so<http://libbaccats-7.4.0.so>: undefined symbol:
mysql_init
previously install the following packages:
gcc gcc-c ++ eadline-devel zlib-devel libacl mtx-devel and openssl-devel postfix
How I can fix this error? that the director does not connect to the database.
--
HECTOR
------------------------------------------------------------------------------
Site24x7 APM Insight: Get Deep Visibility into Application Performance
APM + Mobile APM + RUM: Monitor 3 App instances at just $35/Month
Monitor end-to-end web transactions and take corrective actions now
Troubleshoot faster and improve end-user experience. Signup Now!
http://pubads.g.doubleclick.net/gampad/clk?id=267308311&iu=/4140
_______________________________________________
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users