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

Building with SSL enabled in Ubuntu 12.04 LTS not possible

    • Type: Icon: Bug Bug
    • Resolution: Done
    • Priority: Icon: Major - P3 Major - P3
    • None
    • Affects Version/s: 2.4.1
    • Component/s: Build
    • Environment:
      Ubuntu 12.04 LTS 64 bit. Latest packages from build essential
    • Linux
    • Hide

      sudo scons . --ssl all

      Show
      sudo scons . --ssl all

      Build not possible neither with static linked libs or dynamic ones, output with LINKFLAGS -t argument:

      g++ -o build/linux2/ssl/mongo/lame_stacktrace_test -fPIC -pthread -rdynamic build/linux2/ssl/mongo/util/lame_stacktrace_test.o -L/usr/lib64 -L/lib64 -Wl,--start-group build/linux2/ssl/mongo/base/configuration_variable_manager.o build/linux2/ssl/mongo/base/error_codes.o build/linux2/ssl/mongo/base/global_initializer.o build/linux2/ssl/mongo/base/global_initializer_registerer.o build/linux2/ssl/mongo/base/init.o build/linux2/ssl/mongo/base/initializer.o build/linux2/ssl/mongo/base/initializer_context.o build/linux2/ssl/mongo/base/initializer_dependency_graph.o build/linux2/ssl/mongo/base/make_string_vector.o build/linux2/ssl/mongo/base/parse_number.o build/linux2/ssl/mongo/base/status.o build/linux2/ssl/mongo/base/string_data.o build/linux2/ssl/mongo/util/stacktrace.o -Wl,--end-group -lm -lpthread -lssl -lcrypto -lrt
      build/linux2/ssl/mongo/util/stacktrace.o: In function `mongo::printStackTrace(std::basic_ostream<char, std::char_traits<char> >&)':
      /home/raal/mongodb-src-r2.4.1/src/mongo/util/stacktrace.cpp:49: undefined reference to `mongo::errnoWithDescription(int)'
      collect2: ld returned 1 exit status
      scons: *** [build/linux2/ssl/mongo/lame_stacktrace_test] Error 1
      scons: building terminated because of errors.
      

      SSL libs installed:
      libssl-dev install
      libssl-doc install
      libssl0.9.8 install
      libssl1.0.0 install

            Assignee:
            Unassigned Unassigned
            Reporter:
            raal@coresystems.ch Alejandro Ramirez
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: