[syslog-ng] AIX compilation of syslog-ng 1.6.* (problems with ld)

Jochen Kirn jochen.kirn at gmail.com
Fri Mar 24 14:39:49 CET 2006

Patch for configure.in (tested with syslog ng 1.6.9 source).
> oscheck=`uname`
> elif echo $oscheck | egrep "AIX" > /dev/null; then
>       LD_START_STATIC="-Wl,-bstatic"
>       LD_END_STATIC="-Wl,-bdynamic"

patch -i configure.in.patch configure.in
autoconf configure.in > configure

will do the job.

The -bstatic and '-bdynamic' options of AIX's ld command are supported in
AIX 4.3 and higher according to IBM documentation. I've check this on AIX
4.3.3, 5.1 ML8 and 5.3 ML3.

If someone uses the gnu ld on AIX this should be already covered by the
check for GNU in $ldversion.

AFAIK there is no other way to determine the ld version in a convenient
fashion since IBM introduced the '-V' option lately but prior to AIX
5.3this option seems not be present nor does it gives any hint for AIX
$ ld -V
ld: LD 1.64 (08/19/2003)

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.balabit.hu/pipermail/syslog-ng/attachments/20060324/998f6660/attachment.htm

More information about the syslog-ng mailing list