<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=us-ascii">
</head>
<body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; color: rgb(0, 0, 0); font-size: 12px; font-family: Courier, sans-serif; ">
<div>I get the following message in the configure output when trying to build:</div>
<div><br>
</div>
<div>libstatgrab . . . . . no (symbol sg_init not found)</div>
<div><br>
</div>
<div>I know it can find the lib and:</div>
<div><br>
</div>
<div>
<div>[root@05e534b1-9281-44b2-9734-974da75e775e ~/collectd-5.3.1]# nm -D /opt/local/lib/libstatgrab.so.9.0.0 | grep sg_</div>
<div>00000000000101d0 T sg_clear_error</div>
<div>0000000000010f60 T sg_comp_destroy</div>
<div>0000000000011020 T sg_comp_get_tls</div>
<div>0000000000010bb0 T sg_comp_init</div>
<div>000000000000ec10 T sg_concat_string</div>
<div>0000000000022c40 D sg_cpu_init</div>
<div>0000000000022a60 D sg_cpu_percents_vector_init_info</div>
<div>0000000000022aa0 D sg_cpu_stats_vector_init_info</div>
<div>0000000000022c80 D sg_disk_init</div>
<div>000000000000b1f0 T sg_disk_io_compare_name</div>
<div>000000000000b200 T sg_disk_io_compare_traffic</div>
<div>0000000000022f00 D sg_disk_io_stats_vector_init_info</div>
<div>000000000000eb40 T sg_drop_privileges</div>
<div>0000000000022ec0 D sg_error_init</div>
<div>000000000000fdd0 T sg_free_stats_buf</div>
<div>000000000000ae00 T sg_fs_compare_device_name</div>
<div>000000000000ae10 T sg_fs_compare_mnt_point</div>
<div>0000000000022f40 D sg_fs_stats_vector_init_info</div>
<div>00000000000097b0 T sg_get_cpu_percents_of</div>
<div>0000000000009920 T sg_get_cpu_percents_r</div>
<div>00000000000093f0 T sg_get_cpu_stats</div>
<div>0000000000009560 T sg_get_cpu_stats_diff</div>
<div>00000000000096f0 T sg_get_cpu_stats_diff_between</div>
<div>00000000000094b0 T sg_get_cpu_stats_r</div>
<div>000000000000ae20 T sg_get_disk_io_stats</div>
<div>000000000000afc0 T sg_get_disk_io_stats_diff</div>
<div>000000000000b0f0 T sg_get_disk_io_stats_diff_between</div>
<div>000000000000af00 T sg_get_disk_io_stats_r</div>
<div>00000000000103c0 T sg_get_error</div>
<div>00000000000103e0 T sg_get_error_arg</div>
<div>0000000000010420 T sg_get_error_details</div>
<div>0000000000010400 T sg_get_error_errno</div>
<div>000000000000aa50 T sg_get_fs_stats</div>
<div>000000000000abe0 T sg_get_fs_stats_diff</div>
<div>000000000000ad00 T sg_get_fs_stats_diff_between</div>
<div>000000000000ab20 T sg_get_fs_stats_r</div>
<div>000000000000cba0 T sg_get_host_info</div>
<div>000000000000cc60 T sg_get_host_info_r</div>
<div>000000000000b310 T sg_get_load_stats</div>
<div>000000000000b3d0 T sg_get_load_stats_r</div>
<div>000000000000b630 T sg_get_mem_stats</div>
<div>000000000000b6f0 T sg_get_mem_stats_r</div>
<div>000000000000fbf0 T sg_get_nelements</div>
<div>000000000000c3f0 T sg_get_network_iface_stats</div>
<div>000000000000c4d0 T sg_get_network_iface_stats_r</div>
<div>000000000000c030 T sg_get_network_io_stats</div>
<div>000000000000c1c0 T sg_get_network_io_stats_diff</div>
<div>000000000000c2e0 T sg_get_network_io_stats_diff_between</div>
<div>000000000000c100 T sg_get_network_io_stats_r</div>
<div>000000000000cf30 T sg_get_page_stats</div>
<div>000000000000d0a0 T sg_get_page_stats_diff</div>
<div>000000000000d1d0 T sg_get_page_stats_diff_between</div>
<div>000000000000cff0 T sg_get_page_stats_r</div>
<div>000000000000de40 T sg_get_process_count_of</div>
<div>000000000000df20 T sg_get_process_count_r</div>
<div>000000000000dbb0 T sg_get_process_stats</div>
<div>000000000000dc80 T sg_get_process_stats_r</div>
<div>000000000000e9c0 T sg_get_svr_from_bsd</div>
<div>000000000000e2b0 T sg_get_swap_stats</div>
<div>000000000000e370 T sg_get_swap_stats_r</div>
<div>000000000000e830 T sg_get_user_stats</div>
<div>000000000000e900 T sg_get_user_stats_r</div>
<div>000000000000a890 T sg_get_valid_filesystems</div>
<div>0000000000010b10 T sg_global_lock</div>
<div>0000000000010b60 T sg_global_unlock</div>
<div>000000000000f440 T sg_init</div>
<div>0000000000022cc0 D sg_load_init</div>
<div>0000000000022ae0 D sg_load_stats_vector_init_info</div>
<div>00000000000109d0 T sg_lock_mutex</div>
<div>000000000000ed70 T sg_lupdate_string</div>
<div>0000000000022d00 D sg_mem_init</div>
<div>0000000000022b20 D sg_mem_stats_vector_init_info</div>
<div>000000000000c590 T sg_network_iface_compare_name</div>
<div>0000000000022f80 D sg_network_iface_stats_vector_init_info</div>
<div>0000000000022d40 D sg_network_init</div>
<div>000000000000c3e0 T sg_network_io_compare_name</div>
<div>0000000000022fc0 D sg_network_io_stats_vector_init_info</div>
<div>0000000000022d80 D sg_os_init</div>
<div>0000000000023000 D sg_os_stats_vector_init_info</div>
<div>0000000000022dc0 D sg_page_init</div>
<div>0000000000022b60 D sg_page_stats_vector_init_info</div>
<div>000000000000ddf0 T sg_process_compare_cpu</div>
<div>000000000000dd90 T sg_process_compare_gid</div>
<div>000000000000dd40 T sg_process_compare_name</div>
<div>000000000000dd50 T sg_process_compare_pid</div>
<div>000000000000ddd0 T sg_process_compare_res</div>
<div>000000000000ddb0 T sg_process_compare_size</div>
<div>000000000000de20 T sg_process_compare_time</div>
<div>000000000000dd70 T sg_process_compare_uid</div>
<div>0000000000022ba0 D sg_process_count_vector_init_info</div>
<div>0000000000022e00 D sg_process_init</div>
<div>0000000000023060 D sg_process_stats_vector_init_info</div>
<div>000000000000f870 T sg_prove_vector</div>
<div>000000000000eba0 T sg_realloc</div>
<div>0000000000010200 T sg_set_error_fmt</div>
<div>0000000000010340 T sg_set_error_with_errno_code_fmt</div>
<div>0000000000010290 T sg_set_error_with_errno_fmt</div>
<div>000000000000a8b0 T sg_set_valid_filesystems</div>
<div>000000000000eb20 T sg_shutdown</div>
<div>000000000000eb30 T sg_snapshot</div>
<div>00000000000104b0 T sg_str_error</div>
<div>000000000000ea70 T sg_strlcat</div>
<div>000000000000ea10 T sg_strlcpy</div>
<div>0000000000010670 T sg_strperror</div>
<div>0000000000022e40 D sg_swap_init</div>
<div>0000000000022be0 D sg_swap_stats_vector_init_info</div>
<div>0000000000010a70 T sg_unlock_mutex</div>
<div>000000000000ece0 T sg_update_mem</div>
<div>000000000000ee10 T sg_update_string</div>
<div>0000000000022e80 D sg_user_init</div>
<div>00000000000230a0 D sg_user_stats_vector_init_info</div>
<div>000000000000f960 T sg_vector_clear</div>
<div>000000000000fc40 T sg_vector_clone</div>
<div>000000000000fce0 T sg_vector_clone_into</div>
<div>000000000000fe10 T sg_vector_compute_diff</div>
<div>000000000000f8e0 T sg_vector_create</div>
<div>000000000000f920 T sg_vector_free</div>
<div>000000000000f9a0 T sg_vector_resize</div>
</div>
<div><br>
</div>
<div>So the symbol is there.</div>
<div><br>
</div>
<div>Can anyone point a direction to investigate here please?</div>
<div><br>
</div>
<div>
<div>-- </div>
<div>
<div>Khushil Dep - Infrastructure Lead</div>
<div>@khushil</div>
</div>
</div>
<br clear="both">
______________________________________________________________________<BR>
This e-mail and any attached files are intended for the named addressee only. It contains information, which may be confidential and legally privileged and also protected by copyright. Unless you are the named addressee (or authorised to receive for the addressee) you may not copy or use it, or disclose it to anyone else. If you received it in error please notify the sender immediately and then delete it from your system. <BR>
Associated Newspapers Ltd. Registered Office: Northcliffe House, 2 Derry St, Kensington, London, W8 5TT. Registered No 84121 England.<BR>
</body>
</html>