I would like to compile bacula 7.0.5 with LZO compression support on Ubuntu Server 14.04.2 LTS, but I am unable to do so.
I have successfully compiled LZO 2.0.9 (http://www.oberhumer.com/opensource/lzo/download/lzo-2.09.tar.gz) using: ./configure --prefix=/usr/local (I have tried with and without --with-gnu-ld) /usr/local/lib/ cointaines theese files: liblzo2.a liblzo2.la liblzo2.so liblzo2.so.2 liblzo2.so.2.0.0 I am trying to compile bacula ussing command: CPPFLAGS=-I/usr/local/include LDFLAGS=-L/usr/local/lib ./configure --sysconfdir=/etc/bacula --with-scriptdir=/etc/bacula/scripts --with-working-dir=/var/bacula/working --with-pid-dir=/var/bacula/pid --with-readline=/usr/include/readline --enable-lockmgr --enable-smartalloc --with-included-gettext --with-openssl --with-db-name=bacula --with-db-user=bacula --with-postgresql --with-lzo Without --with-lzo it compiles ok, but with --with-lzo it always returns error when running "make": ... Compiling status.c Compiling verify.c Compiling verify_vol.c Compiling xattr.c Linking bacula-fd ... /home/lado/Build/bacula-7.0.5/libtool --silent --tag=CXX --mode=link /usr/bin/g++ -L/usr/local/lib -L../lib -L../findlib -o bacula-fd filed.o authenticate.o acl.o backup.o estimate.o fd_plugins.o accurate.o filed_conf.o heartbeat.o job.o restore.o status.o verify.o verify_vol.o xattr.o \ -lz -lbacfind -lbaccfg -lbac -lm -lpthread -ldl -ldl \ -lssl -lcrypto -lzo2 /usr/bin/ld: cannot find -lzo2 collect2: error: ld returned 1 exit status make[1]: *** [bacula-fd] Error 1 make[1]: Leaving directory `/home/lado/Build/bacula-7.0.5/src/filed' ====== Error in /home/lado/Build/bacula-7.0.5/src/filed ====== I have also tried options with -LLIBDIR but with nosuccess. I have tried adding --with-lzo=/usr/local/include/lzo. I have tried with compiled LZO and with using package liblzo2-dev from repository. I have no more ideas how to compile bacula with LZO support. Please help. How can I compile bacula with LZO support? +---------------------------------------------------------------------- |This was sent by lado.lan...@gmail.com via Backup Central. |Forward SPAM to ab...@backupcentral.com. +---------------------------------------------------------------------- ------------------------------------------------------------------------------ One dashboard for servers and applications across Physical-Virtual-Cloud Widest out-of-the-box monitoring support with 50+ applications Performance metrics, stats and reports that give you Actionable Insights Deep dive visibility with transaction tracing using APM Insight. http://ad.doubleclick.net/ddm/clk/290420510;117567292;y _______________________________________________ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users