Carlos Lopez
unread,Nov 25, 2018, 11:58:17 AM11/25/18Sign in to reply to author
Sign in to forward
You do not have permission to delete messages in this group
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to wa...@googlegroups.com
Hi all,
When you try to install Wazuh's agent in an OpenBSD host (latest
release 6.4, with unveil support enabled), the following errors appears:
libwazuhext.so: warning: strcpy() is almost always misused, please use
strlcpy()
libwazuh.a(agent_op.o): In function `w_remove_multigroup':
agent_op.c:(.text+0x102f): warning: sprintf() is often misused, please
use snprintf()
libwazuhext.so: warning: strcat() is almost always misused, please use
strlcat()
CC syscheckd/win_whodata.o
CC syscheckd/run_realtime.o
CC syscheckd/win-registry.o
CC syscheckd/syscheck_audit.o
CC syscheckd/run_check.o
CC syscheckd/seechanges.o
CC syscheckd/config.o
CC syscheckd/syscheck.o
CC syscheckd/syscom.o
CC syscheckd/create_db.o
CC rootcheck/check_rc_trojans.o
CC rootcheck/check_rc_pids.o
CC rootcheck/check_rc_policy.o
CC rootcheck/run_rk_check.o
CC rootcheck/check_rc_sys.o
CC rootcheck/check_rc_dev.o
CC rootcheck/check_rc_readproc.o
CC rootcheck/win-common.o
CC rootcheck/os_string.o
CC rootcheck/check_open_ports.o
CC rootcheck/check_rc_if.o
In file included from rootcheck/check_rc_if.c:27:
In file included from rootcheck/rootcheck.h:13:
./headers/list_op.h:32:5: error: unknown type name 'pthread_rwlock_t'
pthread_rwlock_t wr_mutex;
^
./headers/list_op.h:33:5: error: unknown type name 'pthread_mutex_t'
pthread_mutex_t mutex;
^
2 errors generated.
gmake[1]: *** [Makefile:1157: rootcheck/check_rc_if.o] Error 1
gmake[1]: Leaving directory '/tmp/gg/wazuh-3.7.0/src'
gmake: *** [Makefile:559: agent] Error 2
Error 0x5.
Building error. Unable to finish the installation.
Installed packages in this system:
curl-7.61.1 get files from FTP, Gopher, HTTP or HTTPS servers
gettext-0.19.8.1p1 GNU gettext runtime libraries and programs
gmake-4.2.1 GNU make
intel-firmware-20180807p0v0 microcode update binaries for Intel CPUs
libiconv-1.14p3 character set conversion library
nghttp2-1.33.0 library for HTTP/2
quirks-3.16 exceptions to pkg_add rules
rsync-3.1.3 mirroring/synchronization over low bandwidth links
During the compilation phase several source packages are downloaded
which could be installed from the official OpenBSD repositories such as
libyaml. On the other hand other packages that already exist in the
system as zlib are downloaded or others like curl already installed but
wazuh's installer forces to download. Maybe it could be a good idea to
install all dependencies via "pkg_add -av".
On the other side, it could be a not good idea to use OpenSSL in BSD
systems (FreeBSD and OpenBSD mainly) and use LibreSSL instead. The error
I'm reporting is most likely caused by the use of OpenSSL libraries.
I have several OpenBSD and FreeBSD hosts if you want me to do
installation tests.
--
Regards,
C.L. Martinez