Uploaded image for project: 'Traffic Server'
  1. Traffic Server
  2. TS-2839

tsxs doesn't work on OSX

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Major
    • Resolution: Fixed
    • None
    • 5.0.0
    • Tools
    • None

    Description

      When I specify -L option to tsxs on OS X, I get these error messages below.

      $ tsxs -L/somewhere/lib -o test.so test.cc 
        compiling test.cc -> test.lo
        linking -> test.so
      ld: warning: directory not found for option '-L/somewhere/lib'
      ld: unknown option: --rpath=/somewhere/lib
      clang: error: linker command failed with exit code 1 (use -v to see invocation)
      tsxs: link failed: cc -bundle -flat_namespace -undefined suppress -L/somewhere/lib -Wl,--rpath=/somewhere/lib -o test.so test.lo
      

      It seems that two dashes and a equal sign for rpath are not supported on OS X's ld.

      Attachments

        Activity

          People

            zwoop Leif Hedstrom
            maskit Masakazu Kitajo
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: