Yeah, that can be kind of cryptic. When specified via "-l" it's the library name with out the "lib" part, so -lz in this case woudl look for libz.so.whatever. And *usually* RPM's are named libwhaterver.rpm for the libraries, but from some reason libz is in zlib.rpm. Very odd. But I'm glad you got it working.
j----- k----- On Tuesday 29 March 2005 06:11, sean69 wrote: > wow - thanks, just could not see what the -lz was far... > > Joshua Kugler wrote: > > It means you don't have the compression libraries installed. You > > probably need to install zlib*.rpm (or similar). > > > > j----- k----- > > > > On Monday 28 March 2005 10:27, sean69 wrote: > >>what are these errors, I don't see what make is looking for??? > >>( redhat e3, bacula 1.36.2 ) > >> > >> > >>g++ -c -I. -I.. -g -O2 -Wall stored_conf.c > >>g++ -O -L../lib -o bacula-sd stored.o autochanger.o acquire.o append.o > >>askdir.o authenticate.o block.o butil.o dev.o device.o dircmd.o > >>fd_cmds.o job.o label.o match_bsr.o mount.o parse_bsr.o read.o > >>read_record.o record.o spool.o status.o stored_conf.o -lbac -lm > >> -lpthread g++ -c -I. -I.. -g -O2 -Wall bls.c > >>g++ -O -L../lib -L../findlib -o bls bls.o block.o butil.o device.o > >>dev.o label.o match_bsr.o autochanger.o acquire.o mount.o parse_bsr.o > >>record.o read_record.o stored_conf.o spool.o -lfind -lbac -lm -lpthread > >>g++ -c -I. -I.. -g -O2 -Wall bextract.c > >>g++ -O -L../lib -L../findlib -o bextract bextract.o block.o device.o > >>dev.o label.o record.o autochanger.o acquire.o mount.o match_bsr.o > >>parse_bsr.o butil.o read_record.o stored_conf.o spool.o -lfind -lbac > >>-lm -lpthread > >>g++ -c -I. -I.. -g -O2 -Wall bscan.c > >>g++ -O -L../lib -L../cats -L../findlib -o bscan bscan.o block.o > >>device.o dev.o label.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 > >>-lsql -L/usr/lib/mysql -lmysqlclient_r -lz -lfind -lbac -lm -lpthread > >>/usr/bin/ld: cannot find -lz > >>collect2: ld returned 1 exit status > >>make[1]: *** [bscan] Error 1 > >>make[1]: Leaving directory `/root/bacula-1.36.2/src/stored' > >> > >> > >> ====== Error in /root/bacula-1.36.2/src/stored ====== > >> > >> > >>==>Entering directory /root/bacula-1.36.2/src/tools > >>make[1]: Entering directory `/root/bacula-1.36.2/src/tools' > >>g++ -c -I. -I.. -g -O2 -Wall bsmtp.c > >>g++ -O -L../lib -o bsmtp bsmtp.o -lbac -lm -lpthread > >>g++ -c -I. -I.. -g -O2 -Wall dbcheck.c > >>g++ -O -L../lib -L../cats -o dbcheck dbcheck.o ../dird/dird_conf.o > >>../dird/run_conf.o ../dird/inc_conf.o -lsql -lbac -lm -L/usr/lib/mysql > >>-lmysqlclient_r -lz -lpthread > >>/usr/bin/ld: cannot find -lz > >>collect2: ld returned 1 exit status > >>make[1]: *** [dbcheck] Error 1 > >>make[1]: Leaving directory `/root/bacula-1.36.2/src/tools' > >> > >> > >> ====== Error in /root/bacula-1.36.2/src/tools ====== -- Joshua Kugler CDE System Administrator http://distance.uaf.edu/ ------------------------------------------------------- This SF.net email is sponsored by Demarc: A global provider of Threat Management Solutions. Download our HomeAdmin security software for free today! http://www.demarc.com/Info/Sentarus/hamr30 _______________________________________________ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users