Hello,
Natxo Asenjo schrieb:
hi,
[moderator, please forgive my 2 former emails, wrong sender address, it
should be corrected now]
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).
Ok, it's missing the libray libz.
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 ....
Only libz is missing.
From my SuSE 9.2 system:
$ rpm -qa | grep zlib
php4-zlib-4.3.8-8.2
zlib-devel-1.2.1-74.4
zlib-1.2.1-74.4
Try thatcommand and, if not installed, use yast to install zlib-devel.
As far as I recall, there was a security fix after release of 9.3, so
after installing, you should use you to bring your system to the current
version.
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?
See above.
Not having -devel packages installed is a rather common error...
Arno
--
IT-Service Lehmann [EMAIL PROTECTED]
Arno Lehmann http://www.its-lehmann.de
-------------------------------------------------------
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
[email protected]
https://lists.sourceforge.net/lists/listinfo/bacula-users