hi,

while trying to compile the latest bacula I get the following errors in
make dird, stored and tools (the last 3 steps):

/usr/bin/g++  -O -L../lib -L../cats -L../findlib -o bscan bscan.o
block.o device.o dev.o label.o ansi_label.o dvd.o ebcdic.o autochanger.o
acquire.o mount.o record.o match_bsr.o parse_bsr.o butil.o read_record.o
stored_conf.o spool.o wait.o \
 -lsql -L/usr/lib/mysql -lmysqlclient_r -lz  -lfind -lbac -lm -lpthread
 /usr/lib/gcc-lib/i586-suse-linux/3.3.5/../../../../i586-suse-linux/bin/ld:
 cannot find -lz
 collect2: ld returned 1 exit status
 make[1]: *** [bscan] Error 1
 make[1]: Leaving directory `/usr/src/bacula-1.38.2/src/stored'

(well, this one refers to stored, but the dird and tools are similar).

I have mysql, mysql-client, mysql-devel and mysql-shared from suse.
Unfortunately there is no bacula for this version of suse (9.3) (if any
of you know of one repository, please tell me ;-) ). I also have
ncurses-devel (I had another problem compiling it without it, but that
is now solved) and readline. So I guess I have all I need, but ....

The funny thing is that if I compile with sqlite, then it builds. The
problem is: this is going to be a production server and according to the
docs: "we recommend that you install either MySQL or PostgreSQL for
production work".

Any hints?

Thanks in advance.

-- 
Groeten,
J.I.Asenjo


-------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click
_______________________________________________
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users

Reply via email to