This is the mail archive of the gcc@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Building an application on one machine and running it on other


Hi,
I am working on AIX 4.3.2
Building an application using GCC3.2.
I am dynamically linking the stdc++ library with my application.
Now if I try to run the same application on other AIX machine,
it gives me error
exec(): 0509-036 Cannot load program dbAgent because of the following errors:
0509-150 Dependent module libstdc++.a(libstdc++.so.5) could not be loaded.
0509-022 Cannot load module libstdc++.a(libstdc++.so.5).
0509-026 System error: A file or directory in the path name does not exist.

On trying the dump -H , it gives the path which are actualy on the machine on which I build that
application. How should I make sure that my application will run on any AIX machine.

Regards,
Abhijit



Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]