Bacula-users

Re: [Bacula-users] ld: fatal: Symbol referencing errors, referenced in libbacsql.so

2011-05-10 16:54:02
Subject: Re: [Bacula-users] ld: fatal: Symbol referencing errors, referenced in libbacsql.so
From: Myles Merrell <mmerrell AT cleverex DOT com>
To: bacula-users AT lists.sourceforge DOT net
Date: Tue, 10 May 2011 16:51:16 -0400
Ben, 

Thanks.  I use open CSW to download all of the necessary packages, and I was able to get bacula running.  This was much easier than getting it to compile correctly!

thanks.
myles.

Excerpts from Myles Merrell's message of Thu May 05 11:28:10 -0400 2011:

Hi Myles,

> When I compile bacula I get the following errors:
> Undefined                       first referenced
>   symbol                             in file
> mysql_fetch_row                     
> .../bacula-5.0.3/src/cats/.libs/libbacsql.so
The linker can't find a library providing the required symbols.
You'll want some combination of CFLAGS/LDFLAGS that includes
-L/usr/local/mysql and -R/usr/local/mysql.  The latter will eliminate
the need to fiddle with crle or LD_LIBRARY_PATH environment variables.

I'd also point out that I'm working on bacula packages for OpenCSW
(solaris) and have a test set available here:

http://buildfarm.opencsw.org/experimental.html#bacula

They presume that you're using OpenCSW's mysql and any other required
libraries, but those are easily fetchable too.  Feel free to ping me
off-list if you have questions.

Might save you some time?  They work fine presently in my setup
although I'll possibly need to fiddle with RBAC stuff to allow access
to tape devices when running the storage daemon as non-root.

HTH
-Ben
--
Ben Walton
Systems Programmer - CHASS
University of Toronto
C:416.407.5610 | W:416.978.4302
------------------------------------------------------------------------------
Achieve unprecedented app performance and reliability
What every C/C++ and Fortran developer should know.
Learn how Intel has extended the reach of its next-generation tools
to help boost performance applications - inlcuding clusters.
http://p.sf.net/sfu/intel-dev2devmay
_______________________________________________
Bacula-users mailing list
Bacula-users AT lists.sourceforge DOT net
https://lists.sourceforge.net/lists/listinfo/bacula-users
<Prev in Thread] Current Thread [Next in Thread>
  • Re: [Bacula-users] ld: fatal: Symbol referencing errors, referenced in libbacsql.so, Myles Merrell <=