> Robert Hartzell <b...@rwhartzell.net> writes:
> 
> >>> just adjust the path for mysql.
> >>
> >> Setting that like you suggest:
> >> LDFLAGS="-L/usr/mysql/5.1/lib
> -R/usr/mysql/5.1/lib";export LDFLAGS
> >>
> >> ./configure --prefix=/usr/local/src/test
> --with-mysql
> >>
> >
> > change  --with-mysql to --with-mysql=/usr/mysql/5.1
> > should work fine... i just tested on opensolaris
> build 118
> 
> For the record and the benefit of anyone else who
> searches this group
> about mysql.
> 
> Yup it does...
> > change  --with-mysql to
> --with-mysql=/usr/mysql/5.1
> 
>  I got there just ahead of your suggestion but thanks
> or the help.
> 
> _______________________________________________
> opensolaris-discuss mailing list
> opensolaris-discuss@opensolaris.org

I can compile bacaula without errors, but I can't start the director.

export 
PATH=/usr/bin:/usr/ccs/bin:/etc:/usr/openwin/bin:/usr/local/bin:/usr/sfw/bin:/opt/sfw/bin:/usr/ucb:/usr/sbin

export HO=/opt
CFLAGS="-g -O2" ./configure \
  --sbindir=$HO/bacula/bin \
  --sysconfdir=$HO/bacula/etc \
  --with-mysql=/usr/mysql/5.1 \
  --enable-smartalloc \
  --with-pid-dir=$HO/bacula/bin/working \
  --with-subsys-dir=$HO/bacula/bin/working \
  --with-working-dir=$HO/bacula/working \
  --enable-bat

renne...@walhalla bin $ pfexec ./bacula start
Starting the Bacula Storage daemon
Starting the Bacula File daemon
Starting the Bacula Director daemon
ld.so.1: bacula-dir: fatal: libmysqlclient_r.so.16: open failed: No such file 
or directory
/opt/bacula/etc/bacula-ctl-dir: line 214: 7684: Killed

The database exists. I think bacula don't find libmysqlclient_r.so. How can I 
fix this?
-- 
This message posted from opensolaris.org
_______________________________________________
opensolaris-discuss mailing list
opensolaris-discuss@opensolaris.org

Reply via email to