HP OpenVMS Systemsask the wizard |
The Question is: If I have a program, A, that calls a function in a shared library, B, I know how to compile and link A and B, but how do they find each other at run time? That is, when I RUN A, how does the image activator find B so it can link them together at run time ? On unix you specify the environment variable, LD_LIBRARY_PATH that has a list of directories to search to find B. The Answer is : Please see the discussion of shareable images, and particularly please see the shareable image cookbook. A link to the shareable image cookbook document is available on the main page of the Ask The Wizard website.
|