Simplify the configure script. You have everything and the kitchen sink
(passwords) specified.

Mehma
===

2010/2/7 List Man <list....@bluejeantime.com>

>  I have tried several time to install bacula 5.0.0 on a brand new server
> and I keep getting this linking error for static-bacula-sd.  I don’t know
> what else to do.  I have searched and read the releases and no sugar.  See
> below:
>
> Linking bacula-sd ...
> /usr/bin/g++   -L../lib -o bacula-sd stored.o ansi_label.o vtape.o
> autochanger.o acquire.o append.o askdir.o authenticate.o block.o butil.o
> dev.o device.o dircmd.o dvd.o ebcdic.o fd_cmds.o job.o label.o lock.o mac.o
> match_bsr.o mount.o parse_bsr.o pythonsd.o read.o read_record.o record.o
> reserve.o scan.o sd_plugins.o spool.o status.o stored_conf.o vol_mgr.o
> wait.o -lacl -lz \
>        -lbacpy -lbaccfg -lbac -lm   -lpthread -ldl   \
>      -lssl -lcrypto
> /usr/bin/g++   -static -L../lib -o static-bacula-sd stored.o ansi_label.o
> vtape.o autochanger.o acquire.o append.o askdir.o authenticate.o block.o
> butil.o dev.o device.o dircmd.o dvd.o ebcdic.o fd_cmds.o job.o label.o
> lock.o mac.o match_bsr.o mount.o parse_bsr.o pythonsd.o read.o read_record.o
> record.o reserve.o scan.o sd_plugins.o spool.o status.o stored_conf.o
> vol_mgr.o wait.o -lacl -lz \
>        -lbacpy -lbaccfg -lbac -lm   -lpthread -ldl   \
>      -lssl -lcrypto
> ../lib/libbac.a(plugins.o): In function `load_plugins(void*, void*, char
> const*, char const*, bool (*)(Plugin*))':
> /usr/src/bacula-5.0.0/src/lib/plugins.c:140: warning: Using 'dlopen' in
> statically linked applications requires at runtime the shared libraries from
> the glibc version used for linking
> ../lib/libbac.a(priv.o): In function `drop(char*, char*, bool)':
> /usr/src/bacula-5.0.0/src/lib/priv.c:92: warning: Using 'initgroups' in
> statically linked applications requires at runtime the shared libraries from
> the glibc version used for linking
> ../lib/libbac.a(guid_to_name.o): In function `get_gidname':
> /usr/src/bacula-5.0.0/src/lib/guid_to_name.c:122: warning: Using 'getgrgid'
> in statically linked applications requires at runtime the shared libraries
> from the glibc version used for linking
> ../lib/libbac.a(priv.o): In function `drop(char*, char*, bool)':
> /usr/src/bacula-5.0.0/src/lib/priv.c:85: warning: Using 'getgrnam' in
> statically linked applications requires at runtime the shared libraries from
> the glibc version used for linking
> /usr/src/bacula-5.0.0/src/lib/priv.c:66: warning: Using 'getpwnam' in
> statically linked applications requires at runtime the shared libraries from
> the glibc version used for linking
> ../lib/libbac.a(guid_to_name.o): In function `get_uidname':
> /usr/src/bacula-5.0.0/src/lib/guid_to_name.c:109: warning: Using 'getpwuid'
> in statically linked applications requires at runtime the shared libraries
> from the glibc version used for linking
> ../lib/libbac.a(bnet.o): In function `resolv_host':
> /usr/src/bacula-5.0.0/src/lib/bnet.c:424: warning: Using 'gethostbyname2'
> in statically linked applications requires at runtime the shared libraries
> from the glibc version used for linking
> ../lib/libbac.a(address_conf.o): In function `add_address':
> /usr/src/bacula-5.0.0/src/lib/address_conf.c:310: warning: Using
> 'getservbyname' in statically linked applications requires at runtime the
> shared libraries from the glibc version used for linking
> /usr/lib/gcc/i486-linux-gnu/4.3.2/../../../../lib/libcrypto.a(c_zlib.o): In
> function `zlib_stateful_expand_block':
> (.text+0x12c): undefined reference to `inflate'
> /usr/lib/gcc/i486-linux-gnu/4.3.2/../../../../lib/libcrypto.a(c_zlib.o): In
> function `zlib_stateful_compress_block':
> (.text+0x1af): undefined reference to `deflate'
> /usr/lib/gcc/i486-linux-gnu/4.3.2/../../../../lib/libcrypto.a(c_zlib.o): In
> function `zlib_stateful_finish':
> (.text+0x1fc): undefined reference to `inflateEnd'
> /usr/lib/gcc/i486-linux-gnu/4.3.2/../../../../lib/libcrypto.a(c_zlib.o): In
> function `zlib_stateful_finish':
> (.text+0x207): undefined reference to `deflateEnd'
> /usr/lib/gcc/i486-linux-gnu/4.3.2/../../../../lib/libcrypto.a(c_zlib.o): In
> function `zlib_stateful_init':
> (.text+0x2b0): undefined reference to `inflateInit_'
> /usr/lib/gcc/i486-linux-gnu/4.3.2/../../../../lib/libcrypto.a(c_zlib.o): In
> function `zlib_stateful_init':
> (.text+0x320): undefined reference to `deflateInit_'
> collect2: ld returned 1 exit status
> make[1]: *** [static-bacula-sd] Error 1
> make[1]: Leaving directory `/usr/src/bacula-5.0.0/src/stored'
>
>
> The dir and fd linked just fine.  I used the following script to install
> it.  I am not a new user and this server is being used as an upgrade to an
> existing server.
>
> ./configure --with-working-dir=/var/bacula --sbindir=/usr/sbin
> --sysconfdir=/etc/bacula --with-mysql=/usr/local/mysql
> --with-dump-email=XXXXX --with-job-email=XXX --with-smtp-host=localhost
> --with-baseport=9101 --with-dir-password=XXX --with-fd-password=XX
> --with-dir-user=XXX --with-dir-group=XXX --with-sd-password=XXXX
> --with-sd-user=XXX --with-sd-user=XXX --with-fd-user=XXX --with-fd-user=XXX
> --enable-static-tools --enable-batch-insert --enable-smartalloc
> --enable-largefile --enable-build-dird --enable-build-stored
> --enable-static-fd --enable-static-sd --enable-static-dir
>  --with-pid-dir=/var/bacula  --disable-libtool
>
> Thanks for any help,
>
> Zak
>
>
>
> ------------------------------------------------------------------------------
> The Planet: dedicated and managed hosting, cloud storage, colocation
> Stay online with enterprise data centers and the best network in the
> business
> Choose flexible plans and management services without long-term contracts
> Personal 24x7 support from experience hosting pros just a phone call away.
> http://p.sf.net/sfu/theplanet-com
> _______________________________________________
> Bacula-users mailing list
> Bacula-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/bacula-users
>
>
------------------------------------------------------------------------------
The Planet: dedicated and managed hosting, cloud storage, colocation
Stay online with enterprise data centers and the best network in the business
Choose flexible plans and management services without long-term contracts
Personal 24x7 support from experience hosting pros just a phone call away.
http://p.sf.net/sfu/theplanet-com
_______________________________________________
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users

Reply via email to