Work at SourceForge, help us to make it a better place! We have an immediate need for a Support Technician in our San Francisco or Denver office.

Close

#29 AIX xlC libset cannot find or open shared libraries

open
nobody
cpptasks (19)
5
2004-10-29
2004-10-29
dmulder
No

Using xlC linker with libset produces error for shared
libraries *.so The error message is the file can not be
found or cannot be opened. Using fileset as suggested
with libset documentation allows linker to find the
libraries, but this is not correct for the runtime loader
and the linker is not satisfied. filesets are linked as
ordinary object files.

I do not see that this is working properly with a single
xlC compiler / linker target or as with some of the
examples a combined set of compilers and linkers in one
cc target.

I have access to AIX, HP-UX and SUN systems if
someone would advise me on what I could do to
contribute to this cpptasks.

Previously, I implemented compiler and linker properties
in an ant script and have fallen back on its use, whereas
Sun and HP-UX link or try to link.

Attached is a working script to give an example of libset
problem and how I have fallen back on previous
implementation.

A forum help subject suggests the linker can deal with
static objects *.a, but cannot find or open shared
objects *.sl.

Please see my related help submittal.

Could xlC_r7 variant be implemeted ?

Discussion

  • dmulder
    dmulder
    2004-10-29

    Individual and combined cc targets xLC and HP-UX notlinking

     
    Attachments