I found the problem. I was searching for it as a bacula problem, but I found
the answer on a postgresql mailing list.
I edited the ld.so.conf file and added the postgresql lib dir and then
ran ldconfig as root.

The daemon is now running.

Thank You
Sim
CompuLab
________________________________________________________________________________

I am in the middle of configuring and installing bacula for the first
time and I have run into a problem that I can't figure out.

When I try to start the bacula-dir daemon I get the error:
     /sbin/bacula-dir: error while loading shared libraries:
     libpq.so.4: cannot open shared object file: No such file or
     directory

I checked the config.out file and the relevant lines seem to be:
  Database Type: PostGreSQL
  Database lib:  -lcrypt -L/usr/local/pgsql/lib -lpq
  SQL binaries Directory  /usr/local/pgsql/bin

The file libpq.so.4 is in the /usr/local/pgsql/lib directory. We
already have a PostGresql 8.0 server running on the same machine as
I've installed bacula with postgresql support. It created the
databases fine and everything.

I also tried linking the libpq file into the bacula directory, with no
change in the error.

Does anybody have a clue as to what is going on?

Thank You
Sim
CompuLab



-------------------------------------------------------
SF.Net email is Sponsored by the Better Software Conference & EXPO
September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices
Agile & Plan-Driven Development * Managing Projects & Teams * Testing & QA
Security * Process Improvement & Measurement * http://www.sqe.com/bsce5sf
_______________________________________________
Bacula-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/bacula-users



-------------------------------------------------------
SF.Net email is Sponsored by the Better Software Conference & EXPO
September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices
Agile & Plan-Driven Development * Managing Projects & Teams * Testing & QA
Security * Process Improvement & Measurement * http://www.sqe.com/bsce5sf
_______________________________________________
Bacula-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/bacula-users

Reply via email to