[syslog-ng] [Bug 214] Build / Install Issues on AIX

bugzilla at bugzilla.balabit.com bugzilla at bugzilla.balabit.com
Fri Jan 11 21:39:28 CET 2013


https://bugzilla.balabit.com/show_bug.cgi?id=214





--- Comment #11 from Ben Lentz <blentz at cswg.com>  2013-01-11 21:39:27 ---
I was able to work around the problem using --with-ivykis=system.

I built using:

./configure --prefix=/opt/local/syslog-ng --with-embedded-crypto --with-ivykis=system

I was unable to get the modules to run, as-is, I had to extract all the .so files from the .a archives with ar, still.

After I've done that, I still get:

$ sudo /opt/local/syslog-ng/sbin/syslog-ng -F
Error opening plugin module; module='afsocket', error='\x090509-022 Cannot load module /opt/local/syslog-ng/lib/syslog-ng/libafsocket.so.\x0a\x090509-150  
Dependent module libsyslog-ng-crypto.a(libsyslog-ng-crypto.so) could not be loaded.\x0a\x090509-022 Cannot load module
libsyslog-ng-crypto.a(libsyslog-ng-crypto.so).\x0a\x090509-026 System error: A file or directory in the path name does not exist.\x0a\x090509-022 Cannot load
module /opt/local/syslog-ng/lib/syslog-ng/libafsocket.so.\x0a\x090509-150   Dependent module /opt/local/syslog-ng/lib/syslog-ng/libafsocket.so could not be
loaded.'
Error opening plugin module; module='afsocket', error='\x090509-022 Cannot load module /opt/local/syslog-ng/lib/syslog-ng/libafsocket.so.\x0a\x090509-150  
Dependent module libsyslog-ng-crypto.a(libsyslog-ng-crypto.so) could not be loaded.\x0a\x090509-022 Cannot load module
libsyslog-ng-crypto.a(libsyslog-ng-crypto.so).\x0a\x090509-026 System error: A file or directory in the path name does not exist.\x0a\x090509-022 Cannot load
module /opt/local/syslog-ng/lib/syslog-ng/libafsocket.so.\x0a\x090509-150   Dependent module /opt/local/syslog-ng/lib/syslog-ng/libafsocket.so could not be
loaded.'
Error parsing source, source plugin unix-dgram not found in source confgen system at line 1, column 1:
                                              included from /opt/local/syslog-ng/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

$ ldd /opt/local/syslog-ng/lib/syslog-ng/libafsocket.so
/opt/local/syslog-ng/lib/syslog-ng/libafsocket.so needs:
         /opt/local/syslog-ng/lib/libsyslog-ng.a(libsyslog-ng-3.3.7.so)
Cannot find libsyslog-ng-crypto.a(libsyslog-ng-crypto.so)
         /opt/local/syslog-ng/lib/libssl.so
         /opt/local/syslog-ng/lib/libcrypto.so
         /usr/lib/libc.a(shr.o)
         /usr/lib/librtl.a(shr.o)
         /opt/local/syslog-ng/lib/libgmodule-2.0.a(libgmodule-2.0.so.0)
         /opt/local/syslog-ng/lib/libgthread-2.0.a(libgthread-2.0.so.0)
         /opt/local/syslog-ng/lib/libglib-2.0.a(libglib-2.0.so.0)
         /opt/local/syslog-ng/lib/libevtlog.a(libevtlog.so.0)
         /opt/local/syslog-ng/lib/libivykis.a(libivykis.so.0)
         /opt/local/syslog-ng/lib/libgcc_s.a(shr.o)
         /usr/lib/libpthreads.a(shr_xpg5.o)
         /unix
         /usr/lib/libcrypt.a(shr.o)
         /usr/lib/libiconv.a(shr4.o)
         /usr/lib/libpthread.a(shr_comm.o)
         /usr/lib/libpthread.a(shr_xpg5.o)
         /opt/local/syslog-ng/lib/libintl.a(libintl.so.8)
         /usr/lib/libthread.a(shr.o)
         /usr/lib/libpthreads.a(shr_comm.o)

I guess I'm confused... shouldn't using --with-embedded-crypto prevent the dependency on this missing library?

I can do this, but it's not really correct to have to hard-code LIBPATH (AIX's version of LD_LIBRARY_PATH) so that this thing can be found.

$ LIBPATH=/opt/local/syslog-ng/lib/syslog-ng ldd /opt/local/syslog-ng/lib/syslog-ng/libafsocket.so
/opt/local/syslog-ng/lib/syslog-ng/libafsocket.so needs:
         /opt/local/syslog-ng/lib/libsyslog-ng.a(libsyslog-ng-3.3.7.so)
         /opt/local/syslog-ng/lib/syslog-ng/libsyslog-ng-crypto.a(libsyslog-ng-crypto.so)
         /opt/local/syslog-ng/lib/libssl.so
         /opt/local/syslog-ng/lib/libcrypto.so
         /usr/lib/libc.a(shr.o)
         /usr/lib/librtl.a(shr.o)
         /opt/local/syslog-ng/lib/libgmodule-2.0.a(libgmodule-2.0.so.0)
         /opt/local/syslog-ng/lib/libgthread-2.0.a(libgthread-2.0.so.0)
         /opt/local/syslog-ng/lib/libglib-2.0.a(libglib-2.0.so.0)
         /opt/local/syslog-ng/lib/libevtlog.a(libevtlog.so.0)
         /opt/local/syslog-ng/lib/libivykis.a(libivykis.so.0)
         /opt/local/syslog-ng/lib/libgcc_s.a(shr.o)
         /usr/lib/libpthreads.a(shr_xpg5.o)
         /unix
         /usr/lib/libcrypt.a(shr.o)
         /usr/lib/libiconv.a(shr4.o)
         /usr/lib/libpthread.a(shr_comm.o)
         /usr/lib/libpthread.a(shr_xpg5.o)
         /opt/local/syslog-ng/lib/libintl.a(libintl.so.8)
         /usr/lib/libthread.a(shr.o)
         /usr/lib/libpthreads.a(shr_comm.o)


-- 
Configure bugmail: https://bugzilla.balabit.com/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are watching all bug changes.


More information about the syslog-ng mailing list