[syslog-ng] build on MacOS
Pal, Laszlo
vlad at vlad.hu
Mon Jun 1 10:38:39 UTC 2020
Hi,
For quite some time I'm trying to build syslog-ng on my MacBook and I'm
always getting the following error. Is there any Mac user who can help me
with this?
Is there a plan to make syslog-ng available again in homebrew?
ld: warning: ignoring file
> ./modules/dbparser/.libs/libsyslog-ng-patterndb.a, building for
> macOS-x86_64 but attempting to link with file built for unknown-unsupported
> file format ( 0x21 0x3C 0x61 0x72 0x63 0x68 0x3E 0x0A 0x2F 0x20 0x20 0x20
> 0x20 0x20 0x20 0x20 )
> Undefined symbols for architecture x86_64:
> "_pattern_db_debug_ruleset", referenced from:
> _pdbtool_match in pdbtool-pdbtool.o
> "_pattern_db_expire_state", referenced from:
> _pdbtool_match in pdbtool-pdbtool.o
> "_pattern_db_free", referenced from:
> _pdbtool_match in pdbtool-pdbtool.o
> _pdbtool_dump in pdbtool-pdbtool.o
> _pdbtool_test in pdbtool-pdbtool.o
> "_pattern_db_get_ruleset", referenced from:
> _pdbtool_dump in pdbtool-pdbtool.o
> _pdbtool_test in pdbtool-pdbtool.o
> "_pattern_db_global_init", referenced from:
> _main in pdbtool-pdbtool.o
> "_pattern_db_new", referenced from:
> _pdbtool_match in pdbtool-pdbtool.o
> _pdbtool_dump in pdbtool-pdbtool.o
> _pdbtool_test in pdbtool-pdbtool.o
> "_pattern_db_process", referenced from:
> _pdbtool_match in pdbtool-pdbtool.o
> _pdbtool_test in pdbtool-pdbtool.o
> "_pattern_db_reload_ruleset", referenced from:
> _pdbtool_match in pdbtool-pdbtool.o
> _pdbtool_dump in pdbtool-pdbtool.o
> "_pattern_db_set_emit_func", referenced from:
> _pdbtool_match in pdbtool-pdbtool.o
> "_pdb_example_free", referenced from:
> _pdbtool_test in pdbtool-pdbtool.o
> "_pdb_file_validate", referenced from:
> _pdbtool_test in pdbtool-pdbtool.o
> "_pdb_get_filenames", referenced from:
> _pdbtool_merge in pdbtool-pdbtool.o
> "_pdb_rule_get_name", referenced from:
> _pdbtool_test in pdbtool-pdbtool.o
> "_pdb_rule_set_load", referenced from:
> _pdbtool_test in pdbtool-pdbtool.o
> _pdbtool_dictionary in pdbtool-pdbtool.o
> "_pdb_sort_filenames", referenced from:
> _pdbtool_merge in pdbtool-pdbtool.o
> "_ptz_find_clusters", referenced from:
> _pdbtool_patternize in pdbtool-pdbtool.o
> "_ptz_free", referenced from:
> _pdbtool_patternize in pdbtool-pdbtool.o
> "_ptz_load_file", referenced from:
> _pdbtool_patternize in pdbtool-pdbtool.o
> "_ptz_new", referenced from:
> _pdbtool_patternize in pdbtool-pdbtool.o
> "_ptz_print_patterndb", referenced from:
> _pdbtool_patternize in pdbtool-pdbtool.o
> "_r_find_all_applicable_nodes", referenced from:
> _pdbtool_test in pdbtool-pdbtool.o
> "_r_find_node", referenced from:
> _pdbtool_dump in pdbtool-pdbtool.o
> _pdbtool_test in pdbtool-pdbtool.o
> _pdbtool_dictionary in pdbtool-pdbtool.o
> ld: symbol(s) not found for architecture x86_64
> clang: error: linker command failed with exit code 1 (use -v to see
> invocation)
> make[2]: *** [modules/dbparser/pdbtool/pdbtool] Error 1
> make[2]: *** Waiting for unfinished jobs....
> ld: warning: ignoring file
> ./modules/diskq/.libs/libsyslog-ng-disk-buffer.a, building for macOS-x86_64
> but attempting to link with file built for macOS-x86_64
> Undefined symbols for architecture x86_64:
> "_log_queue_disk_load_queue", referenced from:
> _open_queue in dqtool.o
> "_log_queue_disk_non_reliable_new", referenced from:
> _open_queue in dqtool.o
> "_log_queue_disk_reliable_new", referenced from:
> _open_queue in dqtool.o
> ld: symbol(s) not found for architecture x86_64
> clang: error: linker command failed with exit code 1 (use -v to see
> invocation)
Thanks
L
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.balabit.hu/pipermail/syslog-ng/attachments/20200601/28f0cdca/attachment.html>
More information about the syslog-ng
mailing list