On Mon, 21 May 2007, jake brown wrote: > I have been trying to build linux-ha 2.0.8 under solaris10 x86 and > everytime I build it I get this error any clue? > > gnutls_x509_crt_init quorumd-quorumd.o > gnutls_credentials_set quorumd-quorumd.o > gnutls_certificate_set_x509_crl_file quorumd-quorumd.o > gnutls_global_init quorumd-quorumd.o > gnutls_certificate_type_get quorumd-quorumd.o > gnutls_bye quorumd-quorumd.o > gnutls_deinit quorumd-quorumd.o > gnutls_transport_set_ptr quorumd-quorumd.o > gnutls_certificate_set_dh_params quorumd-quorumd.o > gnutls_certificate_set_x509_key_file quorumd-quorumd.o > gnutls_x509_crt_import quorumd-quorumd.o > gnutls_x509_crt_get_dn quorumd-quorumd.o > gnutls_x509_crt_deinit quorumd-quorumd.o > gnutls_certificate_allocate_credentials quorumd-quorumd.o > gnutls_dh_params_generate2 quorumd-quorumd.o > gnutls_certificate_server_set_request quorumd-quorumd.o > gnutls_handshake quorumd-quorumd.o > ld: fatal: Symbol referencing errors. No output written to .libs/quorumd > collect2: ld returned 1 exit status > gmake[2]: *** [quorumd] Error 1 > gmake[1]: *** [all-recursive] Error 1 > gmake: *** [all-recursive] Error 1 > > Thanks for your help,
Various parts of heartbeat depend on various other bits of software being available in (or with) the operating system. The heartbeat configure process (in theory at least) knows about such dependencies, and tries to handle them cleanly. heartbeat's "quorumd" is an optional component of heartbeat, and itself depends on "gnutls" being available elsewhere in the OS. On Solaris, this "gnutls" is generally absent from the OS. Because heartbeat's "quorumd" is itself optional, then (in theory at least) the heartbeat build process on such a system ought, by default, to try to avoid building "quorumd" and proceed successfully. So if a simple "ConfigureMe"(*) is behaving correctly, then it ought not to be attempting to build "quorumd" at all (it should not be going into that "quorumd" directory in the first place). (*) Note that we strongly recommend using heartbeat's "ConfigureMe", rather than directly using "configure". Could you check the output of your "ConfigureMe" run (its "configure" component) to see it discovered about "gnutls" and "quorumd", and how they may relate to any options passed from "ConfigureMe" to "configure"? Thanks. (In the above, you'll notice a fair amount of "ought to" and "in theory". It is possible that bugs exist...) -- : David Lee I.T. Service : : Senior Systems Programmer Computer Centre : : UNIX Team Leader Durham University : : South Road : : http://www.dur.ac.uk/t.d.lee/ Durham DH1 3LE : : Phone: +44 191 334 2752 U.K. : _______________________________________________ Linux-HA mailing list [email protected] http://lists.linux-ha.org/mailman/listinfo/linux-ha See also: http://linux-ha.org/ReportingProblems
