IBM Support

LI71505: MAKEC++SHAREDLIB FAILS TO LINK LIBXLOPT.A

Subscribe

You can track all active APARs for this component.

 

APAR status

  • Closed as program error.

Error description

  • The following error message is emitted when the script
    makeC++SharedLib_r is run:
    
    $ /usr/vacpp/bin/makeC++SharedLib_r \
            -o libdummy.so \
            -G \
            -bernotok \
            -p 1000 \
            -bnoipath \
            -lC_r \
            -lc_r \
            -lld \
            dummy.o
    
    ld: 0706-006 Cannot find or open library file: -l xlopt
        ld:open(): A file or directory in the path name does not
        exist.
    
    
    This does not occur if -L/usr/vac/bin is specified. The problem
    does not occur with XL C/C++ V7.
    

Local fix

  • Add option -L/usr/vac/bin.
    

Problem summary

  • With XL C/C++ V8 the library libxlopt.a is being installed
    in a different location. It used to be shipped in fileset
    xlopt.aix50.lib and installed under /usr/lpp/xlopt. With V8
    libxlopt.a is shipped in vac.aix50.lib and installed under
    /usr/vac/lib.
    

Problem conclusion

  • The script makeC++SharedLib was updated to reflect the change in
    libxlopt.a location.
    

Temporary fix

  • Add option -L/usr/vac/lib.
    

Comments

APAR Information

  • APAR number

    LI71505

  • Reported component name

    XLC/C++ RHEL4

  • Reported component ID

    5724M1610

  • Reported release

    800

  • Status

    CLOSED PER

  • PE

    NoPE

  • HIPER

    NoHIPER

  • Special Attention

    NoSpecatt

  • Submitted date

    2006-09-13

  • Closed date

    2006-09-13

  • Last modified date

    2006-09-13

  • APAR is sysrouted FROM one or more of the following:

    IY80645

  • APAR is sysrouted TO one or more of the following:

Fix information

  • Fixed component name

    XLC/C++ RHEL4

  • Fixed component ID

    5724M1610

Applicable component levels

  • R800 PSN

       UP

[{"Business Unit":{"code":"BU054","label":"Systems w\/TPS"},"Product":{"code":"SSJT9L","label":"XL C\/C++"},"Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"8.0","Line of Business":{"code":"LOB08","label":"Cognitive Systems"}}]

Document Information

Modified date:
15 October 2021