03-18-04 02:37 AM
joe@invalid.address writes:
> "gailw" <gailw@worldnet.att.net> writes:
>
>
> There isn't a special extension for shared libraries in AIX. They use
> an extended form of COFF which doesn't need it (and therefore isn't
> really "Common" anymore :-).
>
> There used to be a very good reference on the web about this but I
> can't find it now, and I don't remember all the details
> precisely. However, if you build a shared library according to the man
> page you should be able to dlopen() it in recent versions of
> AIX. There's some distinction I can't recall at the moment about .o
> files that are built to be dynamically loaded (and I can't find the
> link any more) but maybe someone else here can help.
I found an internal (ie, local to my disk) reference which says that
you need to build a .o version of a library for dynamic loading, so
that's probably the distinction. It's been a coupld years since I've
done any programming on AIX though and I'm a little fuzzy on the
details so I don't want to be very specific.
The best advice I have is to read the ld man page. Maybe search the
web looking for an AIX library reference, although it looks to me like
they've purged them all (all my bookmarks are dead now).
Joe
--
Don't worry, be happy
- Bobby McFerrin
[ Post a follow-up to this message ]
|