Alex S Moore wrote:
Paul Van Allsburg wrote:

I compiled Bacula 1.36.2 on a sparc-sun-solaris2.8 -- solaris 5.8, it finished successfully. I built it with ./configure --enable-client-only
When I start bacula-fd it gets killed immediately as follows:


server:# /sbin/bacula-fd $2 -c /etc/bacula/bacula-fd.conf
ld.so.1: /sbin/bacula-fd: fatal: libstdc++.so.5: open failed: No such file or directory


It means the file is not in your default library path.  See man crle

If you are using /usr/ccs/bin/ld for the link, export LD_OPTIONS with the path to libstdc++.so.5. This will put the runpath in the object. If you are using a different linker, it may be LD_RUN_PATH.

Or you can hack away at LD_LIBRARY_PATH.

Or you can try the packages at www.blastwave.org

Alex

It appears the default library path is empty - #crle with no args replies with
crle: /var/ld/ld.config: open failed: No such file or directory


I located the following files at:
/usr/local/lib/sparcv9/libstdc++.so.5
/usr/local/lib/libstdc++.so.5

/usr/lib/sparcv9/ld.so.1
/usr/lib/ld.so.1
/etc/lib/ld.so.1

/usr/lib/ld
/usr/ccs/bin/sparcv9/ld
/usr/ccs/bin/ld
/usr/ucb/ld
/var/ld

I'm looking at a recompile with the following, correct?

# make uninstall
$ make distclean
$ LD_OPTIONS='/usr/local/lib'
$ export LD_OPTIONS
$ ./configure --enable-client-only
$ make shared
$ su
# make install

Much Appreciated,
Paul



-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now.
http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click
_______________________________________________
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users

Reply via email to