Re: [Bacula-users] can't load library: libmysqlclient_r.so.15
On 2007.08.10. 01:29, Jarrod Lewis-Peacock wrote: ... /etc/bacula/bin/bacula-dir: error while loading shared libraries: libmysqlclient_r.so.15: cannot open shared object file: No such file or directory how did you install bacula (that is, did you compile it yourself or from packages) ? do you have a file named libmysqlclient_r.so.15 anywhere at all ? I searched the archives manual to find the solution of setting the LD_LIBRARY_PATH to the appropriate mysql library, and also hard coding this in /etc/ld.so.conf. LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/usr/local/mysql/lib/ export LD_LIBRARY_PATH I did this and still get the linking problem. I verified that /usr/local/mysql/lib/ is accessible which it is, and it has the file libmysqlclient_r.a in there, which I assume is what is needed for libmysqlclient_r.so.15. Any further suggestions? Thanks, Jarrod -- Rich - This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now http://get.splunk.com/ ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
Re: [Bacula-users] can't load library: libmysqlclient_r.so.15
On 8/10/07, Jarrod Lewis-Peacock [EMAIL PROTECTED] wrote: Hello, I'm re-installing Bacula using MySQL instead of SQLite. I'm having problems linking with a mysql shared library. ./bacula start Starting the Bacula Storage daemon Starting the Bacula File daemon Starting the Bacula Director daemon /etc/bacula/bin/bacula-dir: error while loading shared libraries: libmysqlclient_r.so.15: cannot open shared object file: No such file or directory Hi, have you tried to check with 'ldd /etc/bacula/bin/bacula-dir' whether the binary has a problem finding that library? In my (Debian) installation that library is actually in /usr/lib/. What if at least as a test you try to manually copy it there? -- Maxx - This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now http://get.splunk.com/ ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
Re: [Bacula-users] can't load library: libmysqlclient_r.so.15
Thanks for the suggestion Maxx. I have since completely removed the bacula install, and the mysql install, and re-intalled both fresh. Somehow, magically, the library linking works now. One of those cases where I don't know precisely what the problem was, but it resolved itself with fresh installs, so be it. Jarrod On 8/13/07, MaxxAtWork [EMAIL PROTECTED] wrote: On 8/10/07, Jarrod Lewis-Peacock [EMAIL PROTECTED] wrote: Hello, I'm re-installing Bacula using MySQL instead of SQLite. I'm having problems linking with a mysql shared library. ./bacula start Starting the Bacula Storage daemon Starting the Bacula File daemon Starting the Bacula Director daemon /etc/bacula/bin/bacula-dir: error while loading shared libraries: libmysqlclient_r.so.15: cannot open shared object file: No such file or directory Hi, have you tried to check with 'ldd /etc/bacula/bin/bacula-dir' whether the binary has a problem finding that library? In my (Debian) installation that library is actually in /usr/lib/. What if at least as a test you try to manually copy it there? -- Maxx - This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now http://get.splunk.com/___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
[Bacula-users] can't load library: libmysqlclient_r.so.15
Hello, I'm re-installing Bacula using MySQL instead of SQLite. I'm having problems linking with a mysql shared library. ./bacula start Starting the Bacula Storage daemon Starting the Bacula File daemon Starting the Bacula Director daemon /etc/bacula/bin/bacula-dir: error while loading shared libraries: libmysqlclient_r.so.15: cannot open shared object file: No such file or directory I searched the archives manual to find the solution of setting the LD_LIBRARY_PATH to the appropriate mysql library, and also hard coding this in /etc/ld.so.conf. LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/usr/local/mysql/lib/ export LD_LIBRARY_PATH I did this and still get the linking problem. I verified that /usr/local/mysql/lib/ is accessible which it is, and it has the file libmysqlclient_r.a in there, which I assume is what is needed for libmysqlclient_r.so.15. Any further suggestions? Thanks, Jarrod - This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now http://get.splunk.com/___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users