Uploaded image for project: 'Mesos'
  1. Mesos
  2. MESOS-1754

Mesos static library has undefined symbols from 3rd party deps

    Details

    • Type: Bug
    • Status: Open
    • Priority: Major
    • Resolution: Unresolved
    • Affects Version/s: 0.20.0
    • Fix Version/s: None
    • Component/s: None
    • Labels:
      None

      Description

      Looks like the static libmesos library that we build is missing some symbols from 3rd party deps (e.g, GLOG, ZooKeeper). I suspect this has to do with the order of libraries defined on the linker command line.

      zookeeper_init symbol is present in .so but not in .a.
      
      $ nm libmesos.so | grep zookeeper_init
      00000000030519f0 T zookeeper_init
      
      $ nm libmesos.a | grep zookeeper_init
      nm: libleveldb.a: File format not recognized
                       U zookeeper_init
      
      Same with google::InstallFailureSignalHandler.
      
      $ nm libmesos.so | grep InstallFailureSignalHandler
      000000000301901d T _ZN6google27InstallFailureSignalHandlerEv
      
      $ nm libmesos.a | grep InstallFailureSignalHandler
      nm: libleveldb.a: File format not recognized
                       U _ZN6google27InstallFailureSignalHandlerEv
      

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                Unassigned
                Reporter:
                vinodkone Vinod Kone
              • Votes:
                0 Vote for this issue
                Watchers:
                7 Start watching this issue

                Dates

                • Created:
                  Updated: