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

bugzilla at bugzilla.balabit.com bugzilla at bugzilla.balabit.com
Thu Dec 20 02:32:03 CET 2012


           Summary: Build / Install Issues on AIX
           Product: syslog-ng
           Version: 3.3.x
          Platform: PC
        OS/Version: AIX
            Status: NEW
          Severity: normal
          Priority: unspecified
         Component: syslog-ng
        AssignedTo: bazsi at balabit.hu
        ReportedBy: blentz at cswg.com
Type of the Report: ---
   Estimated Hours: 0.0

More fun for the AIX platform; Using version 3.3.7, GNU Make and GCC 4.2.0

However lib/syslog-ng/libafsocket.so is installed it is installed in such a way that the dependency for libsyslog-ng-crypto.a cannot be found. Seems like some
kind of libtool problem.

$ ldd /opt/local/syslogng/lib/syslog-ng/libafsocket.so           
/opt/local/syslogng/lib/syslog-ng/libafsocket.so needs:
Cannot find libsyslog-ng-crypto.a(libsyslog-ng-crypto.so)

Also, be aware that shared libraries on AIX use the .a suffix, not .so. Out of the box shared libraries are archived into .a files.

$ ar tv /opt/local/syslogng/lib/syslog-ng/libafsocket.a
rwxr-xr-x     0/0     572423 Dec 19 20:23 2012 libafsocket-tls.so

The default "make install" process leaves nothing but *.a files in lib/syslog-ng and on startup the user is greeted with many errors about missing loadable

The RPM that Perzl makes gets around this by running ar -X32 -x'ing all of these .a files so the system is populated with both .a and .so versions of the

  cd ${RPM_BUILD_ROOT}%{_libdir}
  for f in *.a ; do
      /usr/bin/ar -X32 -x ${f}

  cd ${RPM_BUILD_ROOT}%{_libdir}/%{name}
  for f in *.a ; do
      /usr/bin/ar -X32 -x ${f}

Can this be fixed?

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