[syslog-ng] syslog-ng 3.3.7 make error hpux 11.31 hppa

Gergely Nagy algernon at balabit.hu
Tue Jan 22 10:03:03 CET 2013


Rakesh Rajasekharan <rakesh.rajasekharan at gmail.com> writes:

> I am trying to compile syslog-ng version 3.3.7. But, the make stage of this
> gives an error. below is the error I encounter.
>
> gcc -Wall -g -O2 -o iv_popen_test iv_popen_test.o  ../../.libs/libivykis.a
> -lcl -lpthread
> /usr/ccs/bin/ld: Unsatisfied symbols:
>    __sync_lock_test_and_set_4 (first referenced in
> ../../.libs/libivykis.a(iv_signal.o)) (code)
> collect2: ld returned 1 exit status
>
> the configure option that I have specified are,
>
> ./configure --enable-dynamic-linking
> --prefix=/opt/soe/local/syslog-ng-3.3.7 --with-pidfile-dir=/var/run
>
> please help me fix this error.

This is because the ivykis shipped with 3.3 does not support hpux. There
are a couple of ways to work around this:

- You can use syslog-ng 3.4.0rc2, which includes an updated ivykis

- You can download ivykis separately (I suggest using 0.36.1[1]),
  installing it, and using --with-ivykis=system when configuring
  syslog-ng.

   [1]: https://github.com/buytenh/ivykis/archive/v0.36.1.tar.gz

- You can also patch ivykis, but that's probably the least
  straightforward option. Do let me know if you're interested in doing
  that, though, and I'll give a link to the few patches you'll likely
  need.

-- 
|8]



More information about the syslog-ng mailing list