unable to start server with GCC 3.4.3 runtime libraries

XMLWordPrintableJSON

    • Type: Question
    • Resolution: Won't Fix
    • Priority: Major - P3
    • None
    • Affects Version/s: 2.4.6
    • Component/s: Admin, Build, Packaging
    • None
    • Environment:
      Solaris 10 64-bit Intel
      SunOS Generic_127128-11 i86pc i386 i86pc
    • None
    • None
    • None
    • None
    • None
    • None
    • None

      3 main issues identified with the GCC runtime libraries installed on the user's machine:

      • GCC was installed as a sunfreeware.com package in /usr/sfw/lib/64
        • mongod does not search directories in /usr/sfw for required dynamic libraries
      • GCC version installed was 3.4.3
        • mongod is built using GCC 4.6.3
      • user's initial search path for dynamic libraries included the directory /usr/sfw/lib
        • this directory is for 32-bit binaries which caused mongod to try to load the 32-bit version of the gcc library libstdc++.so

      ---------------
      Installed mongo 2.4.6 on sun solaris, when trying to start mongod, got below error:

      >./bin/mongod
      ld.so.1: mongod: fatal: /usr/sfw/lib/libstdc++.so.6: wrong ELF class: ELFCLASS32
      Killed

      My env is SunOS Generic_127128-11 i86pc i386 i86pc

      Please advise how to fix this

            Assignee:
            Benety Goh
            Reporter:
            Amy Cui
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved: