Hi, 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. The issue here seems to be related to ivykis. Do you use the one internally shipped by syslog-ng? Alternatively you might consider evaluating the PE version, the hassles for compiling would be gone, as that's taken care of by BalaBit. 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. ----- Original message -----
After i extract all the *.a file into 8.so as per the information available in the thread https://bugzilla.balabit.com/show_bug.cgi?id=214, i am getting following issue
# ./syslog-ng Error opening plugin module; module='affile', error='rtld: 0712-001 Symbol __iv_now_location was referenced\x0a from module /opt/soe/local/syslog-ng-3.3.6/lib/syslog-ng/libaffile.so(), but a runtime definition\x0a of the symbol was not found.' Error opening plugin module; module='afsocket', error='rtld: 0712-001 Symbol __iv_now_location was referenced\x0a from module /opt/soe/local/syslog-ng-3.3.6/lib/syslog-ng/libafsocket.so(), but a runtime definition\x0a of the symbol was not found.' Error opening plugin module; module='dbparser', error='rtld: 0712-001 Symbol __iv_now_location was referenced\x0a from module /opt/soe/local/syslog-ng-3.3.6/lib/syslog-ng/libdbparser.so(), but a runtime definition\x0a of the symbol was not found.' Error opening plugin module; module='afsocket', error='rtld: 0712-001 Symbol __iv_now_location was referenced\x0a from module /opt/soe/local/syslog-ng-3.3.6/lib/syslog-ng/libafsocket.so(), but a runtime definition\x0a of the symbol was not found.' Error opening plugin module; module='affile', error='rtld: 0712-001 Symbol __iv_now_location was referenced\x0a from module /opt/soe/local/syslog-ng-3.3.6/lib/syslog-ng/libaffile.so(), but a runtime definition\x0a of the symbol was not found.' Error opening plugin module; module='dbparser', error='rtld: 0712-001 Symbol __iv_now_location was referenced\x0a from module /opt/soe/local/syslog-ng-3.3.6/lib/syslog-ng/libdbparser.so(), but a runtime definition\x0a of the symbol was not found.' Error parsing source, source plugin unix-dgram not found in source confgen system at line 1, column 1: included from /opt/soe/local/syslog-ng-3.3.6/etc/syslog-ng.conf line 10, column 9
unix-dgram ^^^^^^^^^^
syslog-ng documentation: http://www.balabit.com/support/documentation/?product=syslog-ng mailing list: https://lists.balabit.hu/mailman/listinfo/syslog-ng
Please some one help me.
On Sun, Dec 23, 2012 at 1:17 PM, Manimaran kk <kmmmailbox@gmail.com> wrote:
I have compiled the syslog-ng version 3.3.6 on a AIX 5.3 . The compilation went through fine but when I try to run syslog-ng, i am getting following error.
# ./syslog-ng Error opening plugin module; module='affile', error='\x090509-022 Cannot load module /opt/soe/local/syslog-ng-3.3.6/lib/syslog-ng/libaffile.so.\x0a\x090509-026 System error: A file or directory in the path name does not exist.' Error opening plugin module; module='afprog', error='\x090509-022 Cannot load module /opt/soe/local/syslog-ng-3.3.6/lib/syslog-ng/libafprog.so.\x0a\x090509-026 System error: A file or directory in the path name does not exist.' Plugin module not found in 'module-path'; module-path='/opt/soe/local/syslog-ng-3.3.6/lib/syslog-ng', module='afsocket' Error opening plugin module; module='afuser', error='\x090509-022 Cannot load module /opt/soe/local/syslog-ng-3.3.6/lib/syslog-ng/libafuser.so.\x0a\x090509-026 System error: A file or directory in the path name does not exist.' Error opening plugin module; module='basicfuncs', error='\x090509-022 Cannot load module /opt/soe/local/syslog-ng-3.3.6/lib/syslog-ng/libbasicfuncs.so.\x0a\x090509-026 System error: A file or directory in the path name does not exist.' Error opening plugin module; module='csvparser', error='\x090509-022 Cannot load module /opt/soe/local/syslog-ng-3.3.6/lib/syslog-ng/libcsvparser.so.\x0a\x090509-026 System error: A file or directory in the path name does not exist.' Error opening plugin module; module='dbparser', error='rtld: 0712-001 Symbol __iv_now_location was referenced\x0a from module /opt/soe/local/syslog-ng-3.3.6/lib/syslog-ng/libdbparser.so(), but a runtime definition\x0a of the symbol was not found.' Error opening plugin module; module='syslogformat', error='\x090509-022 Cannot load module /opt/soe/local/syslog-ng-3.3.6/lib/syslog-ng/libsyslogformat.so.\x0a\x090509-026 System error: A file or directory in the path name does not exist.' Error opening plugin module; module='syslogformat', error='\x090509-022 Cannot load module /opt/soe/local/syslog-ng-3.3.6/lib/syslog-ng/libsyslogformat.so.\x0a\x090509-026 System error: A file or directory in the path name does not exist.' Error opening plugin module; module='basicfuncs', error='\x090509-022 Cannot load module /opt/soe/local/syslog-ng-3.3.6/lib/syslog-ng/libbasicfuncs.so.\x0a\x090509-026 System error: A file or directory in the path name does not exist.' Plugin module not found in 'module-path'; module-path='/opt/soe/local/syslog-ng-3.3.6/lib/syslog-ng', module='afsocket' Error opening plugin module; module='affile', error='\x090509-022 Cannot load module /opt/soe/local/syslog-ng-3.3.6/lib/syslog-ng/libaffile.so.\x0a\x090509-026 System error: A file or directory in the path name does not exist.' Error opening plugin module; module='afprog', error='\x090509-022 Cannot load module /opt/soe/local/syslog-ng-3.3.6/lib/syslog-ng/libafprog.so.\x0a\x090509-026 System error: A file or directory in the path name does not exist.' Error opening plugin module; module='afuser', error='\x090509-022 Cannot load module /opt/soe/local/syslog-ng-3.3.6/lib/syslog-ng/libafuser.so.\x0a\x090509-026 System error: A file or directory in the path name does not exist.' Error opening plugin module; module='dbparser', error='rtld: 0712-001 Symbol __iv_now_location was referenced\x0a from module /opt/soe/local/syslog-ng-3.3.6/lib/syslog-ng/libdbparser.so(), but a runtime definition\x0a of the symbol was not found.' Error opening plugin module; module='csvparser', error='\x090509-022 Cannot load module /opt/soe/local/syslog-ng-3.3.6/lib/syslog-ng/libcsvparser.so.\x0a\x090509-026 System error: A file or directory in the path name does not exist.' Error opening plugin module; module='confgen', error='\x090509-022 Cannot load module /opt/soe/local/syslog-ng-3.3.6/lib/syslog-ng/libconfgen.so.\x0a\x090509-026 System error: A file or directory in the path name does not exist.' Error opening plugin module; module='confgen', error='\x090509-022 Cannot load module /opt/soe/local/syslog-ng-3.3.6/lib/syslog-ng/libconfgen.so.\x0a\x090509-026 System error: A file or directory in the path name does not exist.' Error parsing source, source plugin system not found in /opt/soe/local/syslog-ng-3.3.6/etc/syslog-ng.conf at line 10, column 2:
system(); ^^^^^^
syslog-ng documentation: http://www.balabit.com/support/documentation/?product=syslog-ng mailing list: https://lists.balabit.hu/mailman/listinfo/syslog-ng #
Compiler Option ------------------------------------- syslog-ng Open Source Edition 3.3.6 configured Compiler options: compiler : gcc -std=gnu99 compiler options : -g -O2 -Wall -pthread -D_LARGE_FILES=1 -pthread -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/opt/soe/local/syslog-ng-3.3.6/eventlog/include/eventlog -I$(top_srcdir)/lib/ivykis/lib/include -I$(top_builddir)/lib/ivykis/lib/include -I$(top_srcdir)/lib/ivykis/modules/include -D_GNU_SOURCE -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 linker flags : -L/opt/soe/local/syslog-ng-3.3.6/lib -L/usr/local/lib -L/usr/ccs/lib -L/usr/lib -lpthread -Wl,-brtl prefix : /opt/soe/local/syslog-ng-3.3.6 linking mode : dynamic __thread keyword : yes Submodules: ivykis : internal libmongo-client : internal Features: Debug symbols : no GCC profiling : no Memtrace : no IPV6 support : yes spoof-source support : no tcp-wrapper support : no Linux capability support : no PCRE support : no Env wrapper support : yes systemd support : no (unit dir: none) Modules: Module search path : /opt/soe/local/syslog-ng-3.3.6/lib/syslog-ng Default module list : affile,afprog,afsocket,afuser,basicfuncs,csvparser,dbparser,syslogformat Sun STREAMS support (module): no SSL support (module) : no SQL support (module) : no PACCT module (EXPERIMENTAL) : no MongoDB destination (module): yes JSON support (module) : no (using no)
Could any one assist please.