AIX Open Source

AIX Open Source

Share your experiences and connect with fellow developers to discover how to build and manage open source software for the AIX operating system

 View Only
  • 1.  expat-2.4.6-1 missing symlinks

    Posted Mon August 08, 2022 01:36 PM
    Has anyone else noticed an issue with the expat-2.4.6-1.aix6.1.ppc.rpm from the AIX toolbox where the symlinks for /usr/bin/xmlwf and /usr/lib/libexpat.a are not created?  Is this by design or an error?

    ------------------------------
    Lucas Schroeder
    ------------------------------


  • 2.  RE: expat-2.4.6-1 missing symlinks

    Posted Mon August 08, 2022 11:34 PM
    AIX toolbox delivered packages provides files in /opt/freeware path to not to spoil AIX base OS installation and other conflicts.
    There may be some packages deliver files in /usr but that is for historic reasons and we are keep fixing them.
    All AIX toolbox packages have right LIBPATH inside binaries to use libraries from /opt/freeware.
    If you want to use AIX toolbox library for your application then set the right LIBPATH while building application.

    ------------------------------
    SANKET RATHI
    ------------------------------



  • 3.  RE: expat-2.4.6-1 missing symlinks

    Posted Mon August 08, 2022 11:59 PM
    It's not a difficult change to work around, but a README in the newer package or some other documentation would have been nice.  This will cause some confusion with legacy apps in the base OS itself too.

    # ldd /usr/opt/perl5/lib/site_perl/5.28.1/aix-thread-multi/auto/XML/Parser/Expat/Expat.so
       /usr/opt/perl5/lib/site_perl/5.28.1/aix-thread-multi/auto/XML/Parser/Expat/Expat.so needs:
       /usr/lib/libpthreads.a(shr_xpg5.o)
       /usr/lib/libc.a(shr.o)
       Cannot find libexpat.a(libexpat.so.1)
       /usr/lib/libpthreads.a(_shr_xpg5.o)
       /usr/lib/libpthreads.a(shr_comm.o)
       /usr/lib/libc.a(_shr.o)
       /unix
       /usr/lib/libcrypt.a(shr.o)

    # lslpp -w /usr/opt/perl5/lib/site_perl/5.28.1/aix-thread-multi/auto/XML/Parser/Expat/Expat.so
    ​File                            Fileset                                  Type
    ----------------------------------------------------------------------------
    /usr/opt/perl5/lib/site_perl/5.28.1/aix-thread-multi/auto/XML/Parser/Expat/Expat.so    perl.rte    File

    ------------------------------
    Lucas Schroeder
    ------------------------------