And, last entry for this thread, in the hopes that it'll get into the 
search cache and help some other poor schmuck that has to troubleshoot a 
similar issue:

As previously mentioned, I was getting errors in pthread.h.  Much google 
searching led to a page 
(https://issues.apache.org/bugzilla/show_bug.cgi?id=37006) indicating that 
this was an issue with an antiquated version of gcc which makes sense - AIX 
5.3 is antiquated...

Trying to install an updated version of gcc and, pretty much anything else 
for that matter, led to a rather irritatingly constant version of:

# rpm -ivh gettext-0.10.40-8.aix5.2.ppc.rpm libiconv-1.14-2.aix5.1.ppc.rpm
> error: failed dependencies:
>         /bin/sh   is needed by gettext-0.10.40-8
>         /bin/sh is needed by gettext-0.10.40-8
>         libc.a(shr.o) is needed by gettext-0.10.40-8
>         libiconv.a(shr4.o) is needed by gettext-0.10.40-8
>         /bin/sh   is needed by libiconv-1.14-2
>         libc.a(shr.o) is needed by libiconv-1.14-2
>
>  
Yet more searching finally led to another page 
(http://www.ibm.com/developerworks/forums/thread.jspa?messageID=14619190) 
indicating the fix is to run /usr/sbin/updtvpkg.  Once I did that, I was 
able to install gcc and it's dependencies after which I was able to compile 
ossec.  Note to any other future poor schmucks: ensure /bin/false is in the 
"shells" line of "/etc/security/login.cfg" or the useradd command will fail.

And, last note:

Do you know what AIX stands for?

AIN'T UNIX!

Hope that helps someone...

Doug O'Leary

Reply via email to