Hi,
I have been doing some research, and I am not finding any answers to the following question:
The problem is as follows: an AIX loadmodule has been linked with the ld flag of -bnolibpath, which effectively means that the LIBPATH env variable gets ignored at runtime, instead the ld flags of -L and "link time" LIBPATH values are stored inside the load module. (This is 3rd party software, for which I don't have the source.)
I need to get the runtime LIBPATH to be used... what commands do I need to run against the load module to open it up to use the runtime LIBPATH. E.g. is there a way to call ld with flags to strip the -bnolibpath setting? I need to do this since the "dump -H loadmodule" shows an "index 0" path containing stuff that I don't have, and the things I need to be included are ignored...
Thanks in advance
K
I have been doing some research, and I am not finding any answers to the following question:
The problem is as follows: an AIX loadmodule has been linked with the ld flag of -bnolibpath, which effectively means that the LIBPATH env variable gets ignored at runtime, instead the ld flags of -L and "link time" LIBPATH values are stored inside the load module. (This is 3rd party software, for which I don't have the source.)
I need to get the runtime LIBPATH to be used... what commands do I need to run against the load module to open it up to use the runtime LIBPATH. E.g. is there a way to call ld with flags to strip the -bnolibpath setting? I need to do this since the "dump -H loadmodule" shows an "index 0" path containing stuff that I don't have, and the things I need to be included are ignored...
Thanks in advance
K