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]

Confused by Multilib on AIX



  Hi,

 I have run into problems with egcs 1.1a's libstdc++ on the
rs6000-ibm-aix4.2.1.0 architecture. I am fooling around with
shared libraries.

 egcs installs 6 versions of libstdc++:

  ./libstdc++.so
  ./soft-float/libstdc++.so
  ./soft-float/power/libstdc++.so
  ./soft-float/powerpc/libstdc++.so
  ./power/libstdc++.so
  ./powerpc/libstdc++.so

 My problem is that these libraries refuse to load at runtime. If you
want to dynamically load a module that is linked against one of the
afore-mentioned libstdc++ versions into a main program that is *not*
linked against libstdc++ (meaning that libstdc++ is supposed to be
loaded at runtime), dlopen() reports "Exec format error."
 The same happens when you try to dlopen() libstdc++ directly.

 Any solution?

	Frank

-- 
 + Frank Pilhofer                        fp@informatik.uni-frankfurt.de  +
 |                                      http://www.uni-frankfurt.de/~fp/ |
 +---- Life would be a very great deal less weird without you.  - DA ----+



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