<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html><head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<meta name="generator" content="Osso Notes">
<title></title></head>
<body>
<p>Hi,
<br>
<br>I definitely know that compiling for AIX was not simple when the BalaBit PE team did it on our environment. You might get some clues from the file tgz2build/rules and look for AIX specific build options. I know that the AIX runtime linker has two distinct modes of operation: the one that came before ELF and shared objects on other UNIXes (w/o using -Brtl), and the one 'inspired' by it (using -Brtl). So AIX differs from everything else, and all dependencies of syslog-ng should be compiled the same way. libtool might also be a problem, a relatively recent one should be used.
<br>
<br>The issue here seems to be related to ivykis. Do you use the one internally shipped by syslog-ng?
<br>
<br>Alternatively you might consider evaluating the PE version, the hassles for compiling would be gone, as that's taken care of by BalaBit.
<br>
<br>disclaimer: I work for BalaBit, although not directly on syslog-ng PE development. I just thought it might actually be cheaper to pay for the vast platform support we offer (50+ variations are available), than rolling your binaries everywhere.
<br>
<br>
<br>
<br>----- Original message -----
<br>> After i extract all the *.a file into 8.so as per the information
<br>> available in the thread <a href="https://bugzilla.balabit.com/show_bug.cgi?id=214">https://bugzilla.balabit.com/show_bug.cgi?id=214</a>,
<br>>  i am getting following issue
<br>>
<br>> # ./syslog-ng
<br>> Error opening plugin module; module='affile', error='rtld: 0712-001
<br>> Symbol __iv_now_location was referenced\x0a  from module
<br>> /opt/soe/local/syslog-ng-3.3.6/lib/syslog-ng/libaffile.so(), but a
<br>> runtime definition\x0a  of the symbol was not found.'
<br>> Error opening plugin module; module='afsocket', error='rtld: 0712-001
<br>> Symbol __iv_now_location was referenced\x0a  from module
<br>> /opt/soe/local/syslog-ng-3.3.6/lib/syslog-ng/libafsocket.so(), but a
<br>> runtime definition\x0a  of the symbol was not found.'
<br>> Error opening plugin module; module='dbparser', error='rtld: 0712-001
<br>> Symbol __iv_now_location was referenced\x0a  from module
<br>> /opt/soe/local/syslog-ng-3.3.6/lib/syslog-ng/libdbparser.so(), but a
<br>> runtime definition\x0a  of the symbol was not found.'
<br>> Error opening plugin module; module='afsocket', error='rtld: 0712-001
<br>> Symbol __iv_now_location was referenced\x0a  from module
<br>> /opt/soe/local/syslog-ng-3.3.6/lib/syslog-ng/libafsocket.so(), but a
<br>> runtime definition\x0a  of the symbol was not found.'
<br>> Error opening plugin module; module='affile', error='rtld: 0712-001
<br>> Symbol __iv_now_location was referenced\x0a  from module
<br>> /opt/soe/local/syslog-ng-3.3.6/lib/syslog-ng/libaffile.so(), but a
<br>> runtime definition\x0a  of the symbol was not found.'
<br>> Error opening plugin module; module='dbparser', error='rtld: 0712-001
<br>> Symbol __iv_now_location was referenced\x0a  from module
<br>> /opt/soe/local/syslog-ng-3.3.6/lib/syslog-ng/libdbparser.so(), but a
<br>> runtime definition\x0a  of the symbol was not found.'
<br>> Error parsing source, source plugin unix-dgram not found in source
<br>> confgen system at line 1, column 1:
<br>>  included from
<br>> /opt/soe/local/syslog-ng-3.3.6/etc/syslog-ng.conf line 10, column 9
<br>>
<br>> unix-dgram
<br>> ^^^^^^^^^^
<br>>
<br>> syslog-ng documentation:
<br>> <a href="http://www.balabit.com/support/documentation/?product=syslog-ng">http://www.balabit.com/support/documentation/?product=syslog-ng</a>
<br>> mailing list: <a href="https://lists.balabit.hu/mailman/listinfo/syslog-ng">https://lists.balabit.hu/mailman/listinfo/syslog-ng</a>
<br>>
<br>> Please some one help me.
<br>>
<br>>
<br>>
<br>> On Sun, Dec 23, 2012 at 1:17 PM, Manimaran kk <<a href="mailto:kmmmailbox@gmail.com">kmmmailbox@gmail.com</a>>
<br>> wrote:
<br>>
<br>> > I have compiled the syslog-ng version 3.3.6 on a AIX 5.3 .
<br>> > The compilation went through fine but when I try to run syslog-ng, i am
<br>> > getting following error.
<br>> >
<br>> > # ./syslog-ng
<br>> > Error opening plugin module; module='affile', error='\x090509-022
<br>> > Cannot load module
<br>> > /opt/soe/local/syslog-ng-3.3.6/lib/syslog-ng/libaffile.so.\x0a\x090509-026
<br>> > System error: A file or directory in the path name does not exist.'
<br>> > Error opening plugin module; module='afprog', error='\x090509-022
<br>> > Cannot load module
<br>> > /opt/soe/local/syslog-ng-3.3.6/lib/syslog-ng/libafprog.so.\x0a\x090509-026
<br>> > System error: A file or directory in the path name does not exist.'
<br>> > Plugin module not found in 'module-path';
<br>> > module-path='/opt/soe/local/syslog-ng-3.3.6/lib/syslog-ng',
<br>> > module='afsocket'
<br>> > Error opening plugin module; module='afuser', error='\x090509-022
<br>> > Cannot load module
<br>> > /opt/soe/local/syslog-ng-3.3.6/lib/syslog-ng/libafuser.so.\x0a\x090509-026
<br>> > System error: A file or directory in the path name does not exist.'
<br>> > Error opening plugin module; module='basicfuncs', error='\x090509-022
<br>> > Cannot load module
<br>> > /opt/soe/local/syslog-ng-3.3.6/lib/syslog-ng/libbasicfuncs.so.\x0a\x090509-026
<br>> > System error: A file or directory in the path name does not exist.'
<br>> > Error opening plugin module; module='csvparser', error='\x090509-022
<br>> > Cannot load module
<br>> > /opt/soe/local/syslog-ng-3.3.6/lib/syslog-ng/libcsvparser.so.\x0a\x090509-026
<br>> > System error: A file or directory in the path name does not exist.'
<br>> > Error opening plugin module; module='dbparser', error='rtld: 0712-001
<br>> > Symbol __iv_now_location was referenced\x0a  from module
<br>> > /opt/soe/local/syslog-ng-3.3.6/lib/syslog-ng/libdbparser.so(), but a
<br>> > runtime definition\x0a  of the symbol was not found.'
<br>> > Error opening plugin module; module='syslogformat', error='\x090509-022
<br>> > Cannot load module
<br>> > /opt/soe/local/syslog-ng-3.3.6/lib/syslog-ng/libsyslogformat.so.\x0a\x090509-026
<br>> > System error: A file or directory in the path name does not exist.'
<br>> > Error opening plugin module; module='syslogformat', error='\x090509-022
<br>> > Cannot load module
<br>> > /opt/soe/local/syslog-ng-3.3.6/lib/syslog-ng/libsyslogformat.so.\x0a\x090509-026
<br>> > System error: A file or directory in the path name does not exist.'
<br>> > Error opening plugin module; module='basicfuncs', error='\x090509-022
<br>> > Cannot load module
<br>> > /opt/soe/local/syslog-ng-3.3.6/lib/syslog-ng/libbasicfuncs.so.\x0a\x090509-026
<br>> > System error: A file or directory in the path name does not exist.'
<br>> > Plugin module not found in 'module-path';
<br>> > module-path='/opt/soe/local/syslog-ng-3.3.6/lib/syslog-ng',
<br>> > module='afsocket'
<br>> > Error opening plugin module; module='affile', error='\x090509-022
<br>> > Cannot load module
<br>> > /opt/soe/local/syslog-ng-3.3.6/lib/syslog-ng/libaffile.so.\x0a\x090509-026
<br>> > System error: A file or directory in the path name does not exist.'
<br>> > Error opening plugin module; module='afprog', error='\x090509-022
<br>> > Cannot load module
<br>> > /opt/soe/local/syslog-ng-3.3.6/lib/syslog-ng/libafprog.so.\x0a\x090509-026
<br>> > System error: A file or directory in the path name does not exist.'
<br>> > Error opening plugin module; module='afuser', error='\x090509-022
<br>> > Cannot load module
<br>> > /opt/soe/local/syslog-ng-3.3.6/lib/syslog-ng/libafuser.so.\x0a\x090509-026
<br>> > System error: A file or directory in the path name does not exist.'
<br>> > Error opening plugin module; module='dbparser', error='rtld: 0712-001
<br>> > Symbol __iv_now_location was referenced\x0a  from module
<br>> > /opt/soe/local/syslog-ng-3.3.6/lib/syslog-ng/libdbparser.so(), but a
<br>> > runtime definition\x0a  of the symbol was not found.'
<br>> > Error opening plugin module; module='csvparser', error='\x090509-022
<br>> > Cannot load module
<br>> > /opt/soe/local/syslog-ng-3.3.6/lib/syslog-ng/libcsvparser.so.\x0a\x090509-026
<br>> > System error: A file or directory in the path name does not exist.'
<br>> > Error opening plugin module; module='confgen', error='\x090509-022
<br>> > Cannot load module
<br>> > /opt/soe/local/syslog-ng-3.3.6/lib/syslog-ng/libconfgen.so.\x0a\x090509-026
<br>> > System error: A file or directory in the path name does not exist.'
<br>> > Error opening plugin module; module='confgen', error='\x090509-022
<br>> > Cannot load module
<br>> > /opt/soe/local/syslog-ng-3.3.6/lib/syslog-ng/libconfgen.so.\x0a\x090509-026
<br>> > System error: A file or directory in the path name does not exist.'
<br>> > Error parsing source, source plugin system not found in
<br>> > /opt/soe/local/syslog-ng-3.3.6/etc/syslog-ng.conf at line 10, column 2:
<br>> >
<br>> > system();
<br>> > ^^^^^^
<br>> >
<br>> > syslog-ng documentation:
<br>> > <a href="http://www.balabit.com/support/documentation/?product=syslog-ng">http://www.balabit.com/support/documentation/?product=syslog-ng</a>
<br>> > mailing list: <a href="https://lists.balabit.hu/mailman/listinfo/syslog-ng">https://lists.balabit.hu/mailman/listinfo/syslog-ng</a>
<br>> > #
<br>> >
<br>> > Compiler Option
<br>> > -------------------------------------
<br>> > syslog-ng Open Source Edition 3.3.6 configured
<br>> > Compiler options:
<br>> > compiler  : gcc -std=gnu99
<br>> > compiler options  : -g -O2 -Wall -pthread -D_LARGE_FILES=1
<br>> > -pthread -I/usr/local/include/glib-2.0
<br>> > -I/usr/local/lib/glib-2.0/include
<br>> > -I/opt/soe/local/syslog-ng-3.3.6/eventlog/include/eventlog
<br>> > -I$(top_srcdir)/lib/ivykis/lib/include
<br>> > -I$(top_builddir)/lib/ivykis/lib/include
<br>> > -I$(top_srcdir)/lib/ivykis/modules/include -D_GNU_SOURCE
<br>> > -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 linker flags  
<br>> > : -L/opt/soe/local/syslog-ng-3.3.6/lib -L/usr/local/lib -L/usr/ccs/lib
<br>> > -L/usr/lib -lpthread -Wl,-brtl prefix  :
<br>> > /opt/soe/local/syslog-ng-3.3.6 linking mode  : dynamic
<br>> > __thread keyword  : yes
<br>> > Submodules:
<br>> > ivykis  : internal
<br>> > libmongo-client  : internal
<br>> > Features:
<br>> > Debug symbols  : no
<br>> > GCC profiling  : no
<br>> > Memtrace  : no
<br>> > IPV6 support  : yes
<br>> > spoof-source support  : no
<br>> > tcp-wrapper support  : no
<br>> > Linux capability support  : no
<br>> > PCRE support  : no
<br>> > Env wrapper support  : yes
<br>> > systemd support  : no (unit dir: none)
<br>> > Modules:
<br>> > Module search path  :
<br>> > /opt/soe/local/syslog-ng-3.3.6/lib/syslog-ng
<br>> > Default module list  :
<br>> > affile,afprog,afsocket,afuser,basicfuncs,csvparser,dbparser,syslogformat
<br>> > Sun STREAMS support (module): no
<br>> > SSL support (module)  : no
<br>> > SQL support (module)  : no
<br>> > PACCT module (EXPERIMENTAL) : no
<br>> > MongoDB destination (module): yes
<br>> > JSON support (module)  : no (using no)
<br>> >
<br>> > Could any one assist please.
<br>> >
<br><br></p>
</body>
</html>