Uploaded image for project: 'Core Server'
  1. Core Server
  2. SERVER-11060

unable to start server with GCC 3.4.3 runtime libraries

    XMLWordPrintableJSON

Details

    • Icon: Question Question
    • Resolution: Won't Fix
    • Icon: Major - P3 Major - P3
    • None
    • 2.4.6
    • Admin, Build, Packaging
    • None
    • Solaris 10 64-bit Intel
      SunOS Generic_127128-11 i86pc i386 i86pc

    Description

      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

      Attachments

        Activity

          People

            benety.goh@mongodb.com Benety Goh
            amy Amy Cui
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: