I have read the ld man page, and read all I could find
in IBM's "General Programming Concepts", but still have some
questions regarding import files on AIX 4.1.4. I am hoping someone here
can help me clear them up.
I see how an import file can help with the problem of two
shared libraries calling functions in each other. Normally,
AIX would give you an unresolved symbol error when you tried
to link either of these. An import file with a #! line at the
top tells AIX to resolve these symbols at load time, and where
to find them.
Note that I cannot seem to make this work unless I have a #! line at
the top, yet I keep reading that the #! line is optional. What use IS
an import file, other than the one I decribed above?
Is there a reason for having an import file without a #! line?
If not, is there a way for AIX to be told to use LIBPATH
to resolve these symbols, and not the path in the #! line?
Thanks in advance for any help or pointers to information
about AIX import files.