AIX

AIX

Connect with fellow AIX users and experts to gain knowledge, share insights, and solve problems.

 View Only
  • 1.  libstdc++.so.6

    Posted Tue June 19, 2007 08:57 PM

    Originally posted by: SystemAdmin


    What RPM package is needed to install the AIX libstdc++.so.6 library?

    I have an AIX 5.3.0.0-05-04 server running the 64 bit kernel with the following RPM packages installed:

    libgcc-4.0.0-1
    libstdc++-4.0.0-1
    libstdc++-devel-4.0.0-1
    gcc-c++-4.0.0-1

    When running the following program I receive the following error:

    code(mcsadb03):/usr/local/bin # pdftops
    Could not load program pdftops:
    Symbol resolution failed for pdftops because:
    Symbol _ZTVN10__cxxabiv120__si_class_type_infoE (number 85) is not exported from dependent
    module /opt/freeware/lib/gcc/powerpc-ibm-aix5.3.0.0/4.0.0/libstdc++.a(libstdc++.so.6).
    Symbol _ZTVN10__cxxabiv117__class_type_infoE (number 86) is not exported from dependent
    module /opt/freeware/lib/gcc/powerpc-ibm-aix5.3.0.0/4.0.0/libstdc++.a(libstdc++.so.6).
    Examine .loader section symbols with the 'dump -Tv' command.[/code]

    $LIBPATH is set as follows:

    code/usr/lib:/opt/freeware/lib:/opt/freeware/lib/gcc/powerpc-ibm-aix5.3.0.0/4.0.0[/code]

    Regards,

    Edward Pluskwa


  • 2.  Re: libstdc++.so.6

    Posted Fri July 20, 2007 01:27 AM

    Originally posted by: SystemAdmin


    I have the same problem - did you ever get a solution?

    if so could you post it here please?

    Thanks,
    Al


  • 3.  Re: libstdc++.so.6

    Posted Fri July 20, 2007 05:21 AM

    Originally posted by: SystemAdmin


    I'm not sure if the following is the ultimate solution, but I tried/solved this problem the following way:

    Extracting libstdc++.so.6 from libstdc++.a with 'ar -x libstdc++.a libstdc++.so.6' put it in the right directory and rebuilt the application did it for me.

    Regards,
    • Axel